[
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506341#comment-13506341
]
philo vivero commented on HDFS-2014:
------------------------------------
This always evaluates to true and always executes the code inside the "if". Why
even have the if/fi? Just clobber the CLASSPATH and be done with it.
if $cygwin; then
CLASSPATH=`cygpath -p -w "$CLASSPATH"`
fi
> bin/hdfs no longer works from a source checkout
> -----------------------------------------------
>
> Key: HDFS-2014
> URL: https://issues.apache.org/jira/browse/HDFS-2014
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Eric Yang
> Priority: Critical
> Fix For: 0.23.0
>
> Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch
>
>
> bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a
> source checkout:
> todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
> ./bin/hdfs: line 22:
> /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or
> directory
> ./bin/hdfs: line 138: cygpath: command not found
> ./bin/hdfs: line 161: exec: : not found
--
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