[
https://issues.apache.org/jira/browse/HDFS-14082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690191#comment-16690191
]
Yiqun Lin commented on HDFS-14082:
----------------------------------
{quote}Then, I would keep it backwards compatible setting it to true.
{quote}
The default value should be false i think. We are allowed to get partial list
when someone subcluster is unavailable by default.
{quote}What do you propose here? We definetely can make 6 a variable but not
sure about 4/5.
{quote}
I mean we make following change and not use specific number.
{code:java}
// Test the behavior when everything is fine
+ FileSystem fs = getRouterFileSystem();
+ FileStatus[] files = fs.listStatus(new Path("/"));
int originalCount= files.length
,,,,
// simplify the assertion logic
assertNotEqual("...", originalCount , files.length);
{code}
:
> 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]