[
https://issues.apache.org/jira/browse/HDFS-14082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689820#comment-16689820
]
Íñigo Goiri commented on HDFS-14082:
------------------------------------
Thanks [~linyiqun] for the comments.
I agree the key name is pretty bad and just based on the {{invokeConcurrent()}}
parameter.
We could make it:
{code}
<property>
<name>dfs.federation.router.allow-partial-listing</name>
<value>true</value>
<description>
If the Router can return a partial list of files in a multi-destination mount
point when one of the subclusters is unavailable.
True may return a partial list of files if a subcluster is down.
False will fail the request if one is unavailable.
</description>
</property>
{code}
Then, I would keep it backwards compatible setting it to {{true}}.
For the assert, the point is depending if the testfile lands in ns0 or ns1 we
can get 4 or 5 files but never 6 which was the original number.
What do you propose here? We definetely can make 6 a variable but not sure
about 4/5.
> RBF: Add option to fail operations when a subcluster is unavailable
> -------------------------------------------------------------------
>
> Key: HDFS-14082
> URL: https://issues.apache.org/jira/browse/HDFS-14082
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Íñigo Goiri
> Assignee: Íñigo Goiri
> Priority: Major
> Attachments: HDFS-14082.000.patch, HDFS-14082.001.patch
>
>
> When a subcluster is unavailable, we succeed operations like
> {{getListing()}}. We should add an option to fail the operation if one of the
> subclusters is unavailable.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]