Which version are you using?   I am using 0.13.0 and have had no
problems with Cygwin or CentOS (RedHat).



On 7/18/07, charlie w <[EMAIL PROTECTED]> wrote:
Specifically this:

bin=`dirname "$0"`
bin=`cd "$bin"; pwd`

. "$bin"/hadoop-config.sh

The problem is that the 'cd' command on cygwin and Fedora is not silent, so
if one tries:

bin/hadoop namenode format

one winds up with this output:

bin/hadoop: line 22: /home/charlie/hadoop-0.13.0/bin
/home/charlie/bin/hadoop-config.sh: No such file or directory

It appears that simply adding >/dev/null to the cd command fixes things:

 bin=`cd "$bin" > /dev/null; pwd`



--
"Conscious decisions by conscious minds are what make reality real"

Reply via email to