[
https://issues.apache.org/jira/browse/HADOOP-12943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299389#comment-15299389
]
Weiwei Yang commented on HADOOP-12943:
--------------------------------------
The testDFSShell method already had over 150 lines and some nested blocks
before my patch, I am not sure why it is listed as 2 new issues. It's hard to
reduce lines of to <150 for this test case, I can fix the nested blocks, but
that would modify more than just the issue this patch wants to fix. So probably
not for now.
The failed test case is tracked by HADOOP-13101, not related to this patch.
> Add -w -r options in dfs -test command
> --------------------------------------
>
> Key: HADOOP-12943
> URL: https://issues.apache.org/jira/browse/HADOOP-12943
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs, scripts, tools
> Reporter: Weiwei Yang
> Assignee: Weiwei Yang
> Fix For: 2.8.0
>
> Attachments: HADOOP-12943.001.patch, HADOOP-12943.002.patch,
> HADOOP-12943.003.patch, HADOOP-12943.004.patch
>
>
> Currently the dfs -test command only supports
> -d, -e, -f, -s, -z
> options. It would be helpful if we add
> -w, -r
> to verify permission of r/w before actual read or write. This will help
> script programming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]