Guest User

Yarn

a guest
Apr 18th, 2014
271
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Fri Apr 18 12:30:08 CEST 2014
  2. + source_parcel_environment
  3. + '[' '!' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh:/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh ']'
  4. + OLD_IFS='
  5. '
  6. + IFS=:
  7. + SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
  8. + DIRNAME_ARRAY=($PARCEL_DIRNAMES)
  9. + IFS='
  10. '
  11. + COUNT=2
  12. ++ seq 1 2
  13. + for i in '`seq 1 $COUNT`'
  14. + SCRIPT=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  15. + PARCEL_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  16. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  17. ++ CDH_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  18. ++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  19. ++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  20. ++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  21. ++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  22. ++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  23. ++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  24. ++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  25. ++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  26. ++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  27. ++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  28. ++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  29. ++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  30. ++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  31. ++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  32. ++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  33. ++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  34. ++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  35. ++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  36. ++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  37. ++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  38. ++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  39. ++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  40. ++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  41. ++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  42. ++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  43. ++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  44. ++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  45. ++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  46. ++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  47. ++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  48. ++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  49. ++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  50. ++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  51. ++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  52. ++ export CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  53. ++ CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  54. ++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  55. ++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  56. ++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  57. ++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  58. ++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  59. ++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  60. ++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  61. ++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  62. ++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  63. ++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  64. ++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  65. ++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  66. ++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  67. ++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  68. ++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  69. ++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  70. ++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  71. ++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  72. + for i in '`seq 1 $COUNT`'
  73. + SCRIPT=/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  74. + PARCEL_DIRNAME=dmexpress-7.13.1
  75. + . /opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  76. + locate_cdh_java_home
  77. + '[' -z '' ']'
  78. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils ']'
  79. + local BIGTOP_DETECT_JAVAHOME=
  80. + for candidate in '"${JSVC_HOME}"' '"${JSVC_HOME}/.."' '"/usr/lib/bigtop-utils"' '"/usr/libexec"'
  81. + '[' -e /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  82. + BIGTOP_DETECT_JAVAHOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  83. + break
  84. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  85. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  86. ++ BIGTOP_DEFAULTS_DIR=/etc/default
  87. ++ '[' -n /etc/default -a -r /etc/default/bigtop-utils ']'
  88. ++ JAVA6_HOME_CANDIDATES='\
  89. /usr/lib/j2sdk1.6-sun \
  90. /usr/lib/jvm/java-6-sun \
  91. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  92. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  93. /usr/lib/jvm/j2sdk1.6-oracle \
  94. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  95. /usr/java/jdk1.6* \
  96. /usr/java/jre1.6*'
  97. ++ OPENJAVA6_HOME_CANDIDATES='\
  98. /usr/lib/jvm/java-1.6.0-openjdk \
  99. /usr/lib/jvm/java-1.6.0-openjdk-* \
  100. /usr/lib/jvm/jre-1.6.0-openjdk*'
  101. ++ JAVA7_HOME_CANDIDATES='\
  102. /usr/java/jdk1.7* \
  103. /usr/java/jre1.7* \
  104. /usr/lib/jvm/j2sdk1.7-oracle \
  105. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  106. /usr/lib/jvm/java-7-oracle*'
  107. ++ OPENJAVA7_HOME_CANDIDATES='\
  108. /usr/lib/jvm/java-1.7.0-openjdk* \
  109. /usr/lib/jvm/java-7-openjdk*'
  110. ++ MISCJAVA_HOME_CANDIDATES='\
  111. /Library/Java/Home \
  112. /usr/java/default \
  113. /usr/lib/jvm/default-java \
  114. /usr/lib/jvm/java-openjdk \
  115. /usr/lib/jvm/jre-openjdk'
  116. ++ case $BIGTOP_JAVA_MAJOR in
  117. ++ JAVA_HOME_CANDIDATES='\
  118. /usr/java/jdk1.7* \
  119. /usr/java/jre1.7* \
  120. /usr/lib/jvm/j2sdk1.7-oracle \
  121. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  122. /usr/lib/jvm/java-7-oracle* \
  123. /usr/lib/j2sdk1.6-sun \
  124. /usr/lib/jvm/java-6-sun \
  125. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  126. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  127. /usr/lib/jvm/j2sdk1.6-oracle \
  128. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  129. /usr/java/jdk1.6* \
  130. /usr/java/jre1.6* \
  131. /Library/Java/Home \
  132. /usr/java/default \
  133. /usr/lib/jvm/default-java \
  134. /usr/lib/jvm/java-openjdk \
  135. /usr/lib/jvm/jre-openjdk \
  136. /usr/lib/jvm/java-1.7.0-openjdk* \
  137. /usr/lib/jvm/java-7-openjdk* \
  138. /usr/lib/jvm/java-1.6.0-openjdk \
  139. /usr/lib/jvm/java-1.6.0-openjdk-* \
  140. /usr/lib/jvm/jre-1.6.0-openjdk*'
  141. ++ '[' -z '' ']'
  142. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  143. +++ ls -rd '\'
  144. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  145. +++ ls -rd /usr/java/jdk1.7.0_45-cloudera
  146. ++ for candidate in '`ls -rd $candidate_regex 2>/dev/null`'
  147. ++ '[' -e /usr/java/jdk1.7.0_45-cloudera/bin/java ']'
  148. ++ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  149. ++ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  150. ++ break 2
  151. + verify_java_home
  152. + '[' -z /usr/java/jdk1.7.0_45-cloudera ']'
  153. + echo JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  154. + . /usr/lib64/cmf/service/common/cdh-default-hadoop
  155. ++ [[ -z 5 ]]
  156. ++ '[' 5 = 3 ']'
  157. ++ '[' 5 = -3 ']'
  158. ++ '[' 5 -ge 4 ']'
  159. ++ export HADOOP_HOME_WARN_SUPPRESS=true
  160. ++ HADOOP_HOME_WARN_SUPPRESS=true
  161. ++ export HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  162. ++ HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  163. ++ export HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  164. ++ HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  165. ++ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  166. ++ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  167. ++ export HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  168. ++ HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  169. ++ export HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  170. ++ HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  171. ++ export HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  172. ++ HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  173. ++ '[' 5 = 4 ']'
  174. ++ '[' 5 = 5 ']'
  175. ++ export HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  176. ++ HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  177. + echo 'using /usr/java/jdk1.7.0_45-cloudera as JAVA_HOME'
  178. + echo 'using 5 as CDH_VERSION'
  179. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn as CDH_YARN_HOME'
  180. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce as CDH_MR2_HOME'
  181. + echo 'using /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER as CONF_DIR'
  182. + export YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  183. + YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  184. + YARN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn
  185. + set_hadoop_classpath
  186. + set_classpath_in_var HADOOP_CLASSPATH
  187. + '[' -z HADOOP_CLASSPATH ']'
  188. + '[' /usr/share/cmf ']'
  189. + local INCLUDE_CDH_DIR=
  190. + '[' 5 ']'
  191. + INCLUDE_CDH_DIR=/usr/share/cmf/lib/plugins/cdh5
  192. ++ find /usr/share/cmf/lib/plugins /usr/share/cmf/lib/plugins/cdh5 -maxdepth 1 -name '*.jar'
  193. ++ tr '\n' :
  194. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar:
  195. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  196. + eval 'OLD_VALUE=$HADOOP_CLASSPATH'
  197. ++ OLD_VALUE=
  198. + '[' -z ']'
  199. + export HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  200. + HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  201. + set -x
  202. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  203. + '[' -e /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py ']'
  204. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  205. + chmod +x /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  206. + export 'YARN_OPTS=-Djava.net.preferIPv4Stack=true '
  207. + YARN_OPTS='-Djava.net.preferIPv4Stack=true '
  208. + acquire_kerberos_tgt yarn.keytab
  209. + '[' -z yarn.keytab ']'
  210. + '[' -n '' ']'
  211. + '[' nodemanager = RefreshQueuesAndNodes ']'
  212. + '[' nodemanager = historyserver ']'
  213. + '[' nodemanager = nodemanager ']'
  214. + chmod go+r /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/cloudera-monitor.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/event-filter-rules.json /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-metrics2.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/http-auth-signature-secret /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/log4j.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/logs /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn.keytab /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  215. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg': Operation not permitted
  216. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map': Operation not permitted
  217. + exec /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn nodemanager
  218. Fri Apr 18 12:30:11 CEST 2014
  219. + source_parcel_environment
  220. + '[' '!' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh:/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh ']'
  221. + OLD_IFS='
  222. '
  223. + IFS=:
  224. + SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
  225. + DIRNAME_ARRAY=($PARCEL_DIRNAMES)
  226. + IFS='
  227. '
  228. + COUNT=2
  229. ++ seq 1 2
  230. + for i in '`seq 1 $COUNT`'
  231. + SCRIPT=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  232. + PARCEL_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  233. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  234. ++ CDH_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  235. ++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  236. ++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  237. ++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  238. ++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  239. ++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  240. ++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  241. ++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  242. ++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  243. ++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  244. ++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  245. ++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  246. ++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  247. ++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  248. ++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  249. ++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  250. ++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  251. ++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  252. ++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  253. ++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  254. ++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  255. ++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  256. ++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  257. ++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  258. ++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  259. ++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  260. ++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  261. ++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  262. ++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  263. ++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  264. ++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  265. ++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  266. ++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  267. ++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  268. ++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  269. ++ export CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  270. ++ CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  271. ++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  272. ++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  273. ++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  274. ++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  275. ++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  276. ++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  277. ++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  278. ++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  279. ++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  280. ++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  281. ++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  282. ++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  283. ++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  284. ++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  285. ++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  286. ++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  287. ++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  288. ++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  289. + for i in '`seq 1 $COUNT`'
  290. + SCRIPT=/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  291. + PARCEL_DIRNAME=dmexpress-7.13.1
  292. + . /opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  293. + locate_cdh_java_home
  294. + '[' -z '' ']'
  295. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils ']'
  296. + local BIGTOP_DETECT_JAVAHOME=
  297. + for candidate in '"${JSVC_HOME}"' '"${JSVC_HOME}/.."' '"/usr/lib/bigtop-utils"' '"/usr/libexec"'
  298. + '[' -e /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  299. + BIGTOP_DETECT_JAVAHOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  300. + break
  301. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  302. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  303. ++ BIGTOP_DEFAULTS_DIR=/etc/default
  304. ++ '[' -n /etc/default -a -r /etc/default/bigtop-utils ']'
  305. ++ JAVA6_HOME_CANDIDATES='\
  306. /usr/lib/j2sdk1.6-sun \
  307. /usr/lib/jvm/java-6-sun \
  308. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  309. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  310. /usr/lib/jvm/j2sdk1.6-oracle \
  311. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  312. /usr/java/jdk1.6* \
  313. /usr/java/jre1.6*'
  314. ++ OPENJAVA6_HOME_CANDIDATES='\
  315. /usr/lib/jvm/java-1.6.0-openjdk \
  316. /usr/lib/jvm/java-1.6.0-openjdk-* \
  317. /usr/lib/jvm/jre-1.6.0-openjdk*'
  318. ++ JAVA7_HOME_CANDIDATES='\
  319. /usr/java/jdk1.7* \
  320. /usr/java/jre1.7* \
  321. /usr/lib/jvm/j2sdk1.7-oracle \
  322. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  323. /usr/lib/jvm/java-7-oracle*'
  324. ++ OPENJAVA7_HOME_CANDIDATES='\
  325. /usr/lib/jvm/java-1.7.0-openjdk* \
  326. /usr/lib/jvm/java-7-openjdk*'
  327. ++ MISCJAVA_HOME_CANDIDATES='\
  328. /Library/Java/Home \
  329. /usr/java/default \
  330. /usr/lib/jvm/default-java \
  331. /usr/lib/jvm/java-openjdk \
  332. /usr/lib/jvm/jre-openjdk'
  333. ++ case $BIGTOP_JAVA_MAJOR in
  334. ++ JAVA_HOME_CANDIDATES='\
  335. /usr/java/jdk1.7* \
  336. /usr/java/jre1.7* \
  337. /usr/lib/jvm/j2sdk1.7-oracle \
  338. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  339. /usr/lib/jvm/java-7-oracle* \
  340. /usr/lib/j2sdk1.6-sun \
  341. /usr/lib/jvm/java-6-sun \
  342. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  343. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  344. /usr/lib/jvm/j2sdk1.6-oracle \
  345. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  346. /usr/java/jdk1.6* \
  347. /usr/java/jre1.6* \
  348. /Library/Java/Home \
  349. /usr/java/default \
  350. /usr/lib/jvm/default-java \
  351. /usr/lib/jvm/java-openjdk \
  352. /usr/lib/jvm/jre-openjdk \
  353. /usr/lib/jvm/java-1.7.0-openjdk* \
  354. /usr/lib/jvm/java-7-openjdk* \
  355. /usr/lib/jvm/java-1.6.0-openjdk \
  356. /usr/lib/jvm/java-1.6.0-openjdk-* \
  357. /usr/lib/jvm/jre-1.6.0-openjdk*'
  358. ++ '[' -z '' ']'
  359. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  360. +++ ls -rd '\'
  361. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  362. +++ ls -rd /usr/java/jdk1.7.0_45-cloudera
  363. ++ for candidate in '`ls -rd $candidate_regex 2>/dev/null`'
  364. ++ '[' -e /usr/java/jdk1.7.0_45-cloudera/bin/java ']'
  365. ++ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  366. ++ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  367. ++ break 2
  368. + verify_java_home
  369. + '[' -z /usr/java/jdk1.7.0_45-cloudera ']'
  370. + echo JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  371. + . /usr/lib64/cmf/service/common/cdh-default-hadoop
  372. ++ [[ -z 5 ]]
  373. ++ '[' 5 = 3 ']'
  374. ++ '[' 5 = -3 ']'
  375. ++ '[' 5 -ge 4 ']'
  376. ++ export HADOOP_HOME_WARN_SUPPRESS=true
  377. ++ HADOOP_HOME_WARN_SUPPRESS=true
  378. ++ export HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  379. ++ HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  380. ++ export HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  381. ++ HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  382. ++ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  383. ++ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  384. ++ export HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  385. ++ HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  386. ++ export HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  387. ++ HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  388. ++ export HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  389. ++ HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  390. ++ '[' 5 = 4 ']'
  391. ++ '[' 5 = 5 ']'
  392. ++ export HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  393. ++ HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  394. + echo 'using /usr/java/jdk1.7.0_45-cloudera as JAVA_HOME'
  395. + echo 'using 5 as CDH_VERSION'
  396. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn as CDH_YARN_HOME'
  397. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce as CDH_MR2_HOME'
  398. + echo 'using /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER as CONF_DIR'
  399. + export YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  400. + YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  401. + YARN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn
  402. + set_hadoop_classpath
  403. + set_classpath_in_var HADOOP_CLASSPATH
  404. + '[' -z HADOOP_CLASSPATH ']'
  405. + '[' /usr/share/cmf ']'
  406. + local INCLUDE_CDH_DIR=
  407. + '[' 5 ']'
  408. + INCLUDE_CDH_DIR=/usr/share/cmf/lib/plugins/cdh5
  409. ++ tr '\n' :
  410. ++ find /usr/share/cmf/lib/plugins /usr/share/cmf/lib/plugins/cdh5 -maxdepth 1 -name '*.jar'
  411. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar:
  412. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  413. + eval 'OLD_VALUE=$HADOOP_CLASSPATH'
  414. ++ OLD_VALUE=
  415. + '[' -z ']'
  416. + export HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  417. + HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  418. + set -x
  419. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  420. + '[' -e /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py ']'
  421. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  422. + chmod +x /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  423. + export 'YARN_OPTS=-Djava.net.preferIPv4Stack=true '
  424. + YARN_OPTS='-Djava.net.preferIPv4Stack=true '
  425. + acquire_kerberos_tgt yarn.keytab
  426. + '[' -z yarn.keytab ']'
  427. + '[' -n '' ']'
  428. + '[' nodemanager = RefreshQueuesAndNodes ']'
  429. + '[' nodemanager = historyserver ']'
  430. + '[' nodemanager = nodemanager ']'
  431. + chmod go+r /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/cloudera-monitor.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/event-filter-rules.json /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-metrics2.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/http-auth-signature-secret /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/log4j.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/logs /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn.keytab /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  432. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg': Operation not permitted
  433. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map': Operation not permitted
  434. + exec /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn nodemanager
  435. Fri Apr 18 12:30:15 CEST 2014
  436. + source_parcel_environment
  437. + '[' '!' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh:/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh ']'
  438. + OLD_IFS='
  439. '
  440. + IFS=:
  441. + SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
  442. + DIRNAME_ARRAY=($PARCEL_DIRNAMES)
  443. + IFS='
  444. '
  445. + COUNT=2
  446. ++ seq 1 2
  447. + for i in '`seq 1 $COUNT`'
  448. + SCRIPT=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  449. + PARCEL_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  450. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  451. ++ CDH_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  452. ++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  453. ++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  454. ++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  455. ++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  456. ++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  457. ++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  458. ++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  459. ++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  460. ++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  461. ++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  462. ++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  463. ++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  464. ++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  465. ++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  466. ++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  467. ++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  468. ++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  469. ++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  470. ++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  471. ++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  472. ++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  473. ++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  474. ++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  475. ++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  476. ++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  477. ++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  478. ++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  479. ++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  480. ++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  481. ++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  482. ++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  483. ++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  484. ++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  485. ++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  486. ++ export CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  487. ++ CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  488. ++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  489. ++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  490. ++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  491. ++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  492. ++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  493. ++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  494. ++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  495. ++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  496. ++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  497. ++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  498. ++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  499. ++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  500. ++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  501. ++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  502. ++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  503. ++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  504. ++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  505. ++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  506. + for i in '`seq 1 $COUNT`'
  507. + SCRIPT=/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  508. + PARCEL_DIRNAME=dmexpress-7.13.1
  509. + . /opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  510. + locate_cdh_java_home
  511. + '[' -z '' ']'
  512. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils ']'
  513. + local BIGTOP_DETECT_JAVAHOME=
  514. + for candidate in '"${JSVC_HOME}"' '"${JSVC_HOME}/.."' '"/usr/lib/bigtop-utils"' '"/usr/libexec"'
  515. + '[' -e /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  516. + BIGTOP_DETECT_JAVAHOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  517. + break
  518. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  519. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  520. ++ BIGTOP_DEFAULTS_DIR=/etc/default
  521. ++ '[' -n /etc/default -a -r /etc/default/bigtop-utils ']'
  522. ++ JAVA6_HOME_CANDIDATES='\
  523. /usr/lib/j2sdk1.6-sun \
  524. /usr/lib/jvm/java-6-sun \
  525. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  526. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  527. /usr/lib/jvm/j2sdk1.6-oracle \
  528. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  529. /usr/java/jdk1.6* \
  530. /usr/java/jre1.6*'
  531. ++ OPENJAVA6_HOME_CANDIDATES='\
  532. /usr/lib/jvm/java-1.6.0-openjdk \
  533. /usr/lib/jvm/java-1.6.0-openjdk-* \
  534. /usr/lib/jvm/jre-1.6.0-openjdk*'
  535. ++ JAVA7_HOME_CANDIDATES='\
  536. /usr/java/jdk1.7* \
  537. /usr/java/jre1.7* \
  538. /usr/lib/jvm/j2sdk1.7-oracle \
  539. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  540. /usr/lib/jvm/java-7-oracle*'
  541. ++ OPENJAVA7_HOME_CANDIDATES='\
  542. /usr/lib/jvm/java-1.7.0-openjdk* \
  543. /usr/lib/jvm/java-7-openjdk*'
  544. ++ MISCJAVA_HOME_CANDIDATES='\
  545. /Library/Java/Home \
  546. /usr/java/default \
  547. /usr/lib/jvm/default-java \
  548. /usr/lib/jvm/java-openjdk \
  549. /usr/lib/jvm/jre-openjdk'
  550. ++ case $BIGTOP_JAVA_MAJOR in
  551. ++ JAVA_HOME_CANDIDATES='\
  552. /usr/java/jdk1.7* \
  553. /usr/java/jre1.7* \
  554. /usr/lib/jvm/j2sdk1.7-oracle \
  555. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  556. /usr/lib/jvm/java-7-oracle* \
  557. /usr/lib/j2sdk1.6-sun \
  558. /usr/lib/jvm/java-6-sun \
  559. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  560. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  561. /usr/lib/jvm/j2sdk1.6-oracle \
  562. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  563. /usr/java/jdk1.6* \
  564. /usr/java/jre1.6* \
  565. /Library/Java/Home \
  566. /usr/java/default \
  567. /usr/lib/jvm/default-java \
  568. /usr/lib/jvm/java-openjdk \
  569. /usr/lib/jvm/jre-openjdk \
  570. /usr/lib/jvm/java-1.7.0-openjdk* \
  571. /usr/lib/jvm/java-7-openjdk* \
  572. /usr/lib/jvm/java-1.6.0-openjdk \
  573. /usr/lib/jvm/java-1.6.0-openjdk-* \
  574. /usr/lib/jvm/jre-1.6.0-openjdk*'
  575. ++ '[' -z '' ']'
  576. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  577. +++ ls -rd '\'
  578. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  579. +++ ls -rd /usr/java/jdk1.7.0_45-cloudera
  580. ++ for candidate in '`ls -rd $candidate_regex 2>/dev/null`'
  581. ++ '[' -e /usr/java/jdk1.7.0_45-cloudera/bin/java ']'
  582. ++ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  583. ++ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  584. ++ break 2
  585. + verify_java_home
  586. + '[' -z /usr/java/jdk1.7.0_45-cloudera ']'
  587. + echo JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  588. + . /usr/lib64/cmf/service/common/cdh-default-hadoop
  589. ++ [[ -z 5 ]]
  590. ++ '[' 5 = 3 ']'
  591. ++ '[' 5 = -3 ']'
  592. ++ '[' 5 -ge 4 ']'
  593. ++ export HADOOP_HOME_WARN_SUPPRESS=true
  594. ++ HADOOP_HOME_WARN_SUPPRESS=true
  595. ++ export HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  596. ++ HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  597. ++ export HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  598. ++ HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  599. ++ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  600. ++ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  601. ++ export HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  602. ++ HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  603. ++ export HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  604. ++ HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  605. ++ export HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  606. ++ HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  607. ++ '[' 5 = 4 ']'
  608. ++ '[' 5 = 5 ']'
  609. ++ export HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  610. ++ HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  611. + echo 'using /usr/java/jdk1.7.0_45-cloudera as JAVA_HOME'
  612. + echo 'using 5 as CDH_VERSION'
  613. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn as CDH_YARN_HOME'
  614. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce as CDH_MR2_HOME'
  615. + echo 'using /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER as CONF_DIR'
  616. + export YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  617. + YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  618. + YARN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn
  619. + set_hadoop_classpath
  620. + set_classpath_in_var HADOOP_CLASSPATH
  621. + '[' -z HADOOP_CLASSPATH ']'
  622. + '[' /usr/share/cmf ']'
  623. + local INCLUDE_CDH_DIR=
  624. + '[' 5 ']'
  625. + INCLUDE_CDH_DIR=/usr/share/cmf/lib/plugins/cdh5
  626. ++ find /usr/share/cmf/lib/plugins /usr/share/cmf/lib/plugins/cdh5 -maxdepth 1 -name '*.jar'
  627. ++ tr '\n' :
  628. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar:
  629. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  630. + eval 'OLD_VALUE=$HADOOP_CLASSPATH'
  631. ++ OLD_VALUE=
  632. + '[' -z ']'
  633. + export HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  634. + HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  635. + set -x
  636. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  637. + '[' -e /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py ']'
  638. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  639. + chmod +x /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  640. + export 'YARN_OPTS=-Djava.net.preferIPv4Stack=true '
  641. + YARN_OPTS='-Djava.net.preferIPv4Stack=true '
  642. + acquire_kerberos_tgt yarn.keytab
  643. + '[' -z yarn.keytab ']'
  644. + '[' -n '' ']'
  645. + '[' nodemanager = RefreshQueuesAndNodes ']'
  646. + '[' nodemanager = historyserver ']'
  647. + '[' nodemanager = nodemanager ']'
  648. + chmod go+r /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/cloudera-monitor.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/event-filter-rules.json /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-metrics2.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/http-auth-signature-secret /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/log4j.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/logs /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn.keytab /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  649. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg': Operation not permitted
  650. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map': Operation not permitted
  651. + exec /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn nodemanager
  652. Fri Apr 18 12:30:22 CEST 2014
  653. + source_parcel_environment
  654. + '[' '!' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh:/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh ']'
  655. + OLD_IFS='
  656. '
  657. + IFS=:
  658. + SCRIPT_ARRAY=($SCM_DEFINES_SCRIPTS)
  659. + DIRNAME_ARRAY=($PARCEL_DIRNAMES)
  660. + IFS='
  661. '
  662. + COUNT=2
  663. ++ seq 1 2
  664. + for i in '`seq 1 $COUNT`'
  665. + SCRIPT=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  666. + PARCEL_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  667. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/meta/cdh_env.sh
  668. ++ CDH_DIRNAME=CDH-5.0.0-1.cdh5.0.0.p0.47
  669. ++ export CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  670. ++ CDH_HADOOP_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  671. ++ export CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  672. ++ CDH_MR1_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-0.20-mapreduce
  673. ++ export CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  674. ++ CDH_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  675. ++ export CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  676. ++ CDH_HTTPFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-httpfs
  677. ++ export CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  678. ++ CDH_MR2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  679. ++ export CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  680. ++ CDH_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  681. ++ export CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  682. ++ CDH_HBASE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase
  683. ++ export CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  684. ++ CDH_ZOOKEEPER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper
  685. ++ export CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  686. ++ CDH_HIVE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive
  687. ++ export CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  688. ++ CDH_HUE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue
  689. ++ export CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  690. ++ CDH_OOZIE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/oozie
  691. ++ export CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  692. ++ CDH_HUE_PLUGINS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  693. ++ export CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  694. ++ CDH_FLUME_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/flume-ng
  695. ++ export CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  696. ++ CDH_PIG_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/pig
  697. ++ export CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  698. ++ CDH_HCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hive-hcatalog
  699. ++ export CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  700. ++ CDH_SQOOP2_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/sqoop2
  701. ++ export CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  702. ++ CDH_LLAMA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama
  703. ++ export CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  704. ++ CDH_LLAMA_NODE_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/llama/nodemanagerlib
  705. ++ export TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  706. ++ TOMCAT_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-tomcat
  707. ++ export JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  708. ++ JSVC_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils
  709. ++ export CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  710. ++ CDH_HADOOP_BIN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/bin/hadoop
  711. ++ export CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  712. ++ CDH_IMPALA_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/impala
  713. ++ export CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  714. ++ CDH_SOLR_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/solr
  715. ++ export CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  716. ++ CDH_HBASE_INDEXER_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hbase-solr
  717. ++ export SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  718. ++ SEARCH_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/search
  719. ++ export CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  720. ++ CDH_SPARK_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/spark
  721. ++ export WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  722. ++ WEBHCAT_DEFAULT_XML=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/etc/hive-webhcat/conf.dist/webhcat-default.xml
  723. + for i in '`seq 1 $COUNT`'
  724. + SCRIPT=/opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  725. + PARCEL_DIRNAME=dmexpress-7.13.1
  726. + . /opt/cloudera/parcels/dmexpress-7.13.1/meta/dmexpress_env.sh
  727. + locate_cdh_java_home
  728. + '[' -z '' ']'
  729. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils ']'
  730. + local BIGTOP_DETECT_JAVAHOME=
  731. + for candidate in '"${JSVC_HOME}"' '"${JSVC_HOME}/.."' '"/usr/lib/bigtop-utils"' '"/usr/libexec"'
  732. + '[' -e /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  733. + BIGTOP_DETECT_JAVAHOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  734. + break
  735. + '[' -z /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome ']'
  736. + . /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/bigtop-utils/bigtop-detect-javahome
  737. ++ BIGTOP_DEFAULTS_DIR=/etc/default
  738. ++ '[' -n /etc/default -a -r /etc/default/bigtop-utils ']'
  739. ++ JAVA6_HOME_CANDIDATES='\
  740. /usr/lib/j2sdk1.6-sun \
  741. /usr/lib/jvm/java-6-sun \
  742. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  743. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  744. /usr/lib/jvm/j2sdk1.6-oracle \
  745. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  746. /usr/java/jdk1.6* \
  747. /usr/java/jre1.6*'
  748. ++ OPENJAVA6_HOME_CANDIDATES='\
  749. /usr/lib/jvm/java-1.6.0-openjdk \
  750. /usr/lib/jvm/java-1.6.0-openjdk-* \
  751. /usr/lib/jvm/jre-1.6.0-openjdk*'
  752. ++ JAVA7_HOME_CANDIDATES='\
  753. /usr/java/jdk1.7* \
  754. /usr/java/jre1.7* \
  755. /usr/lib/jvm/j2sdk1.7-oracle \
  756. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  757. /usr/lib/jvm/java-7-oracle*'
  758. ++ OPENJAVA7_HOME_CANDIDATES='\
  759. /usr/lib/jvm/java-1.7.0-openjdk* \
  760. /usr/lib/jvm/java-7-openjdk*'
  761. ++ MISCJAVA_HOME_CANDIDATES='\
  762. /Library/Java/Home \
  763. /usr/java/default \
  764. /usr/lib/jvm/default-java \
  765. /usr/lib/jvm/java-openjdk \
  766. /usr/lib/jvm/jre-openjdk'
  767. ++ case $BIGTOP_JAVA_MAJOR in
  768. ++ JAVA_HOME_CANDIDATES='\
  769. /usr/java/jdk1.7* \
  770. /usr/java/jre1.7* \
  771. /usr/lib/jvm/j2sdk1.7-oracle \
  772. /usr/lib/jvm/j2sdk1.7-oracle/jre \
  773. /usr/lib/jvm/java-7-oracle* \
  774. /usr/lib/j2sdk1.6-sun \
  775. /usr/lib/jvm/java-6-sun \
  776. /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
  777. /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
  778. /usr/lib/jvm/j2sdk1.6-oracle \
  779. /usr/lib/jvm/j2sdk1.6-oracle/jre \
  780. /usr/java/jdk1.6* \
  781. /usr/java/jre1.6* \
  782. /Library/Java/Home \
  783. /usr/java/default \
  784. /usr/lib/jvm/default-java \
  785. /usr/lib/jvm/java-openjdk \
  786. /usr/lib/jvm/jre-openjdk \
  787. /usr/lib/jvm/java-1.7.0-openjdk* \
  788. /usr/lib/jvm/java-7-openjdk* \
  789. /usr/lib/jvm/java-1.6.0-openjdk \
  790. /usr/lib/jvm/java-1.6.0-openjdk-* \
  791. /usr/lib/jvm/jre-1.6.0-openjdk*'
  792. ++ '[' -z '' ']'
  793. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  794. +++ ls -rd '\'
  795. ++ for candidate_regex in '$JAVA_HOME_CANDIDATES'
  796. +++ ls -rd /usr/java/jdk1.7.0_45-cloudera
  797. ++ for candidate in '`ls -rd $candidate_regex 2>/dev/null`'
  798. ++ '[' -e /usr/java/jdk1.7.0_45-cloudera/bin/java ']'
  799. ++ export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  800. ++ JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  801. ++ break 2
  802. + verify_java_home
  803. + '[' -z /usr/java/jdk1.7.0_45-cloudera ']'
  804. + echo JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
  805. + . /usr/lib64/cmf/service/common/cdh-default-hadoop
  806. ++ [[ -z 5 ]]
  807. ++ '[' 5 = 3 ']'
  808. ++ '[' 5 = -3 ']'
  809. ++ '[' 5 -ge 4 ']'
  810. ++ export HADOOP_HOME_WARN_SUPPRESS=true
  811. ++ HADOOP_HOME_WARN_SUPPRESS=true
  812. ++ export HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  813. ++ HADOOP_PREFIX=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  814. ++ export HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  815. ++ HADOOP_LIBEXEC_DIR=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop/libexec
  816. ++ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  817. ++ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  818. ++ export HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  819. ++ HADOOP_COMMON_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop
  820. ++ export HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  821. ++ HADOOP_HDFS_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-hdfs
  822. ++ export HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  823. ++ HADOOP_MAPRED_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce
  824. ++ '[' 5 = 4 ']'
  825. ++ '[' 5 = 5 ']'
  826. ++ export HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  827. ++ HADOOP_YARN_HOME=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn
  828. + echo 'using /usr/java/jdk1.7.0_45-cloudera as JAVA_HOME'
  829. + echo 'using 5 as CDH_VERSION'
  830. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn as CDH_YARN_HOME'
  831. + echo 'using /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-mapreduce as CDH_MR2_HOME'
  832. + echo 'using /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER as CONF_DIR'
  833. + export YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  834. + YARN_CONF_DIR=/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER
  835. + YARN=/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn
  836. + set_hadoop_classpath
  837. + set_classpath_in_var HADOOP_CLASSPATH
  838. + '[' -z HADOOP_CLASSPATH ']'
  839. + '[' /usr/share/cmf ']'
  840. + local INCLUDE_CDH_DIR=
  841. + '[' 5 ']'
  842. + INCLUDE_CDH_DIR=/usr/share/cmf/lib/plugins/cdh5
  843. ++ find /usr/share/cmf/lib/plugins /usr/share/cmf/lib/plugins/cdh5 -maxdepth 1 -name '*.jar'
  844. ++ tr '\n' :
  845. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar:
  846. + ADD_TO_CP=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  847. + eval 'OLD_VALUE=$HADOOP_CLASSPATH'
  848. ++ OLD_VALUE=
  849. + '[' -z ']'
  850. + export HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  851. + HADOOP_CLASSPATH=/usr/share/cmf/lib/plugins/tt-instrumentation-5.0.0.jar:/usr/share/cmf/lib/plugins/event-publish-5.0.0-shaded.jar:/usr/share/cmf/lib/plugins/cdh5/navigator-cdh5-plugin-5.0.0-shaded.jar
  852. + set -x
  853. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  854. + '[' -e /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py ']'
  855. + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER#g' /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  856. + chmod +x /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py
  857. + export 'YARN_OPTS=-Djava.net.preferIPv4Stack=true '
  858. + YARN_OPTS='-Djava.net.preferIPv4Stack=true '
  859. + acquire_kerberos_tgt yarn.keytab
  860. + '[' -z yarn.keytab ']'
  861. + '[' -n '' ']'
  862. + '[' nodemanager = RefreshQueuesAndNodes ']'
  863. + '[' nodemanager = historyserver ']'
  864. + '[' nodemanager = nodemanager ']'
  865. + chmod go+r /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/cloudera-monitor.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/core-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/event-filter-rules.json /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-metrics2.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hadoop-policy.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/hdfs-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/http-auth-signature-secret /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/log4j.properties /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/logs /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/mapred-site.xml /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.py /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn.keytab /var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/yarn-site.xml
  866. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/container-executor.cfg': Operation not permitted
  867. chmod: changing permissions of `/var/run/cloudera-scm-agent/process/609-yarn-NODEMANAGER/topology.map': Operation not permitted
  868. + exec /opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hadoop-yarn/bin/yarn nodemanager
RAW Paste Data