Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Problem with cloudera agent

avatar
Expert Contributor

Hi Guys,

 

My System:

RHEL 7.2, 48GB RAM, CM 5.8, CDH 5.7.4, Kerberos Enabled

 

 I have a problem with a cloudera agent. I am not able to run it. It gets to some loop which looks as follow:

21/Nov/2016 15:20:17 +0000] 12974 MainThread agent        INFO     Loading last saved hb response to complete initialization: /var/lib/cloudera-scm-agent/response.avro
[21/Nov/2016 15:20:17 +0000] 12974 MainThread agent        INFO     Using parcels directory from server provided value: /opt/cloudera/parcels
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Agent does create users/groups and apply file permissions
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Loading parcel manifest for: CDH-5.7.4-1.cdh5.7.4.p0.2
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Loading parcel manifest for: KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Loading parcel manifest for: ARCADIAENTERPRISE-3.2.1.0-1477612993.cdh5
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Ensuring users/groups exist for new parcel CDH-5.7.4-1.cdh5.7.4.p0.2.
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'hadoop']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'flume']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'hdfs']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'solr']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'zookeeper']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'llama']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'httpfs']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'mapred']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'sqoop']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'yarn']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'kms']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'hive']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'sqoop2']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'oozie']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'hbase']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'sentry']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'impala']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'spark']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'hue']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'flume', '-K', 'UMASK=022', '--home', '/var/lib/flume-ng', '--comment', 'Flume', '--shell', '/bin/false', 'flume']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'hdfs', '-K', 'UMASK=022', '--home', '/var/lib/hadoop-hdfs', '--comment', 'Hadoop HDFS', '--shell', '/bin/bash', '--groups', 'hadoop', 'hdfs']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'solr', '-K', 'UMASK=022', '--home', '/var/lib/solr', '--comment', 'Solr', '--shell', '/sbin/nologin', 'solr']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'zookeeper', '-K', 'UMASK=022', '--home', '/var/lib/zookeeper', '--comment', 'ZooKeeper', '--shell', '/bin/false', 'zookeeper']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'llama', '-K', 'UMASK=022', '--home', '/var/lib/llama', '--comment', 'Llama', '--shell', '/bin/bash', '--groups', 'llama', 'llama']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'httpfs', '-K', 'UMASK=022', '--home', '/var/lib/hadoop-httpfs', '--comment', 'Hadoop HTTPFS', '--shell', '/bin/bash', 'httpfs']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'mapred', '-K', 'UMASK=022', '--home', '/var/lib/hadoop-mapreduce', '--comment', 'Hadoop MapReduce', '--shell', '/bin/bash', '--groups', 'hadoop', 'mapred']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'sqoop', '-K', 'UMASK=022', '--home', '/var/lib/sqoop', '--comment', 'Sqoop', '--shell', '/bin/false', 'sqoop']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'yarn', '-K', 'UMASK=022', '--home', '/var/lib/hadoop-yarn', '--comment', 'Hadoop Yarn', '--shell', '/bin/bash', '--groups', 'hadoop', 'yarn']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'kms', '-K', 'UMASK=022', '--home', '/var/lib/hadoop-kms', '--comment', 'Hadoop KMS', '--shell', '/bin/bash', 'kms']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'hive', '-K', 'UMASK=022', '--home', '/var/lib/hive', '--comment', 'Hive', '--shell', '/bin/false', 'hive']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'sqoop2', '-K', 'UMASK=022', '--home', '/var/lib/sqoop2', '--comment', 'Sqoop 2 User', '--shell', '/sbin/nologin', '--groups', 'sqoop', 'sqoop2']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'oozie', '-K', 'UMASK=022', '--home', '/var/lib/oozie', '--comment', 'Oozie User', '--shell', '/bin/false', 'oozie']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'hbase', '-K', 'UMASK=022', '--home', '/var/lib/hbase', '--comment', 'HBase', '--shell', '/bin/false', 'hbase']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'sentry', '-K', 'UMASK=022', '--home', '/var/lib/sentry', '--comment', 'Sentry', '--shell', '/sbin/nologin', 'sentry']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'impala', '-K', 'UMASK=022', '--home', '/var/lib/impala', '--comment', 'Impala', '--shell', '/bin/bash', '--groups', 'hive', 'impala']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'spark', '-K', 'UMASK=022', '--home', '/var/lib/spark', '--comment', 'Spark', '--shell', '/sbin/nologin', 'spark']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'hue', '-K', 'UMASK=022', '--home', '/usr/lib/hue', '--comment', 'Hue', '--shell', '/bin/false', 'hue']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Ensuring correct file permissions for new parcel CDH-5.7.4-1.cdh5.7.4.p0.2.
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-yarn/bin/container-executor root yarn
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'root:yarn', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-yarn/bin/container-executor']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-yarn/bin/container-executor 6050
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '6050', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-yarn/bin/container-executor']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.dist/conf/server.xml sqoop2 sqoop
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'sqoop2:sqoop', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.dist/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.dist/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.dist/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.dist/conf/server.xml solr solr
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'solr:solr', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.dist/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.dist/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.dist/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop/desktop.db hue hue
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'hue:hue', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop/desktop.db']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop/desktop.db 0660
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0660', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop/desktop.db']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-0.20-mapreduce/sbin/Linux/task-controller root mapred
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'root:mapred', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-0.20-mapreduce/sbin/Linux/task-controller']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-0.20-mapreduce/sbin/Linux/task-controller 4754
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '4754', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hadoop-0.20-mapreduce/sbin/Linux/task-controller']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/ssl-server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/ssl-server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.dist/conf/server.xml httpfs httpfs
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'httpfs:httpfs', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.dist/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.dist/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.dist/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/ssl-server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/ssl-server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/ssl-server.xml oozie oozie
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/ssl-server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.mr1/conf/server.xml sqoop2 sqoop
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'sqoop2:sqoop', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.mr1/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.mr1/conf/server.xml 0750
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/sqoop2/tomcat-conf.mr1/conf/server.xml']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop hue hue
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'hue:hue', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop 0755
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0755', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/lib/hue/desktop']
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.https/conf/server.xml httpfs httpfs
[21/Nov/2016 15:20:17 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'httpfs:httpfs', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.https/conf/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.https/conf/server.xml 0750
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/hadoop-httpfs/tomcat-conf.https/conf/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/server.xml oozie oozie
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/server.xml 0750
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https/conf/ssl/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/server.xml oozie oozie
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/server.xml 0750
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.https.mr1/conf/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.https/conf/server.xml solr solr
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'solr:solr', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.https/conf/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.https/conf/server.xml 0750
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/solr/tomcat-conf.https/conf/server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/ssl-server.xml oozie oozie
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'oozie:oozie', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/ssl-server.xml 0750
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0750', u'/opt/cloudera/parcels/CDH-5.7.4-1.cdh5.7.4.p0.2/etc/oozie/tomcat-conf.http.mr1/conf/ssl/ssl-server.xml']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Ensuring users/groups exist for new parcel KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17.
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Ensuring correct file permissions for new parcel KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17.
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chown: /opt/cloudera/parcels/KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17/var/lib/kms-keytrustee kms kms
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chown', 'kms:kms', u'/opt/cloudera/parcels/KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17/var/lib/kms-keytrustee']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     chmod: /opt/cloudera/parcels/KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17/var/lib/kms-keytrustee 0755
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['chmod', '0755', u'/opt/cloudera/parcels/KEYTRUSTEE-5.9.0-5.KEYTRUSTEE5.9.0.p0.17/var/lib/kms-keytrustee']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Ensuring users/groups exist for new parcel ARCADIAENTERPRISE-3.2.1.0-1477612993.cdh5.
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'arcadia']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/groupadd', '-r', 'arcadia']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Executing command ['/usr/sbin/useradd', '-r', '-m', '-g', 'arcadia', '-K', 'UMASK=022', '--home', '/var/lib/arcadia', '--comment', 'Arcadia Data', '--shell', '/bin/bash', '--groups', 'arcadia,hive,hdfs,impala', 'arcadia']
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel       INFO     Ensuring correct file permissions for new parcel ARCADIAENTERPRISE-3.2.1.0-1477612993.cdh5.
[21/Nov/2016 15:20:18 +0000] 12974 MainThread parcel_cache INFO     Using /opt/cloudera/parcel-cache for parcel cache
[21/Nov/2016 15:20:18 +0000] 12974 MainThread agent        ERROR    Caught unexpected exception in main loop.
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/agent.py", line 710, in start
    self._init_after_first_heartbeat_response(resp_data)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/agent.py", line 840, in _init_after_first_heartbeat_response
    self.client_configs.load()
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/client_configs.py", line 682, in load
    new_deployed.update(self._lookup_alternatives(fname))
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/client_configs.py", line 432, in _lookup_alternatives
    return self._parse_alternatives(alt_name, out)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/client_configs.py", line 444, in _parse_alternatives
    path, _, _, priority_str = line.rstrip().split(" ")
ValueError: too many values to unpack

I think the line with 

ValueError: too many values to unpack

is a key here but no idea what to do with it right now.

 

Also, I tried to run agent in DEBUG mode from:

/etc/cloudera-scm-agent/config.ini

but changing it there doesn't affect the agent at all........

 

One more thing, that happen only on Gateway Node. The rest of the nodes are just fine.

 

Thanks,

Andrzej

2 ACCEPTED SOLUTIONS

avatar
Master Guru

You might do something like this:

 

 

# alternatives --list | awk '{print $1}' | xargs -n1 alternatives --display |grep "^/" > all_alternatives.txt

# awk -F ' ' -v NCOLS=4 'NF!=NCOLS{printf "Wrong number of columns at line %d\n", NR}' all_alternatives.txt

 

The above will list out all the alternatives display information and write that to a file

Then, it will check to see if there are any lines with more or less than 4 columns and print out the line number.

You could then use that line number to reference the all_alternatives.txt file line.

 

That should show us which alternative is tripping up the agent.

View solution in original post

avatar
Contributor

If anyone is interested i've updated to CM 5.12.1 and the issue has been fixed.

View solution in original post

18 REPLIES 18

avatar
Contributor

If anyone is interested i've updated to CM 5.12.1 and the issue has been fixed.

avatar
Explorer
I have the same issue and see the same extra columns.
Please can you share what exact steps you followed to completely remove OpenJDK.

avatar
Expert Contributor
Find all openjdk packages:

rpm -qa "*jdk*"

and remove them with:

yum remove packageName

avatar
Expert Contributor
How did you fixed the fix

avatar
Expert Contributor

If this is related to OPenJDK you have to remove OPenJDK from your server. Otherwise you have find out which packages make a proble. To do that you can run previously mentioned commands. As a result of the second you will  get the information of packages that make a problems.

I have a vanilla red hat installation so I just remove them with:

yum remove packageName

avatar
Expert Contributor
After complete un-installation of OpenJDK, issue has been resolved. Thanks

avatar

I had the same issue. After went through the alternative list, I found there are three more openjdk items, which are jre_openjdk, jre_1.8.0 and jre_1.8.0_openjdk. After I removed these three items, CM started distributing task.

avatar
New Contributor
We applied kernel update for Dirtycow and had this problem. Removing openjdk fixed this problem.

avatar
Explorer

Hi,

 

Could you please let me know how to solve this issue. I'm having the same error mentioned below. 

 

  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/agent.py", line 710, in start

    self._init_after_first_heartbeat_response(resp_data)

  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/agent.py", line 840, in _init_after_first_heartbeat_response

    self.client_configs.load()

  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/client_configs.py", line 682, in load

    new_deployed.update(self._lookup_alternatives(fname))

  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/client_configs.py", line 432, in _lookup_alternatives

    return self._parse_alternatives(alt_name, out)

  File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.8.2-py2.7.egg/cmf/client_configs.py", line 444, in _parse_alternatives

    path, _, _, priority_str = line.rstrip().split(" ")

ValueError: too many values to unpack

 

 

 

I tried to see the jdk versions. But same jdk is present in all other servers. Not sure why am having issue only with this server.

 

[root@ip-10-0-1-32 ~]# rpm -qa "*jdk*"

java-1.8.0-openjdk-devel-1.8.0.144-0.b01.el7_4.x86_64

java-1.8.0-openjdk-headless-1.8.0.144-0.b01.el7_4.x86_64

jdk1.8.0_102-1.8.0_102-fcs.x86_64

copy-jdk-configs-2.2-3.el7.noarch

java-1.8.0-openjdk-1.8.0.144-0.b01.el7_4.x86_64

 

 

Thanks