hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shannon -jj Behrens" <jji...@gmail.com>
Subject Hadoop on Ubuntu 6.10
Date Tue, 02 Jan 2007 20:39:35 GMT
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 $"${@// /\\ }" \

Happy Hacking!
-jj

-- 
http://jjinux.blogspot.com/

Mime
View raw message