[
https://issues.apache.org/jira/browse/HDFS-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-2745:
------------------------------
Attachment: hdfs-2745-1.patch
Attached patch for trunk. Did Eli's suggestions.
* "hdfs dfs" is removed
* "hadoop dfs" has a deprecation message that correctly points at "hadoop fs"
* hadoop-daemon.sh now passes the {{dfs}} command to {{hadoop}}, rather than
{{hdfs}}. I grepped for other usages of "hdfs dfs", and I think we're okay.
If this looks good, I'll make a branch-2 patch as well.
> 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
> Reporter: Thomas Graves
> Priority: Critical
> Attachments: hdfs-2745-1.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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira