Jing Zhao created HDFS-5111: ------------------------------- Summary: Correctly handling incorrect input for snapshot commands 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
1. 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} 2. deleteSnapshot/renameSnapshot with incorrect args does not throw usage msg. -- 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