[ https://issues.apache.org/jira/browse/HADOOP-10492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenji Kikushima updated HADOOP-10492: ------------------------------------- Attachment: HADOOP-10492.patch Hi, I checked hadoop and hdfs commands. We have three ways to call FsShell, "hadoop fs" "hadoop dfs" and "hdfs dfs". Only "hadoop dfs" is deprecated. So, I think we should print "hadoop fs" and "hdfs dfs" like this patch. Thanks. > Help Commands needs change after deprecation > -------------------------------------------- > > Key: HADOOP-10492 > URL: https://issues.apache.org/jira/browse/HADOOP-10492 > Project: Hadoop Common > Issue Type: Bug > Reporter: Raja Nagendra Kumar > Attachments: HADOOP-10492.patch > > > As hadoop dfs is deprecated, the help should show usage with HDFS > e.g in the following command it still refers to > Usage: hadoop fs [generic options] > D:\Apps\java\BI\hadoop\hw\hdp\hadoop-2.2.0.2.0.6.0-0009>hdfs dfs > Usage: hadoop fs [generic options] > [-appendToFile <localsrc> ... <dst>] > [-cat [-ignoreCrc] <src> ...] > [-checksum <src> ...] > [-chgrp [-R] GROUP PATH...] > [-chmod [-R] <MODE[,MODE]... | OCTALMODE> PATH...] > [-chown [-R] [OWNER][:[GROUP]] PATH...] > [-copyFromLocal [-f] [-p] <localsrc> ... <dst>] > [-copyToLocal [-p] [-ignoreCrc] [-crc] <src> ... <localdst>] > [-count [-q] <path> ...] > [-cp [-f] [-p] <src> ... <dst>] > [-createSnapshot <snapshotDir> [<snapshotName>]] > [-deleteSnapshot <snapshotDir> <snapshotName>] > [-df [-h] [<path> ...]] > [-du [-s] [-h] <path> ...] -- This message was sent by Atlassian JIRA (v6.2#6252)