Member since
12-20-2023
11
Posts
8
Kudos Received
0
Solutions
08-09-2024
11:58 PM
[10/Aug/2024 14:57:40 +0800] 3876691 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/csd/csd.sh setup
[10/Aug/2024 14:57:40 +0800] 3876691 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 3876714
[10/Aug/2024 14:57:40 +0800] 3876715 MainThread redactor INFO Re-exec redactor: /opt/cloudera/cm-agent/bin/cm redactor --fds 3 5
[10/Aug/2024 14:57:40 +0800] 3876715 MainThread redactor INFO Started redactor
Sat Aug 10 14:57:41 CST 2024
+ locate_java_home
+ locate_java_home_no_verify
+ JAVA17_HOME_CANDIDATES=('/usr/java/jdk1.17' '/usr/lib/jvm/jdk-17' '/usr/lib/jvm/java-17-oracle')
+ local JAVA17_HOME_CANDIDATES
+ OPENJAVA17_HOME_CANDIDATES=('/usr/lib/jvm/java-17' '/usr/lib/jvm/jdk-17' '/usr/lib/jvm/jdk1.17' '/usr/lib/jvm/zulu-17' '/usr/lib/jvm/zulu17' '/usr/lib64/jvm/java-17' '/usr/lib64/jvm/jdk1.17')
+ local OPENJAVA17_HOME_CANDIDATES
+ JAVA11_HOME_CANDIDATES=('/usr/java/jdk-11' '/usr/lib/jvm/jdk-11' '/usr/lib/jvm/java-11-oracle')
+ local JAVA11_HOME_CANDIDATES
+ OPENJAVA11_HOME_CANDIDATES=('/usr/lib/jvm/java-11' '/usr/java/jdk-11' '/usr/lib/jvm/jdk-11' '/usr/lib64/jvm/jdk-11')
+ local OPENJAVA11_HOME_CANDIDATES
+ JAVA8_HOME_CANDIDATES=('/usr/java/jdk1.8' '/usr/java/jdk8' '/usr/java/jre1.8' '/usr/lib/jvm/j2sdk1.8-oracle' '/usr/lib/jvm/j2sdk1.8-oracle/jre' '/usr/lib/jvm/java-8-oracle')
+ local JAVA8_HOME_CANDIDATES
+ OPENJAVA8_HOME_CANDIDATES=('/usr/lib/jvm/java-1.8.0-openjdk' '/usr/lib/jvm/java-8' '/usr/lib64/jvm/java-1.8.0-openjdk' '/usr/lib64/jvm/java-8-openjdk')
+ local OPENJAVA8_HOME_CANDIDATES
+ MISCJAVA_HOME_CANDIDATES=('/Library/Java/Home' '/usr/java/default' '/usr/lib/jvm/default-java' '/usr/lib/jvm/java-openjdk' '/usr/lib/jvm/jre-openjdk')
+ local MISCJAVA_HOME_CANDIDATES
+ case ${BIGTOP_JAVA_MAJOR} in
+ JAVA_HOME_CANDIDATES=(${JAVA11_HOME_CANDIDATES[@]} ${OPENJAVA11_HOME_CANDIDATES[@]} ${JAVA8_HOME_CANDIDATES[@]} ${OPENJAVA8_HOME_CANDIDATES[@]} ${MISCJAVA_HOME_CANDIDATES[@]} ${JAVA17_HOME_CANDIDATES[@]} ${OPENJAVA17_HOME_CANDIDATES[@]})
+ '[' -n '' ']'
+ '[' -z '' ']'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/java/jdk-11*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/lib/jvm/jdk-11*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/lib/jvm/java-11-oracle*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/lib/jvm/java-11*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/java/jdk-11*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/lib/jvm/jdk-11*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd '/usr/lib64/jvm/jdk-11*'
+ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
++ ls -rvd /usr/java/jdk1.8u372-b07-cloudera
+ for candidate in `ls -rvd ${candidate_regex}* 2>/dev/null`
+ '[' -e /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
+ export JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
+ JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
+ break 2
+ verify_java_home
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera ']'
+ echo JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
+ '[' -n '-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ranger_ranger-RANGER_ADMIN-8f094361cfe58ec720ac05de9cedd7d9_pid{{PID}}.hprof -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh' ']'
+ get_gc_args
+ JAVA8_GC_TUNING_ARGS=' '
+ set_basic_gc_tuning_args_based_on_java_version
+ get_java_major_version JAVA_MAJOR
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
++ /usr/java/jdk1.8u372-b07-cloudera/bin/java -version
+ local 'VERSION_STRING=openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode)'
+ local 'RE_JAVA=[java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+'
+ [[ openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode) =~ [java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+ ]]
+ eval JAVA_MAJOR=8
++ JAVA_MAJOR=8
+ BASIC_GC_TUNING_ARGS=
+ case $JAVA_MAJOR in
+ BASIC_GC_TUNING_ARGS=' '
+ CSD_GC_ARGS=' '
+ CSD_JAVA_OPTS+=' '
++ replace_pid -XX:+HeapDumpOnOutOfMemoryError '-XX:HeapDumpPath=/tmp/ranger_ranger-RANGER_ADMIN-8f094361cfe58ec720ac05de9cedd7d9_pid{{PID}}.hprof' -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh
++ echo -XX:+HeapDumpOnOutOfMemoryError '-XX:HeapDumpPath=/tmp/ranger_ranger-RANGER_ADMIN-8f094361cfe58ec720ac05de9cedd7d9_pid{{PID}}.hprof' -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh
++ sed 's#{{PID}}#3876714#g'
+ export 'CSD_JAVA_OPTS=-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ranger_ranger-RANGER_ADMIN-8f094361cfe58ec720ac05de9cedd7d9_pid3876714.hprof -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh'
+ CSD_JAVA_OPTS='-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ranger_ranger-RANGER_ADMIN-8f094361cfe58ec720ac05de9cedd7d9_pid3876714.hprof -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh'
+ echo 'Using -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ranger_ranger-RANGER_ADMIN-8f094361cfe58ec720ac05de9cedd7d9_pid3876714.hprof -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh as CSD_JAVA_OPTS'
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh ']'
+ OLD_IFS='
'
+ IFS=:
+ SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
+ DIRNAME_ARRAY=($PARCEL_DIRNAMES)
+ IFS='
'
+ COUNT=1
++ seq 1 1
+ for i in `seq 1 $COUNT`
+ SCRIPT=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p0.15945976
+ . /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p0.15945976
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-hdfs
++ export CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-ozone
++ CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-ozone
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase
++ export CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_filesystem
++ CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_filesystem
++ export CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_connectors
++ CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_connectors
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zookeeper
++ export CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zeppelin
++ CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zeppelin
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive-hcatalog
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/sentry
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/avro
++ export CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kafka
++ CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kafka
++ export CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/schemaregistry
++ CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/schemaregistry
++ export CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager
++ CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager
++ export CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager_ui
++ CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager_ui
++ export CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_replication_manager
++ CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_replication_manager
++ export CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/cruise_control
++ CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/cruise_control
++ export CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/knox
++ CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/knox
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kudu
++ export CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
++ CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
++ export CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-tagsync
++ CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-tagsync
++ export CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-usersync
++ CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-usersync
++ export CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kms
++ CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kms
++ export CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-raz
++ CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-raz
++ export CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-rms
++ CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-rms
++ export CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/atlas
++ CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/atlas
++ export CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/tez
++ CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/tez
++ export CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix
++ CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix
++ export CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix_queryserver
++ CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix_queryserver
++ export DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/data_analytics_studio
++ DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/data_analytics_studio
++ export QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/queuemanager
++ QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/queuemanager
++ export CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hbase-plugin
++ CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hbase-plugin
++ export CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hive-plugin
++ CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hive-plugin
++ export CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-atlas-plugin
++ CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-atlas-plugin
++ export CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-solr-plugin
++ CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-solr-plugin
++ export CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hdfs-plugin
++ CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hdfs-plugin
++ export CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-knox-plugin
++ CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-knox-plugin
++ export CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-yarn-plugin
++ CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-yarn-plugin
++ export CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-ozone-plugin
++ CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-ozone-plugin
++ export CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kafka-plugin
++ CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kafka-plugin
+ echo 'Using /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand as conf dir'
+ echo 'Using scripts/control.sh as process script'
+ replace_conf_dir
+ echo CONF_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand
+ echo CMF_CONF_DIR=
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks' '*bcfks' 'supervisor_status')
++ printf '! -name %s ' cloudera-config.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' ranger.keytab creds.localjceks '*bcfks' supervisor_status
+ find /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand -type f '!' -path '/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/logs/*' '!' -name cloudera-config.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name ranger.keytab '!' -name creds.localjceks '!' -name '*bcfks' '!' -name supervisor_status -exec perl -pi -e 's#\{\{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand#g' '{}' ';'
+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ get_java_major_version JAVA_MAJOR_VERSION
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
++ /usr/java/jdk1.8u372-b07-cloudera/bin/java -version
+ local 'VERSION_STRING=openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode)'
+ local 'RE_JAVA=[java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+'
+ [[ openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode) =~ [java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+ ]]
+ eval JAVA_MAJOR_VERSION=8
++ JAVA_MAJOR_VERSION=8
+ export JAVA_MAJOR_VERSION
+ RUN_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand
+ '[' '' == true ']'
+ chmod u+x /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/control.sh
+ export COMMON_SCRIPT=/opt/cloudera/cm-agent/service/common/cloudera-config.sh
+ COMMON_SCRIPT=/opt/cloudera/cm-agent/service/common/cloudera-config.sh
+ '[' -n /etc/krb5.conf ']'
+ export 'HADOOP_CLIENT_OPTS=-Djava.security.krb5.conf=/etc/krb5.conf '
+ HADOOP_CLIENT_OPTS='-Djava.security.krb5.conf=/etc/krb5.conf '
+ exec /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/control.sh setup
+ CMD=setup
+ . /opt/cloudera/cm-agent/service/common/cloudera-config.sh
++ : /opt/cloudera/cm
++ export CLOUDERA_DIR
++ set -x
+ initialize_variables
+ get_generic_java_opts
+ export 'GENERIC_JAVA_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ GENERIC_JAVA_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ RANGER_ADMIN_DEFAULT_HOME=/usr/lib/ranger-admin
+ RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
+ RANGER_ADMIN_WEBAPP=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/ews/webapp
+ RANGER_ADMIN_CONF_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf
+ RANGER_USERSYNC_DEFAULT_HOME=/usr/lib/ranger-usersync
+ RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-usersync
+ RANGER_USERSYNC_CONF_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf
+ RANGER_TAGSYNC_DEFAULT_HOME=/usr/lib/ranger-tagsync
+ RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-tagsync
+ RANGER_TAGSYNC_CONF_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf
+ RANGER_HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf
+ PYTHON_COMMAND_DEFAULT_INVOKER=/opt/cloudera/cm-agent/service/../bin/python
+ PYTHON_COMMAND_INVOKER=/opt/cloudera/cm-agent/service/../bin/python
+ CDH_ENV_KINIT=/usr/bin/kinit
+ SECURITY_STORE_TYPE=jks
+ CREDENTIAL_STORE_TYPE=jceks
+ '[' jks == bcfks ']'
+ get_ranger_admin_peer_configs
+ RANGER_ADMIN_URL=
+ RANGER_ADMIN_HOST_ARRAY=()
++ cat /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/rangeradmin.properties
+ for line in $(cat "${CONF_DIR}/conf/rangeradmin.properties")
+ readconf cdp1.haha.com:ranger.authentication.method=PAM
+ local conf
+ IFS=:
+ read host conf
+ IFS==
+ read key value
+ case $key in
+ '[' -n PAM ']'
+ RANGER_AUTHENTICATION_METHOD=PAM
+ for line in $(cat "${CONF_DIR}/conf/rangeradmin.properties")
+ readconf cdp1.haha.com:ranger.externalurl=
+ local conf
+ IFS=:
+ read host conf
+ IFS==
+ read key value
+ case $key in
+ '[' -n '' ']'
+ RANGER_ADMIN_HOST=cdp1.haha.com
+ RANGER_ADMIN_HOST_ARRAY+=(${RANGER_ADMIN_HOST})
+ for line in $(cat "${CONF_DIR}/conf/rangeradmin.properties")
+ readconf cdp1.haha.com:ranger.service.http.port=6080
+ local conf
+ IFS=:
+ read host conf
+ IFS==
+ read key value
+ case $key in
+ '[' -n 6080 ']'
+ RANGER_ADMIN_HTTP_PORT=6080
+ for line in $(cat "${CONF_DIR}/conf/rangeradmin.properties")
+ readconf cdp1.haha.com:ranger.service.https.attrib.ssl.enabled=false
+ local conf
+ IFS=:
+ read host conf
+ IFS==
+ read key value
+ case $key in
+ '[' -n false ']'
+ RANGER_ADMIN_HTTPS_ENABLED=false
+ for line in $(cat "${CONF_DIR}/conf/rangeradmin.properties")
+ readconf cdp1.haha.com:ranger.service.https.port=6182
+ local conf
+ IFS=:
+ read host conf
+ IFS==
+ read key value
+ case $key in
+ '[' -n 6182 ']'
+ RANGER_ADMIN_HTTPS_PORT=6182
+ '[' -n '' ']'
+ '[' -z '' ']'
+ '[' -n cdp1.haha.com ']'
+ for HOST in "${RANGER_ADMIN_HOST_ARRAY[@]}"
+ '[' -n false ']'
+ '[' false == true ']'
+ RANGER_ADMIN_URL+=http://cdp1.haha.com:6080
+ log '[I] Ranger Admin url is http://cdp1.haha.com:6080'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] Ranger Admin url is http://cdp1.haha.com:6080'
+ export RANGER_ADMIN_URL=http://cdp1.haha.com:6080
+ RANGER_ADMIN_URL=http://cdp1.haha.com:6080
+ export RANGER_AUTHENTICATION_METHOD=PAM
+ RANGER_AUTHENTICATION_METHOD=PAM
+ get_security_enabled
++ /opt/cloudera/cm-agent/service/../bin/python /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/get_property.py hadoop.security.authentication /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/hadoop-conf/core-site.xml
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ SECURITY_ENABLED=
+ export SECURITY_ENABLED=
+ SECURITY_ENABLED=
+ run
+ case "${RANGER_ROLE}" in
+ ranger_admin setup
+ '[' setup == setup ']'
+ check_db_connector_jar
+ '[' postgresql == mysql ']'
+ '[' postgresql == oracle ']'
+ '[' postgresql == postgresql ']'
+ '[' -z /usr/share/java/postgresql-connector-java.jar ']'
+ SQL_CONNECTOR_JAR=/usr/share/java/postgresql-connector-java.jar
+ log '[I] Using : /usr/share/java/postgresql-connector-java.jar for postgresql'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] Using : /usr/share/java/postgresql-connector-java.jar for postgresql'
+ log '[I] Checking postgresql CONNECTOR JAR : /usr/share/java/postgresql-connector-java.jar'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] Checking postgresql CONNECTOR JAR : /usr/share/java/postgresql-connector-java.jar'
+ '[' -f /usr/share/java/postgresql-connector-java.jar ']'
+ log '[I] postgresql CONNECTOR JAR : /usr/share/java/postgresql-connector-java.jar found'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] postgresql CONNECTOR JAR : /usr/share/java/postgresql-connector-java.jar found'
+ populate_install_properties
+ cat /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/install.properties
+ chmod 640 /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
+ '[' postgresql == mysql ']'
+ '[' postgresql == oracle ']'
+ '[' postgresql == postgresql ']'
+ update_property_file DB_FLAVOR POSTGRES /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
+ sed -i 's@^DB_FLAVOR=[^ ]*$@DB_FLAVOR=POSTGRES@g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ sed '/^\#/d' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ grep '^DB_FLAVOR'
++ tail -n 1
++ cut -d = -f2-
+ validate=POSTGRES
+ test -z POSTGRES
+ update_property_file SQL_CONNECTOR_JAR /usr/share/java/postgresql-connector-java.jar /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
+ sed -i 's@^SQL_CONNECTOR_JAR=[^ ]*$@SQL_CONNECTOR_JAR=/usr/share/java/postgresql-connector-java.jar@g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ sed '/^\#/d' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ grep '^SQL_CONNECTOR_JAR'
++ tail -n 1
++ cut -d = -f2-
+ validate=/usr/share/java/postgresql-connector-java.jar
+ test -z /usr/share/java/postgresql-connector-java.jar
+ [[ ! -z '' ]]
+ '[' postgresql == oracle ']'
+ /opt/cloudera/cm-agent/service/../bin/python /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/update_properties.py db_host cdp1.haha.com:5432 /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ /opt/cloudera/cm-agent/service/../bin/python /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/update_properties.py db_name ranger /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ /opt/cloudera/cm-agent/service/../bin/python /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/update_properties.py db_user rangeradmin /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ set +x
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ '[' false == true ']'
+ update_property_file PATCH_RETRY_INTERVAL 1 /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
+ sed -i 's@^PATCH_RETRY_INTERVAL=[^ ]*$@PATCH_RETRY_INTERVAL=1@g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ sed '/^\#/d' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ grep '^PATCH_RETRY_INTERVAL'
++ tail -n 1
++ cut -d = -f2-
+ validate=1
+ test -z 1
+ update_property_file ranger_admin_max_heap_size 1024m /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
+ sed -i 's@^ranger_admin_max_heap_size=[^ ]*$@ranger_admin_max_heap_size=1024m@g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ sed '/^\#/d' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/install.properties
++ grep '^ranger_admin_max_heap_size'
++ tail -n 1
++ cut -d = -f2-
+ validate=1024m
+ test -z 1024m
+ update_db_related_configs
+ RANGER_JDBC_PREFERRED_TEST_QUERY='select 1;'
+ '[' postgresql == mysql ']'
+ '[' postgresql == oracle ']'
+ '[' postgresql == postgresql ']'
+ RANGER_DB_JDBC_URL=jdbc:postgresql://cdp1.haha.com:5432/ranger
+ RANGER_DB_JDBC_DRIVER=org.postgresql.Driver
+ RANGER_DB_JDBC_DIALECT=org.eclipse.persistence.platform.database.PostgreSQLPlatform
+ perl -pi -e 's#\{\{RANGER_DB_JDBC_DRIVER}}#org.postgresql.Driver#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ perl -pi -e 's#\{\{RANGER_DB_JDBC_DIALECT}}#org.eclipse.persistence.platform.database.PostgreSQLPlatform#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ perl -pi -e 's#\{\{RANGER_JDBC_PREFERRED_TEST_QUERY}}#select 1;#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
++ /opt/cloudera/cm-agent/service/../bin/python /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/scripts/get_property.py ranger.jpa.jdbc.url /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ RANGER_DB_JDBC_SAFETY_VALVE=
+ [[ '' == '' ]]
+ [[ '' == \N\o\n\e ]]
+ update_ranger_admin_configs
+ get_ranger_usersync_peer_configs
++ cat /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/rangerusersync.properties
+ for line in $(cat "${CONF_DIR}/conf/rangerusersync.properties")
+ readconf cdp1.haha.com:ranger.usersync.port=5151
+ local conf
+ IFS=:
+ read host conf
+ IFS==
+ read key value
+ case ${key} in
+ '[' -n cdp1.haha.com ']'
+ RANGER_USERSYNC_HOST=cdp1.haha.com
+ export RANGER_USERSYNC_HOST=cdp1.haha.com
+ RANGER_USERSYNC_HOST=cdp1.haha.com
+ RANGER_ADMIN_CREDENTIAL_PROVIDER_PATH=localjceks://file/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/creds.localjceks
+ perl -pi -e 's#\{\{RANGER_ADMIN_CREDENTIAL_PROVIDER_PATH}}#localjceks://file/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/creds.localjceks#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ KEYTAB_FILE=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/ranger.keytab
+ perl -pi -e 's#\{\{KEYTAB_FILE}}#/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/ranger.keytab#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ perl -pi -e 's#\{\{RANGER_ADMIN_HOST}}#cdp1.haha.com#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
++ hostname -s
+ HOST_SHORT_NAME=cdp1
+ perl -pi -e 's#\{\{RANGER_ADMIN_HOST_UQDN}}#cdp1#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ perl -pi -e 's#\{\{RANGER_USERSYNC_HOST}}#cdp1.haha.com#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ . /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/solr-conf/solr-env.sh
++ export SOLR_ZK_ENSEMBLE=cdp2.haha.com:2181,cdp1.haha.com:2181,cdp3.haha.com:2181/solr-infra
++ SOLR_ZK_ENSEMBLE=cdp2.haha.com:2181,cdp1.haha.com:2181,cdp3.haha.com:2181/solr-infra
++ export SOLR_HADOOP_DEPENDENCY_FS_TYPE=shared
++ SOLR_HADOOP_DEPENDENCY_FS_TYPE=shared
+ perl -pi -e 's#\{\{SOLR_ZK_ENSEMBLE}}#cdp2.haha.com:2181,cdp1.haha.com:2181,cdp3.haha.com:2181/solr-infra#g' /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-site.xml
+ echo 'export RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin'
+ echo 'export RANGER_HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf'
+ echo 'export RANGER_ADMIN_LOG_DIR=/var/log/ranger/admin'
+ echo 'export JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera'
+ echo 'export RANGER_USER=ranger'
+ chmod 750 /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-env.sh
+ setup_install_files
+ log '[I] Creating conf symbolic link under /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/ews/webapp/WEB-INF/classes'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] Creating conf symbolic link under /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/ews/webapp/WEB-INF/classes'
+ '[' -d /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf ']'
+ rm -f /etc/ranger/admin/conf
+ ln -sf /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf /etc/ranger/admin/conf
+ log '[I] Copying up installation files'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] Copying up installation files'
+ cat /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/ews/webapp/WEB-INF/classes/conf.dist/security-applicationContext.xml
+ chmod 640 /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/security-applicationContext.xml
+ cat /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/ews/webapp/WEB-INF/classes/conf.dist/ranger-admin-default-site.xml
+ chmod 640 /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/ranger-admin-default-site.xml
+ ln -sf /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/hadoop-conf/core-site.xml /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/core-site.xml
+ ln -sf /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/hadoop-conf/hdfs-site.xml /var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand/conf/hdfs-site.xml
+ '[' 0 '!=' 0 ']'
+ execute_db_java_patches
+ '[' 0 == 0 ']'
+ log '[I] Executing db_setup.py'
++ date
+ echo 'Sat Aug 10 14:57:41 CST 2024: [I] Executing db_setup.py'
+ export JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
+ JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
+ export RANGER_ADMIN_CONF=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand
+ RANGER_ADMIN_CONF=/var/run/cloudera-scm-agent/process/1546342184-ranger-RANGER_ADMIN-SetupRangerCommand
+ export RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
+ RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
+ /opt/cloudera/cm-agent/service/../bin/python /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin/db_setup.py
/opt/cloudera/cm-agent/service/../bin/python: line 25: /usr/bin/python2: No such file or directory
+ '[' 127 == 0 ']'
+ exit 1
... View more
Labels:
- Labels:
-
Apache Ranger
07-15-2024
03:59 PM
1 Kudo
any updates ?
... View more
07-08-2024
11:48 PM
[09/Jul/2024 14:42:27 +0800] 276182 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/yarn/yarn.sh application-diagnostic-data -use_cli true -applicationIds job_1720485812953_0005
[09/Jul/2024 14:42:27 +0800] 276182 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 276204
[09/Jul/2024 14:42:27 +0800] 276205 MainThread redactor INFO Re-exec redactor: /opt/cloudera/cm-agent/bin/cm redactor --fds 3 5
[09/Jul/2024 14:42:27 +0800] 276205 MainThread redactor INFO Started redactor
Tue Jul 9 14:42:27 CST 2024
+ source_parcel_environment
+ '[' '!' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh ']'
+ OLD_IFS='
'
+ IFS=:
+ SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
+ DIRNAME_ARRAY=($PARCEL_DIRNAMES)
+ IFS='
'
+ COUNT=1
++ seq 1 1
+ for i in `seq 1 $COUNT`
+ SCRIPT=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh
+ PARCEL_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p0.15945976
+ . /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/meta/cdh_env.sh
++ CDH_DIRNAME=CDH-7.1.7-1.cdh7.1.7.p0.15945976
++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-0.20-mapreduce
++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-0.20-mapreduce
++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-hdfs
++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-hdfs
++ export CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-ozone
++ CDH_OZONE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-ozone
++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-httpfs
++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-httpfs
++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-mapreduce
++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-mapreduce
++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-yarn
++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-yarn
++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase
++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase
++ export CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_filesystem
++ CDH_HBASE_FILESYSTEM_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_filesystem
++ export CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_connectors
++ CDH_HBASE_CONNECTORS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase_connectors
++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zookeeper
++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zookeeper
++ export CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zeppelin
++ CDH_ZEPPELIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/zeppelin
++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive
++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive
++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hue
++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hue
++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/oozie
++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/oozie
++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop
++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive-hcatalog
++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hive-hcatalog
++ export CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/sentry
++ CDH_SENTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/sentry
++ export JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils
++ JSVC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils
++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop/bin/hadoop
++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop/bin/hadoop
++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/impala
++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/impala
++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/solr
++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/solr
++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase-solr
++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hbase-solr
++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/search
++ SEARCH_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/search
++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/spark
++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/spark
++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/etc/hive-webhcat/conf.dist/webhcat-default.xml
++ export CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-kms
++ CDH_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-kms
++ export CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/parquet
++ CDH_PARQUET_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/parquet
++ export CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/avro
++ CDH_AVRO_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/avro
++ export CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kafka
++ CDH_KAFKA_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kafka
++ export CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/schemaregistry
++ CDH_SCHEMA_REGISTRY_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/schemaregistry
++ export CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager
++ CDH_STREAMS_MESSAGING_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager
++ export CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager_ui
++ CDH_STREAMS_MESSAGING_MANAGER_UI_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_messaging_manager_ui
++ export CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_replication_manager
++ CDH_STREAMS_REPLICATION_MANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/streams_replication_manager
++ export CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/cruise_control
++ CDH_CRUISE_CONTROL_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/cruise_control
++ export CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/knox
++ CDH_KNOX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/knox
++ export CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kudu
++ CDH_KUDU_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/kudu
++ export CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
++ CDH_RANGER_ADMIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-admin
++ export CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-tagsync
++ CDH_RANGER_TAGSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-tagsync
++ export CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-usersync
++ CDH_RANGER_USERSYNC_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-usersync
++ export CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kms
++ CDH_RANGER_KMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kms
++ export CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-raz
++ CDH_RANGER_RAZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-raz
++ export CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-rms
++ CDH_RANGER_RMS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-rms
++ export CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/atlas
++ CDH_ATLAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/atlas
++ export CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/tez
++ CDH_TEZ_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/tez
++ export CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix
++ CDH_PHOENIX_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix
++ export CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix_queryserver
++ CDH_PHOENIX_QUERYSERVER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/phoenix_queryserver
++ export DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/data_analytics_studio
++ DAS_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/data_analytics_studio
++ export QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/queuemanager
++ QUEUEMANAGER_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/queuemanager
++ export CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hbase-plugin
++ CDH_RANGER_HBASE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hbase-plugin
++ export CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hive-plugin
++ CDH_RANGER_HIVE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hive-plugin
++ export CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-atlas-plugin
++ CDH_RANGER_ATLAS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-atlas-plugin
++ export CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-solr-plugin
++ CDH_RANGER_SOLR_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-solr-plugin
++ export CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hdfs-plugin
++ CDH_RANGER_HDFS_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-hdfs-plugin
++ export CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-knox-plugin
++ CDH_RANGER_KNOX_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-knox-plugin
++ export CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-yarn-plugin
++ CDH_RANGER_YARN_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-yarn-plugin
++ export CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-ozone-plugin
++ CDH_RANGER_OZONE_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-ozone-plugin
++ export CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kafka-plugin
++ CDH_RANGER_KAFKA_PLUGIN_HOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/ranger-kafka-plugin
+ locate_cdh_java_home
+ '[' -z '' ']'
+ '[' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils ']'
+ local BIGTOP_DETECT_JAVAHOME=
+ for candidate in "${JSVC_HOME}" "${JSVC_HOME}/.." "/usr/lib/bigtop-utils" "/usr/libexec"
+ '[' -e /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils/bigtop-detect-javahome ']'
+ BIGTOP_DETECT_JAVAHOME=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils/bigtop-detect-javahome
+ break
+ '[' -z /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils/bigtop-detect-javahome ']'
+ . /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/bigtop-utils/bigtop-detect-javahome
++ BIGTOP_DEFAULTS_DIR=/etc/default
++ '[' -n /etc/default -a -r /etc/default/bigtop-utils ']'
++ JAVA11_HOME_CANDIDATES=('/usr/java/jdk-11' '/usr/lib/jvm/jdk-11' '/usr/lib/jvm/java-11-oracle')
++ OPENJAVA11_HOME_CANDIDATES=('/usr/java/jdk-11' '/usr/lib/jvm/java-11' '/usr/lib/jvm/jdk-11' '/usr/lib64/jvm/jdk-11')
++ JAVA8_HOME_CANDIDATES=('/usr/java/jdk1.8' '/usr/java/jre1.8' '/usr/lib/jvm/j2sdk1.8-oracle' '/usr/lib/jvm/j2sdk1.8-oracle/jre' '/usr/lib/jvm/java-8-oracle')
++ OPENJAVA8_HOME_CANDIDATES=('/usr/lib/jvm/java-1.8.0-openjdk' '/usr/lib/jvm/java-8-openjdk' '/usr/lib64/jvm/java-1.8.0-openjdk' '/usr/lib64/jvm/java-8-openjdk')
++ MISCJAVA_HOME_CANDIDATES=('/Library/Java/Home' '/usr/java/default' '/usr/lib/jvm/default-java' '/usr/lib/jvm/java-openjdk' '/usr/lib/jvm/jre-openjdk')
++ case ${BIGTOP_JAVA_MAJOR} in
++ JAVA_HOME_CANDIDATES=(${JAVA8_HOME_CANDIDATES[@]} ${MISCJAVA_HOME_CANDIDATES[@]} ${OPENJAVA8_HOME_CANDIDATES[@]} ${JAVA11_HOME_CANDIDATES[@]} ${OPENJAVA11_HOME_CANDIDATES[@]})
++ '[' -z '' ']'
++ for candidate_regex in ${JAVA_HOME_CANDIDATES[@]}
+++ ls -rvd /usr/java/jdk1.8u372-b07-cloudera
++ for candidate in `ls -rvd ${candidate_regex}* 2>/dev/null`
++ '[' -e /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
++ export JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
++ JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
++ break 2
+ get_java_major_version JAVA_MAJOR
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
++ /usr/java/jdk1.8u372-b07-cloudera/bin/java -version
+ local 'VERSION_STRING=openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode)'
+ local 'RE_JAVA=[java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+'
+ [[ openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode) =~ [java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+ ]]
+ eval JAVA_MAJOR=8
++ JAVA_MAJOR=8
+ '[' 8 -lt 8 ']'
+ verify_java_home
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera ']'
+ echo JAVA_HOME=/usr/java/jdk1.8u372-b07-cloudera
+ . /opt/cloudera/cm-agent/service/common/cdh-default-hadoop
++ [[ -z '' ]]
++ echo 'Skipping sourcing equivalent of /etc/default/hadoop due to missing CDH_VERSION'
+ echo 'using /usr/java/jdk1.8u372-b07-cloudera as JAVA_HOME'
+ echo 'using as CDH_VERSION'
+ echo 'using /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-yarn as CDH_YARN_HOME'
+ echo 'using /opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-mapreduce as CDH_MR2_HOME'
+ echo 'using /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection as CONF_DIR'
+ export YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
+ YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
+ YARN=/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p0.15945976/lib/hadoop-yarn/bin/yarn
+ YSITE=/var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection/yarn-site.xml
+ set_hadoop_classpath
+ set_classpath_in_var HADOOP_CLASSPATH
+ '[' -z HADOOP_CLASSPATH ']'
+ [[ -n /opt/cloudera/cm ]]
++ find /opt/cloudera/cm/lib/plugins -maxdepth 1 -name '*.jar'
++ tr '\n' :
+ ADD_TO_CP=/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar:/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar:
+ [[ -n '' ]]
+ eval 'OLD_VALUE=$HADOOP_CLASSPATH'
++ OLD_VALUE=
+ NEW_VALUE=/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar:/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar:
+ export HADOOP_CLASSPATH=/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar:/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar
+ HADOOP_CLASSPATH=/opt/cloudera/cm/lib/plugins/tt-instrumentation-7.11.3.jar:/opt/cloudera/cm/lib/plugins/event-publish-7.11.3-shaded.jar
+ set -x
+ replace_conf_dir
+ echo CONF_DIR=/var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
+ echo CMF_CONF_DIR=
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' 'config.zip' 'proc.json' '*.log' '*.keytab' '*jceks' '*bcfks' 'supervisor_status')
++ printf '! -name %s ' cloudera-config.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json '*.log' yarn.keytab '*jceks' '*bcfks' supervisor_status
+ find /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection -type f '!' -path '/var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection/logs/*' '!' -name cloudera-config.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name config.zip '!' -name proc.json '!' -name '*.log' '!' -name yarn.keytab '!' -name '*jceks' '!' -name '*bcfks' '!' -name supervisor_status -exec perl -pi -e 's#\{\{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection#g' '{}' ';'
+ perl -pi -e 's#\{\{CGROUP_GROUP_CPU}}#system.slice/cloudera-scm-agent.service#g' /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection/yarn-site.xml
+ CGROUP_MOUNT_PROP=yarn.nodemanager.linux-container-executor.cgroups.mount-path
+ grep -q yarn.nodemanager.linux-container-executor.cgroups.mount-path /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection/yarn-site.xml
++ replace_pid
++ echo
++ sed 's#{{PID}}#276204#g'
+ export YARN_NODEMANAGER_OPTS=
+ YARN_NODEMANAGER_OPTS=
++ replace_pid
++ echo
++ sed 's#{{PID}}#276204#g'
+ export YARN_RESOURCEMANAGER_OPTS=
+ YARN_RESOURCEMANAGER_OPTS=
++ replace_pid
++ echo
++ sed 's#{{PID}}#276204#g'
+ export HADOOP_JOB_HISTORYSERVER_OPTS=
+ HADOOP_JOB_HISTORYSERVER_OPTS=
+ get_generic_java_opts
+ export 'GENERIC_JAVA_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ GENERIC_JAVA_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ export 'YARN_NODEMANAGER_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ YARN_NODEMANAGER_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ export 'YARN_RESOURCEMANAGER_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ YARN_RESOURCEMANAGER_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ export 'HADOOP_JOB_HISTORYSERVER_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ HADOOP_JOB_HISTORYSERVER_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ get_additional_jvm_args
+ JAVA17_ADDITIONAL_JVM_ARGS='--add-opens java.base/java.lang=ALL-UNNAMED'
+ set_additional_jvm_args_based_on_java_version
+ get_java_major_version JAVA_MAJOR
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
++ /usr/java/jdk1.8u372-b07-cloudera/bin/java -version
+ local 'VERSION_STRING=openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode)'
+ local 'RE_JAVA=[java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+'
+ [[ openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode) =~ [java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+ ]]
+ eval JAVA_MAJOR=8
++ JAVA_MAJOR=8
+ ADDITIONAL_JVM_ARGS=
+ case $JAVA_MAJOR in
+ ADDITIONAL_JVM_ARGS=
+ export 'YARN_NODEMANAGER_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 '
+ YARN_NODEMANAGER_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 '
+ export 'YARN_RESOURCEMANAGER_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 '
+ YARN_RESOURCEMANAGER_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 '
+ export 'HADOOP_JOB_HISTORYSERVER_OPTS= -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 '
+ HADOOP_JOB_HISTORYSERVER_OPTS=' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 '
+ get_gc_args
+ set_basic_gc_tuning_args_based_on_java_version
+ get_java_major_version JAVA_MAJOR
+ '[' -z /usr/java/jdk1.8u372-b07-cloudera/bin/java ']'
++ /usr/java/jdk1.8u372-b07-cloudera/bin/java -version
+ local 'VERSION_STRING=openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode)'
+ local 'RE_JAVA=[java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+'
+ [[ openjdk version "1.8.0_372"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_372-b07)
OpenJDK 64-Bit Server VM (Temurin)(build 25.372-b07, mixed mode) =~ [java|openjdk][[:space:]]version[[:space:]]\"1\.([0-9][0-9]*)\.?+ ]]
+ eval JAVA_MAJOR=8
++ JAVA_MAJOR=8
+ BASIC_GC_TUNING_ARGS=
+ case $JAVA_MAJOR in
+ BASIC_GC_TUNING_ARGS='-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
+ YARN_NODEMANAGER_GC_ARGS='-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
+ YARN_RESOURCEMANAGER_GC_ARGS='-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
+ JOB_HISTORYSERVER_GC_ARGS='-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
++ replace_gc_args ' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 ' '-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
++ echo -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2
++ sed 's#{{JAVA_GC_ARGS}}#-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled#g'
+ export 'YARN_NODEMANAGER_OPTS=-Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ YARN_NODEMANAGER_OPTS='-Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
++ replace_gc_args ' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 ' '-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
++ echo -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2
++ sed 's#{{JAVA_GC_ARGS}}#-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled#g'
+ export 'YARN_RESOURCEMANAGER_OPTS=-Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ YARN_RESOURCEMANAGER_OPTS='-Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
++ replace_gc_args ' -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2 ' '-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled'
++ echo -Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2
++ sed 's#{{JAVA_GC_ARGS}}#-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled#g'
+ export 'HADOOP_JOB_HISTORYSERVER_OPTS=-Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ HADOOP_JOB_HISTORYSERVER_OPTS='-Dsun.security.krb5.disableReferrals=true -Djdk.tls.ephemeralDHKeySize=2048 -Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2'
+ make_scripts_executable
+ find /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ export 'YARN_OPTS=-Djava.net.preferIPv4Stack=true '
+ YARN_OPTS='-Djava.net.preferIPv4Stack=true '
+ acquire_kerberos_tgt yarn.keytab
+ '[' -z yarn.keytab ']'
+ KERBEROS_PRINCIPAL=
+ '[' '!' -z '' ']'
+ '[' -n '' ']'
+ '[' application-diagnostic-data = RefreshQueuesAndNodes ']'
+ '[' application-diagnostic-data = historyserver ']'
+ '[' application-diagnostic-data = application-diagnostic-data ']'
+ set -e
+ PYTHON_CMD=/opt/cloudera/cm-agent/service/../bin/python
++ dirname /opt/cloudera/cm-agent/service/yarn/yarn.sh
+ COLLECT_APPLICATION_DATA=/opt/cloudera/cm-agent/service/yarn/../support/collect_jobs_stats/collect_jobs_stats.py
+++ pwd
++ basename /run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
+ PROCESS_DIR_NAME=1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
+ DIAGNOSTICS_DUMP_DIR=/tmp/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
+ COLLECT_APP_DATA_ARGS='--use_cli true --app_ids job_1720485812953_0005 --output_dir /tmp/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection/diagnostics --hadoop_conf_dir /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection'
+ /opt/cloudera/cm-agent/service/../bin/python /opt/cloudera/cm-agent/service/yarn/../support/collect_jobs_stats/collect_jobs_stats.py --use_cli true --app_ids job_1720485812953_0005 --output_dir /tmp/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection/diagnostics --hadoop_conf_dir /var/run/cloudera-scm-agent/process/1546337707-YARN-yarn-RESOURCEMANAGER-1e5b85cf69a76c49599cf6ff666e3035-YarnApplicationDiagnosticsCollection
Traceback (most recent call last):
File "/opt/cloudera/cm-agent/service/yarn/../support/collect_jobs_stats/collect_jobs_stats.py", line 73, in <module>
from extractors.jhs_extractor import JHSExtractor
File "/opt/cloudera/cm-agent/service/support/collect_jobs_stats/extractors/jhs_extractor.py", line 9, in <module>
import urllib.request as urllib2
ImportError: No module named request It looks like client3 has python issue. I tried below steps no luck. [root@cdp3 conf]# alternatives --set python /usr/bin/python3
[root@cdp3 conf]# py
pydoc2 pydoc2.7 pydoc-3 pydoc3 pydoc3.6 pydoc3.8 pyinotify pyspark python python2 python2.7 python3 python3.8 pyvenv-3.6
[root@cdp3 conf]# python
Python 3.8.17 (default, Aug 10 2023, 12:50:17)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-20)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
[root@cdp3 conf]# sudo pip3 install requests
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting requests
Downloading https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl (64kB)
|████████████████████████████████| 71kB 1.1MB/s
Collecting idna<4,>=2.5
Downloading https://files.pythonhosted.org/packages/e5/3e/741d8c82801c347547f8a2a06aa57dbb1992be9e948df2ea0eda2c8b79e8/idna-3.7-py3-none-any.whl (66kB)
|████████████████████████████████| 71kB 2.6MB/s
Collecting urllib3<3,>=1.21.1
Downloading https://files.pythonhosted.org/packages/ca/1c/89ffc63a9605b583d5df2be791a27bc1a42b7c32bab68d3c8f2f73a98cd4/urllib3-2.2.2-py3-none-any.whl (121kB)
|████████████████████████████████| 122kB 5.7MB/s
Collecting charset-normalizer<4,>=2
Downloading https://files.pythonhosted.org/packages/3d/09/d82fe4a34c5f0585f9ea1df090e2a71eb9bb1e469723053e1ee9f57c16f3/charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141kB)
|████████████████████████████████| 143kB 11.5MB/s
Collecting certifi>=2017.4.17
Downloading https://files.pythonhosted.org/packages/1c/d5/c84e1a17bf61d4df64ca866a1c9a913874b4e9bdc131ec689a0ad013fb36/certifi-2024.7.4-py3-none-any.whl (162kB)
|████████████████████████████████| 163kB 13.6MB/s
Installing collected packages: idna, urllib3, charset-normalizer, certifi, requests
WARNING: The script normalizer is installed in '/usr/local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 requests-2.32.3 urllib3-2.2.2
[root@cdp3 conf]# python
python python2 python2.7 python3 python3.8 option 2: I am able to gather the log via cli. # yarn logs -applicationId application_1720485812953_0001 appOwner root > application_1720485812953_0001.log
... View more
Labels:
- Labels:
-
Apache YARN
07-08-2024
09:30 PM
2 Kudos
thank you @Scharan Followed your instructions , the monitor status becomes normal now in CDP.
... View more
07-08-2024
12:16 AM
1 Kudo
== sudo tail -f /var/log/cloudera-scm-server/cloudera-scm-server.log 2024-07-08 15:10:06,345 WARN scm-web-117:com.cloudera.server.web.cmf.EventsController: (7 skipped) Exception querying events com.cloudera.cmon.MgmtServiceLocatorException: There is no configured event store at com.cloudera.cmon.MgmtServiceLocator.getEventStoreQueryProxy(MgmtServiceLocator.java:314) at com.cloudera.server.web.cmf.events.EventDao.findEvents(EventDao.java:398) at com.cloudera.server.web.cmf.EventsController.query(EventsController.java:167) at com.cloudera.server.web.cmf.EventsController$$FastClassBySpringCGLIB$$690db1aa.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) at com.cloudera.server.web.cmf.aop.RetryExecution$1.call(RetryExecution.java:32) at com.cloudera.server.common.RetryWrapper.executeWithRetry(RetryWrapper.java:32) at com.cloudera.server.common.RetryUtils.executeWithRetryHelper(RetryUtils.java:210) at com.cloudera.server.common.RetryUtils.executeWithRetry(RetryUtils.java:131) at com.cloudera.server.web.cmf.aop.RetryExecution.retryOperation(RetryExecution.java:24) at sun.reflect.GeneratedMethodAccessor1930.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at com.cloudera.server.web.cmf.EventsController$$EnhancerBySpringCGLIB$$6e5ce234.query(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:645) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1452) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) at com.jamonapi.http.JAMonServletFilter.doFilter(JAMonServletFilter.java:48) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter.doFilter(JavaMelodyFacade.java:204) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at com.cloudera.server.cmf.config.components.CmfHttpSessionFilter.doFilter(CmfHttpSessionFilter.java:42) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at com.cloudera.server.cmf.config.components.RequestRecastFilter.doFilter(RequestRecastFilter.java:55) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102) at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.kerberos.web.authentication.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:128) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:147) at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:142) at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:82) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:766) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:179) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at com.cloudera.server.common.BoundedQueuedThreadPool$2.run(BoundedQueuedThreadPool.java:94) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) at java.lang.Thread.run(Thread.java:750) 2024-07-08 15:10:14,224 INFO avro-servlet-hb-processor-4:com.cloudera.server.common.AgentAvroServlet: (11 skipped) AgentAv
... View more
Labels:
07-08-2024
12:05 AM
1 Kudo
I run into same issue after deploying cdp 7.1.7. Is there workaround for this issue ?
... View more
05-31-2024
05:51 PM
1 Kudo
@Scharan how do you tell it is using local file system in the log ?
... View more
05-31-2024
05:50 PM
1 Kudo
After changing to powerscale hdfs in YARN , then it works. Thank you @Scharan
... View more
05-31-2024
04:29 AM
1 Kudo
2024-05-31 19:23:17,927 ERROR org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer: Error starting JobHistoryServer org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Error creating done directory: [file:/user/history/done] at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.tryCreatingHistoryDirs(HistoryFileManager.java:701) at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.createHistoryDirs(HistoryFileManager.java:637) at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.serviceInit(HistoryFileManager.java:598) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.mapreduce.v2.hs.JobHistory.serviceInit(JobHistory.java:97) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108) at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.serviceInit(JobHistoryServer.java:150) at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164) at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.launchJobHistoryServer(JobHistoryServer.java:226) at org.apache.hadoop.mapreduce.v2.hs.JobHistoryServer.main(JobHistoryServer.java:236) Caused by: java.io.IOException: mkdir of file:/user/history/done failed at org.apache.hadoop.fs.FileSystem.primitiveMkdir(FileSystem.java:1320) at org.apache.hadoop.fs.DelegateToFileSystem.mkdir(DelegateToFileSystem.java:185) at org.apache.hadoop.fs.FilterFs.mkdir(FilterFs.java:214) at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:809) at org.apache.hadoop.fs.FileContext$4.next(FileContext.java:805) at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90) at org.apache.hadoop.fs.FileContext.mkdir(FileContext.java:812) at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.mkdir(HistoryFileManager.java:756) at org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.tryCreatingHistoryDirs(HistoryFileManager.java:684) ... 10 more 2024-05-31 19:23:17,930 INFO org.apache.hadoop.util.ExitUtil: Exiting with status -1: Error starting JobHistoryServer yaya9800-1# ll /ifs/hdfs/hadoop-root total 40 drwxr-xr-x 2 hbase hbase 0 May 31 11:10 hbase drwxrwxr-x 2 solr solr 0 May 31 11:10 solr drwxrwxrwt 4 hdfs supergroup 44 May 31 11:10 tmp drwxr-xr-x 12 hdfs supergroup 229 May 31 11:10 user yaya9800-1# ll /ifs/hdfs/hadoop-root/user total 20 drwxrwxr-x 2 flume flume 0 May 31 11:10 flume drwxr-xr-x 2 hdfs hdfs 0 May 31 11:10 hdfs drwxrwxrwx 2 mapred hadoop 0 May 31 11:10 history drwxrwxr-x 3 hive hive 27 May 31 11:10 hive drwxr-xr-x 3 hue hue 57 May 31 11:10 hue drwxrwxr-x 2 impala impala 0 May 31 11:10 impala drwxrwxr-x 2 oozie oozie 0 May 31 11:10 oozie drwxr-x--x 3 spark spark 36 May 31 11:10 spark drwxrwxr-x 2 sqoop2 sqoop 0 May 31 11:10 sqoop2 drwxr-xr-x 2 yarn yarn 0 May 31 11:10 yarn yaya9800-1# ll /ifs/hdfs/hadoop-root/user/history total 0 yaya9800-1#
... View more
Labels:
- Labels:
-
Apache YARN
12-21-2023
04:15 PM
I deployed 3 zookeeper nodes and they are running well. And zK logs don't print any errors. After I stopped all zk nodes . The RM log prints below errors: 2023-12-22 07:34:11,542 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server cdp3.oia.com/192.168.1.176:2181. Will attempt to SASL-authenticate using Login Context section 'Client'
2023-12-22 07:34:11,542 INFO org.apache.zookeeper.ClientCnxn: Socket error occurred: cdp3.oia.com/192.168.1.176:2181: Connection refused
2023-12-22 07:34:11,642 WARN org.apache.zookeeper.Login: TGT renewal thread has been interrupted and will exit.
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.Login: Client successfully logged in.
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.client.ZooKeeperSaslClient: Client will use GSSAPI as SASL mechanism.
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.Login: TGT refresh thread started.
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.Login: TGT valid starting at: Fri Dec 22 07:34:10 CST 2023
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.Login: TGT expires: Sat Dec 23 07:34:10 CST 2023
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.Login: TGT refresh sleeping until: Sat Dec 23 03:31:02 CST 2023
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server cdp1.oia.com/192.168.1.205:2181. Will attempt to SASL-authenticate using Login Context section 'Client'
2023-12-22 07:34:11,645 INFO org.apache.zookeeper.ClientCnxn: Socket error occurred: cdp1.oia.com/192.168.1.205:2181: Connection refused
2023-12-22 07:34:12,746 WARN org.apache.zookeeper.Login: TGT renewal thread has been interrupted and will exit.
2023-12-22 07:34:12,748 INFO org.apache.zookeeper.Login: Client successfully logged in.
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.client.ZooKeeperSaslClient: Client will use GSSAPI as SASL mechanism.
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.Login: TGT refresh thread started.
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.Login: TGT valid starting at: Fri Dec 22 07:34:11 CST 2023
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.Login: TGT expires: Sat Dec 23 07:34:11 CST 2023
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.Login: TGT refresh sleeping until: Sat Dec 23 03:33:14 CST 2023
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server cdp2.oia.com/192.168.1.169:2181. Will attempt to SASL-authenticate using Login Context section 'Client'
2023-12-22 07:34:12,749 INFO org.apache.zookeeper.ClientCnxn: Socket error occurred: cdp2.oia.com/192.168.1.169:2181: Connection refused Resumed the zk nodes , it looks connection established but throws an exception in the end. 2023-12-22 07:34:33,729 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server cdp2.oia.com/192.168.1.169:2181. Will attempt to SASL-authenticate using Login Context section 'Client'
2023-12-22 07:34:33,730 INFO org.apache.zookeeper.ClientCnxn: Socket connection established, initiating session, client: /192.168.1.205:56000, server: cdp2.oia.com/192.168.1.169:2181
2023-12-22 07:34:33,757 INFO org.apache.zookeeper.ClientCnxn: Session establishment complete on server cdp2.oia.com/192.168.1.169:2181, sessionid = 0x2002158fc320000, negotiated timeout = 40000
2023-12-22 07:34:33,758 INFO org.apache.curator.framework.state.ConnectionStateManager: State change: CONNECTED
2023-12-22 07:34:33,781 INFO org.apache.curator.framework.imps.EnsembleTracker: New config event received: {server.1=cdp1.oia.com:3181:4181:participant, version=0, server.3=cdp3.oia.com:3181:4181:participant, server.2=cdp2.oia.com:3181:4181:participant}
2023-12-22 07:34:33,784 INFO org.apache.curator.framework.imps.EnsembleTracker: New config event received: {server.1=cdp1.oia.com:3181:4181:participant, version=0, server.3=cdp3.oia.com:3181:4181:participant, server.2=cdp2.oia.com:3181:4181:participant}
2023-12-22 07:34:33,795 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManager
org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /confstore/CONF_STORE
at org.apache.zookeeper.KeeperException.create(KeeperException.java:120)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:1793)
at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:274)
at org.apache.curator.framework.imps.DeleteBuilderImpl$5.call(DeleteBuilderImpl.java:268)
at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:67)
at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:81)
at org.apache.curator.framework.imps.DeleteBuilderImpl.pathInForeground(DeleteBuilderImpl.java:265)
at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:249)
at org.apache.curator.framework.imps.DeleteBuilderImpl.forPath(DeleteBuilderImpl.java:34)
at org.apache.hadoop.util.curator.ZKCuratorManager.delete(ZKCuratorManager.java:331)
at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.ZKConfigurationStore.format(ZKConfigurationStore.java:148)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.deleteRMConfStore(ResourceManager.java:1658)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1534)
2023-12-22 07:34:33,803 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down ResourceManager at cdp1.oia.com/192.168.1.205
************************************************************/ The workaround I use is that I deleted the zk , yarn queue manager and yarn . And redeployed yarn only . so far it looks good.
... View more