Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎04-26-2018

Cluster Setup Command Failed on Step 4

I have installed Cloudera Manager and setting up cluster but it's failing at step 4.

 

Failure is on all datanodes:

 

stderr contains:

 

 export HADOOP_NAMENODE_OPTS=
+ HADOOP_NAMENODE_OPTS=
++ replace_pid -Xms1073741824 -Xmx1073741824 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError '-XX:HeapDumpPath=/tmp/hdfs_hdfs-DATANODE-3173b45f88fefe7d02b25388acd73e9c_pid{{PID}}.hprof' -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh
++ echo -Xms1073741824 -Xmx1073741824 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError '-XX:HeapDumpPath=/tmp/hdfs_hdfs-DATANODE-3173b45f88fefe7d02b25388acd73e9c_pid{{PID}}.hprof' -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh
++ sed 's#{{PID}}#13134#g'
+ export 'HADOOP_DATANODE_OPTS=-Xms1073741824 -Xmx1073741824 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/hdfs_hdfs-DATANODE-3173b45f88fefe7d02b25388acd73e9c_pid13134.hprof -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh'
+ HADOOP_DATANODE_OPTS='-Xms1073741824 -Xmx1073741824 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/hdfs_hdfs-DATANODE-3173b45f88fefe7d02b25388acd73e9c_pid13134.hprof -XX:OnOutOfMemoryError=/usr/lib64/cmf/service/common/killparent.sh'

 

 

What could be the reason, do I need to change any configuration? 

New Contributor
Posts: 2
Registered: ‎04-26-2018

Re: Cluster Setup Command Failed on Step 4

I did not understand, could you please let me know how your response will solve the memory issue.

Champion
Posts: 753
Registered: ‎05-16-2016

Re: Cluster Setup Command Failed on Step 4

Could you share screen shot of the step 4  ?

Could you also share role log instead of error out ? 

Announcements