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 Plain View
HDFS >> mail # dev >> Re: (HDFS-1943) fail to start datanode while start-dfs.sh is executed by root user


Copy link to this message
-
Re: (HDFS-1943) fail to start datanode while start-dfs.sh is executed by root user
Nobady take care of this fix?

This bug is introduced by HDFS-1150. Verify datanodes' identities to clients in secure clusters.

> fail to start datanode while start-dfs.sh is executed by root user
> ------------------------------------------------------------------
>
>                  Key: HDFS-1943
>                  URL: https://issues.apache.org/jira/browse/HDFS-1943
>              Project: Hadoop HDFS
>           Issue Type: Bug
>           Components: scripts
>     Affects Versions: 0.23.0
>             Reporter: Wei Yongjun
>             Priority: Blocker
>              Fix For: 0.23.0
>
>
> When start-dfs.sh is run by root user, we got the following error message:
> # start-dfs.sh
> Starting namenodes on [localhost ]
> localhost: namenode running as process 2556. Stop it first.
> localhost: starting datanode, logging to /usr/hadoop/hadoop-common-0.23.0-SNAPSHOT/bin/../logs/hadoop-root-datanode-cspf01.out
> localhost: Unrecognized option: -jvm
> localhost: Could not create the Java virtual machine.
>
> The -jvm options should be passed to jsvc when we starting a secure
> datanode, but it still passed to java when start-dfs.sh is run by root
> while secure datanode is disabled. This is a bug of bin/hdfs.
>
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
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