hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5111) Correctly handling incorrect input for snapshot commands
Date Tue, 20 Aug 2013 00:37:51 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jing Zhao updated HDFS-5111:

    Attachment: HDFS-5111.002.patch

Looks like we do not need to update the output for deleteSnapshot/renameSnapshot when the
number of arguments is wrong, since the USAGE msg is finally output in the end. Update the
> 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
>         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

View raw message