[
https://issues.apache.org/jira/browse/HDFS-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179072#comment-13179072
]
Eli Collins commented on HDFS-2745:
-----------------------------------
hadoop fs is the recommended way to access files (because its file system
agnostic). I think we should:
1. Update hadoop dfs to indicate "hadoop fs" should be used
2. Remove the dfs option from bin/hdfs (and deprecate in branch 22). It was
introduced as part of HADOOP-4868, and is in 21 and 22, but it looks like by
accident (eg not removed when copying bin/hadoop to create bin/hdfs) so don't
think its actually used.
> 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
>
> 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