You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Shannon -jj Behrens (JIRA)" <ji...@apache.org> on 2007/01/05 03:34:27 UTC

[jira] Created: (HADOOP-860) start-all.sh fails on Ubuntu 6.10

start-all.sh fails on Ubuntu 6.10
---------------------------------

                 Key: HADOOP-860
                 URL: https://issues.apache.org/jira/browse/HADOOP-860
             Project: Hadoop
          Issue Type: Bug
          Components: scripts
         Environment: Ubuntu 6.10 (and presumably Debian Etch)
            Reporter: Shannon -jj Behrens
            Priority: Minor


I'm using Hadoop on Ubuntu 6.10.  I ran into:

$ start-all.sh
starting namenode, logging to
/usr/local/hadoop-install/hadoop/bin/../logs/hadoop-jj-namenode-jjinuxland.out
/usr/local/hadoop-install/hadoop/bin/slaves.sh: 36: Syntax error: Bad
substitution
starting jobtracker, logging to
/usr/local/hadoop-install/hadoop/bin/../logs/hadoop-jj-jobtracker-jjinuxland.out
/usr/local/hadoop-install/hadoop/bin/slaves.sh: 36: Syntax error: Bad
substitution

Ubuntu 6.10 switched away from using bash for the default /bin/sh.
The workaround is simple:

(cd /bin && ln -sf bash sh)

Nonetheless, it might be nice to update the script so that it works by
default on Ubuntu since it is pretty popular.  I'm guessing that the
change would be simple.  The offending line is:

ssh $HADOOP_SSH_OPTS $slave $"${@// /\\ }" \


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira