Support Questions
Find answers, ask questions, and share your expertise

DataNode Service Failing to Start?

New Contributor

Hello Everybody.

I am trying to install five node Hadoop cluster. Following is the environmental setup. After the installation, the "datanode" service is failing to start. I can see the following log message in stderr log.

<verbosegc xmlns="http://www.ibm.com/j9/verbosegc" version="R27_Java727_SR3_20151022_1530_B273253_CMPRSS">JVMJ9VM007E Command-line option unrecognised: -Xloggc:/var/log/hadoop/hdfs/gc.log-201608121113</verbosegc>Error: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.

Curious whether "java" is causing the issue. I am attaching the detailed log messages.

Can you please share your thoughts on this? Thanks.

Environment:

Virtual machine running on ESXi-6.0 U1

Number of the Node: 5

OS: SLES11SP4 (16 Core, 64GB RAM)

Apache Amabri - 2.2.2.0

HDP - hdp-select-2.4.2.0-258

Java -

java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr3fp20-20151106_01(SR3 FP20))IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20151022_273253 (JIT enabled, AOT enabled)J9VM - R27_Java727_SR3_20151022_1530_B273253JIT  - tr.r13.java.sr3.fp20_20151005_102390.01GC  - R27_Java727_SR3_20151022_1530_B273253_CMPRSSJ9CL - 20151022_273253)JCL - 20151105_01 based on Oracle jdk7u91-b15
5 REPLIES 5

Re: DataNode Service Failing to Start?

Super Guru
@Husnain Bustam

Can you please double check below error:

Command-line option unrecognised: -Xloggc:/var/log/hadoop/hdfs/gc.log-201608121113

Looks like there is some special character in -Xloggc:/var/log/hadoop/hdfs/gc.log-201608121113

Please try to remove -Xloggc:/var/log/hadoop/hdfs/gc.log-201608121113 from your env files and try to start datanodes again.

Let me know how it goes.

Re: DataNode Service Failing to Start?

Super Guru

@Husnain Bustam - How did it go?

Re: DataNode Service Failing to Start?

New Contributor

Can you give me some idea how to fix and what steps to follow , i am also getting similar error while starting the datanode . Please help

Re: DataNode Service Failing to Start?

New Contributor

Hello Husnain , Did you fix this issue , I am also getting same error , Please help .

Re: DataNode Service Failing to Start?

New Contributor

Hello Husnain , Did you fix this issue , I am also getting same error , Please help .