Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Starting Datanode


Copy link to this message
-
Re: Starting Datanode
On 05/20/2011 01:02 PM, Anh Nguyen wrote:
> Hi,
>
> I just upgraded to hadoop-0.20.203.0, and am having problem starting the
> datanode:
> # 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"
>    else
>      HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
>    fi
>
> Am I missing something?
>
> Thanks in advance.
>
> Anh-
>
Which Java's version are you using?
--
Marcos Lu�s Ort�z Valmaseda
  Software Engineer (Large-Scaled Distributed Systems)
  University of Information Sciences,
  La Habana, Cuba
  Linux User # 418229
  http://about.me/marcosortiz
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB