[
https://issues.apache.org/jira/browse/HADOOP-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618008#action_12618008
]
Zheng Shao commented on HADOOP-3796:
------------------------------------
nitpick:
Index: src/contrib/fuse-dfs/src/test/TestFuseDFS.java
- String cmd[] = new String[4];
+ String cmd[] = new String[6];
...
+ cmd[index++] = "debug";
+ cmd[index++] = "entry_timeout=1";
+ cmd[index++] = "attribute_timeout=1";
It's better to write like this to avoid the potential mismatch of 6 and the
number of index++ in the future:
String cmd[] = new String[] {"a", "b", "c"};
> fuse-dfs should take rw,ro,trashon,trashoff,protected=blah mount arguments
> rather than them being compiled in
> -------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-3796
> URL: https://issues.apache.org/jira/browse/HADOOP-3796
> Project: Hadoop Core
> Issue Type: Improvement
> Components: contrib/fuse-dfs
> Reporter: Pete Wyckoff
> Attachments: patch0.txt, patch1.txt
>
>
> Right now read only versus read write and other options are compile time. We
> should change these to be options just like any other mount options.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.