[ 
https://issues.apache.org/jira/browse/HADOOP-10492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966587#comment-13966587
 ] 

Daryn Sharp commented on HADOOP-10492:
--------------------------------------

bq.  As hadoop fs is deprecated, the help should show usage with HDFS

I thought "hdfs dfs" is being deprecated, not "hadoop fs"?  Both call FsShell 
which is in hadoop-common because it works with any filesystem implementation.  
Requiring users to invoke "hdfs dfs" doesn't make sense for non-hdfs 
filesystems.

> 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
>
> As hadoop fs 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)

Reply via email to