[
https://issues.apache.org/jira/browse/HDFS-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-5111:
----------------------------
Summary: Remove duplicated error message for snapshot commands when
processing invalid arguments (was: Correctly handling incorrect input for
snapshot commands)
> Remove duplicated error message for snapshot commands when processing invalid
> arguments
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-5111
> URL: https://issues.apache.org/jira/browse/HDFS-5111
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: snapshots
> Affects Versions: 3.0.0
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Attachments: HDFS-5111.001.patch, HDFS-5111.002.patch
>
>
> The FSShell commands CreateSnapshot/DeleteSnapshot/RenameSnapshot currently
> may output duplicated error msg. E.g., when trying to create snapshot on a
> file, we have the following error msg:
> {noformat}
> createSnapshot: `/newFile': Is not a directory
> createSnapshot: `/newFile': Is not a directory
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira