You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2010/06/22 03:05:55 UTC
[jira] Created: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
bin/hdfs conflicts with common user shortcut
--------------------------------------------
Key: HDFS-1253
URL: https://issues.apache.org/jira/browse/HDFS-1253
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 0.21.0
Reporter: Allen Wittenauer
Priority: Blocker
The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HDFS-1253:
-----------------------------------
Fix Version/s: 0.21.0
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881245#action_12881245 ]
Tom White commented on HDFS-1253:
---------------------------------
The 'hadoop' command is still supported, and will give users time to move to 'hdfs' over time - is that an acceptable solution? What do others think?
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882648#action_12882648 ]
Tom White commented on HDFS-1253:
---------------------------------
I'd like to downgrade this from a blocker for 0.21. Users with a 'hdfs' alias can call the hdfs script by specifying the path (e.g. 'bin/hdfs') or remap the alias (to e.g. 'hfs' for 'hadoop fs').
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882723#action_12882723 ]
Doug Cutting commented on HDFS-1253:
------------------------------------
Are there others who agree with Allen on this?
I see two ways this disagreement could be resolved:
# a patch can be submitted and we can vote on committing it to trunk (through the normal review process)
# a release candidate can be rolled and we can vote on whether it's acceptable
For (1) we need a patch. Allen? For (2) we need a release candidate, which Tom will likely provide soon.
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Jeff Hammerbacher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881375#action_12881375 ]
Jeff Hammerbacher commented on HDFS-1253:
-----------------------------------------
Hey Allen,
Can you point to places on the net where the hdfs alias is used? It hasn't been as common in environments in which I've worked. I'm afraid we're optimizing for a potential use case rather than a real use case. In any case, as you pointed out in IRC, if a user has an alias for hdfs, that will take precedence over their PATH setting, so it's unlikely that they'll get bitten too hard.
Thanks,
Jeff
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881253#action_12881253 ]
Allen Wittenauer commented on HDFS-1253:
----------------------------------------
The hadoop command is still supported, but there are lots of places on the net where hdfs is used as an alias for 'hadoop dfs'. If someone doesn't know/how to actually create that shell alias, the fact that the hadoop command is there will be irrelevant.
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882677#action_12882677 ]
Allen Wittenauer commented on HDFS-1253:
----------------------------------------
Then you might as well close it at wont fix, and we can start fixing our infrastructure, documentation, and/or just build our own distributions to make this go away...
...because once you ship this, it will be too late to fix it. :(
Ideally, though, these admin commands shouldn't even be in bin. This problem (and lots of others) could go away simply by moving these commands to sbin so they are out of the standard user's path.
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HDFS-1253) bin/hdfs conflicts with common user
shortcut
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881392#action_12881392 ]
Allen Wittenauer commented on HDFS-1253:
----------------------------------------
I know it is all over Y!'s and LI's wiki pages and internal (and sometimes external) presentations. A more public one is this one:
http://blog.rapleaf.com/dev/2009/11/17/command-line-auto-completion-for-hadoop-dfs-commands/
> bin/hdfs conflicts with common user shortcut
> --------------------------------------------
>
> Key: HDFS-1253
> URL: https://issues.apache.org/jira/browse/HDFS-1253
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 0.21.0
> Reporter: Allen Wittenauer
> Priority: Blocker
> Fix For: 0.21.0
>
>
> The 'hdfs' command introduced in 0.21 (unreleased at this time) conflicts with a common user alias and wrapper script. This change should either be reverted or moved from $HADOOP_HOME/bin to somewhere else in $HADOOP_HOME (perhaps sbin?) so that users do not accidentally hit it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.