hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: default JAVA_HOME in hadoop-env.sh
Date Wed, 03 Jan 2007 17:38:51 GMT
Shannon -jj Behrens wrote:
> The default JAVA_HOME in hadoop-env.sh is /usr/bin/java.  This is
> confusing because /usr/bin/java is a binary, not a directory.  On my
> system, this resulted in:
> $ hadoop namenode -format
> /usr/local/hadoop-install/hadoop/bin/hadoop: 122:
> /usr/bin/java/bin/java: not found
> exec: 179: /usr/bin/java/bin/java: not found
> I think it would be less confusing if the default were /usr instead.

This is in a comment, but, I agree, the comment should provide a better 
example value.  I just updated this to be /usr/lib/j2sdk1.5-sun, the 
correct value on Ubuntu 6.10.


View raw message