[
https://issues.apache.org/jira/browse/HDFS-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549030#comment-13549030
]
Jason Lowe commented on HDFS-2745:
----------------------------------
Hadoop 0.23 shipped many versions with this confusing pointer to the hdfs
command, and there may now be users who have coded scripts relying on the "hdfs
dfs" command to keep working. As those users move from 0.23 to 2.0, they may
be surprised to find "hdfs dfs" simply doesn't work after this patch and no
indication as to why.
Can we mark "hdfs dfs" as deprecated in 2.0 and remove it in trunk? That
provides a smoother migration path for users who tried to follow the original
deprecation directions in 0.23 and coded their scripts to use "hdfs dfs" as
directed.
> unclear to users which command to use to access the filesystem
> --------------------------------------------------------------
>
> Key: HDFS-2745
> URL: https://issues.apache.org/jira/browse/HDFS-2745
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.23.0, 1.2.0, 2.0.2-alpha
> Reporter: Thomas Graves
> Assignee: Andrew Wang
> Priority: Critical
> Attachments: hdfs-2745-1.patch, hdfs-2745-2.patch
>
>
> Its unclear to users which command to use to access the filesystem. Need some
> background and then we can fix accordingly. We have 3 choices:
> hadoop dfs -> says its deprecated and to use hdfs. If I run hdfs usage it
> doesn't list any options like -ls in the usage, although there is an hdfs dfs
> command
> hdfs dfs -> not in the usage of hdfs. If we recommend it when running hadoop
> dfs it should atleast be in the usage.
> hadoop fs -> seems like one to use it appears generic for any filesystem.
> Any input on this what is the recommended way to do this? Based on that we
> can fix up the other issues.
--
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