On 05/20/2011 03:46 PM, Anh Nguyen wrote:
> On 05/20/2011 01:15 PM, Marcos Ortiz wrote:
>> On 05/20/2011 01:02 PM, Anh Nguyen wrote:
>>> I just upgraded to hadoop-0.20.203.0, and am having problem starting
>>> # hadoop datanode
>>> Unrecognized option: -jvm
>>> Could not create the Java virtual machine.
>>> It looks like it has something to do with daemon.sh, particularly the
>>> setting of HADOOP_OPTS:
>>> if [[ $EUID -eq 0 ]]; then
>>> HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS"
>>> HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
>>> Am I missing something?
>>> Thanks in advance.
>> Which Java's version are you using?
> # java -version
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
> It worked with hadoop-0.20.2.
How do you are starting the services? using bin/start-all.sh o simply
Marcos Luï¿½s Ortï¿½z Valmaseda
Software Engineer (Large-Scaled Distributed Systems)
University of Information Sciences,
La Habana, Cuba
Linux User # 418229