You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2015/02/11 20:21:12 UTC
[jira] [Updated] (HDFS-7736) Fix typos in
dfsadmin/fsck/snapshotDiff usage messages
[ https://issues.apache.org/jira/browse/HDFS-7736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haohui Mai updated HDFS-7736:
-----------------------------
Summary: Fix typos in dfsadmin/fsck/snapshotDiff usage messages (was: Typos in dfsadmin/fsck/snapshotDiff Commands)
> Fix typos in dfsadmin/fsck/snapshotDiff usage messages
> ------------------------------------------------------
>
> Key: HDFS-7736
> URL: https://issues.apache.org/jira/browse/HDFS-7736
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: tools
> Affects Versions: 2.6.0
> Reporter: Archana T
> Assignee: Brahma Reddy Battula
> Priority: Minor
> Attachments: HDFS-7736-002.patch, HDFS-7736-003.patch, HDFS-7736-004.patch, HDFS-7736-branch-2-001.patch, HDFS-7736-branch-2-002.patch, HDFS-7736-branch2-003.patch, HDFS-7736.patch
>
>
> Scenario --
> Try the following hdfs commands --
> Scenario --
> Try the following hdfs commands --
> 1.
> # ./hdfs dfsadmin -getStoragePolicy
> Usage:*{color:red} java DFSAdmin {color}*[-getStoragePolicy path]
> Expected-
> Usage:*{color:green} hdfs dfsadmin {color}*[-getStoragePolicy path]
> 2.
> # ./hdfs dfsadmin -setStoragePolicy
> Usage:*{color:red} java DFSAdmin {color}*[-setStoragePolicy path policyName]
> Expected-
> Usage:*{color:green} hdfs dfsadmin {color}*[-setStoragePolicy path policyName]
> 3.
> # ./hdfs fsck
> Usage:*{color:red} DFSck <path> {color}*[-list-corruptfileblocks | [-move | -delete | -openforwrite] [-files [-blocks [-locations | -racks]]]]
> Expected-
> Usage:*{color:green} hdfs fsck <path> {color}*[-list-corruptfileblocks | [-move | -delete | -openforwrite] [-files [-blocks [-locations | -racks]]]]
> 4.
> # ./hdfs snapshotDiff
> Usage:
> *{color:red}SnapshotDiff{color}* <snapshotDir> <from> <to>:
> Expected-
> Usage:
> *{color:green}snapshotDiff{color}* <snapshotDir> <from> <to>:
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)