Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.88 KB | None | 0 0
  1. stderr:
  2. Traceback (most recent call last):
  3. File "/var/lib/ambari-agent/cache/stacks/YAVA/2.2/services/OOZIE/package/scripts/oozie_server.py", line 179, in <module>
  4. OozieServer().execute()
  5. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
  6. method(env)
  7. File "/var/lib/ambari-agent/cache/stacks/YAVA/2.2/services/OOZIE/package/scripts/oozie_server.py", line 69, in start
  8. oozie_service(action='start', rolling_restart=rolling_restart)
  9. File "/var/lib/ambari-agent/cache/stacks/YAVA/2.2/services/OOZIE/package/scripts/oozie_service.py", line 75, in oozie_service
  10. path = params.execute_path )
  11. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
  12. self.env.run()
  13. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
  14. self.run_action(resource, action)
  15. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
  16. provider_action()
  17. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run
  18. tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  19. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  20. result = function(command, **kwargs)
  21. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  22. tries=tries, try_sleep=try_sleep)
  23. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  24. result = _call(command, **kwargs_copy)
  25. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
  26. raise Fail(err_msg)
  27. resource_management.core.exceptions.Fail: Execution of ' /usr/yava/current/oozie-server/bin/oozie-setup.sh sharelib create -fs hdfs://sandbox.labs247.id:8020 -locallib /usr/yava/current/oozie-server/share ; hadoop --config /etc/hadoop/conf dfs -chmod -R 755 /user/oozie/share' returned 1. setting OOZIE_CONFIG=${OOZIE_CONFIG:-/usr/yava/current/oozie-server/conf}
  28. setting CATALINA_BASE=${CATALINA_BASE:-/usr/yava/current/oozie-server/oozie-server}
  29. setting CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}
  30. setting OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
  31. setting JAVA_HOME=/usr/jdk64/jdk1.8.0_60
  32. setting JRE_HOME=${JAVA_HOME}
  33. setting CATALINA_OPTS="$CATALINA_OPTS -Xms1024m -Xmx2048m -XX:MaxMetaspaceSize=256m"
  34. setting OOZIE_LOG=/var/log/oozie
  35. setting CATALINA_PID=/var/run/oozie/oozie.pid
  36. setting OOZIE_DATA=/hadoop/oozie/data
  37. setting OOZIE_HTTP_PORT=11000
  38. setting OOZIE_ADMIN_PORT=11001
  39. setting JAVA_LIBRARY_PATH=/usr/yava/current/hadoop-client/lib/native
  40. setting OOZIE_CLIENT_OPTS="${OOZIE_CLIENT_OPTS} -Doozie.connection.retry.count=5 "
  41. SLF4J: Class path contains multiple SLF4J bindings.
  42. SLF4J: Found binding in [jar:file:/usr/yava/2.2.0.5/oozie/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  43. SLF4J: Found binding in [jar:file:/usr/yava/2.2.0.5/oozie/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  44. SLF4J: Found binding in [jar:file:/usr/yava/2.2.0.5/oozie/libtools/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  45. SLF4J: Found binding in [jar:file:/usr/yava/2.2.0.5/oozie/libtools/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  46. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  47. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
  48. the destination path for sharelib is: /user/oozie/share/lib/lib_20180523164616
  49.  
  50. Error: User: oozie is not allowed to impersonate oozie
  51.  
  52. Stack trace for the error was (for debug purposes):
  53. --------------------------------------
  54. org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: oozie is not allowed to impersonate oozie
  55. at org.apache.hadoop.ipc.Client.call(Client.java:1427)
  56. at org.apache.hadoop.ipc.Client.call(Client.java:1358)
  57. at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
  58. at com.sun.proxy.$Proxy9.getFileInfo(Unknown Source)
  59. at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:771)
  60. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  61. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  62. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  63. at java.lang.reflect.Method.invoke(Method.java:497)
  64. at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
  65. at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
  66. at com.sun.proxy.$Proxy10.getFileInfo(Unknown Source)
  67. at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2116)
  68. at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305)
  69. at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301)
  70. at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
  71. at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1301)
  72. at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424)
  73. at org.apache.hadoop.fs.FileUtil.checkDest(FileUtil.java:496)
  74. at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:348)
  75. at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
  76. at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965)
  77. at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933)
  78. at org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:166)
  79. at org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:57)
  80. --------------------------------------
  81.  
  82. DEPRECATED: Use of this script to execute hdfs command is deprecated.
  83. Instead use the hdfs command for it.
  84.  
  85. chmod: `/user/oozie/share': No such file or directory
  86. stdout:
  87. 2018-05-23 16:45:45,521 - Using hadoop conf dir: /etc/hadoop/conf
  88. 2018-05-23 16:45:45,676 - Using hadoop conf dir: /etc/hadoop/conf
  89. 2018-05-23 16:45:45,677 - Group['yava'] {}
  90. 2018-05-23 16:45:45,679 - Group['hadoop'] {}
  91. 2018-05-23 16:45:45,679 - Group['users'] {}
  92. 2018-05-23 16:45:45,681 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  93. 2018-05-23 16:45:45,692 - User['hive'] {'gid': 'hadoop', 'uid': '1001', 'groups': [u'hadoop']}
  94. 2018-05-23 16:45:45,693 - Modifying user hive
  95. 2018-05-23 16:45:45,704 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  96. 2018-05-23 16:45:45,712 - User['zookeeper'] {'gid': 'hadoop', 'uid': '1002', 'groups': [u'hadoop']}
  97. 2018-05-23 16:45:45,713 - Modifying user zookeeper
  98. 2018-05-23 16:45:45,721 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  99. 2018-05-23 16:45:45,734 - User['ams'] {'gid': 'hadoop', 'uid': '1003', 'groups': [u'hadoop']}
  100. 2018-05-23 16:45:45,734 - Modifying user ams
  101. 2018-05-23 16:45:45,749 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  102. 2018-05-23 16:45:45,762 - User['oozie'] {'gid': 'hadoop', 'uid': '1011', 'groups': [u'users']}
  103. 2018-05-23 16:45:45,763 - Modifying user oozie
  104. 2018-05-23 16:45:45,777 - User['ambari-qa'] {'gid': 'hadoop', 'uid': 0, 'groups': [u'users']}
  105. 2018-05-23 16:45:45,777 - Modifying user ambari-qa
  106. 2018-05-23 16:45:45,788 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  107. 2018-05-23 16:45:45,800 - User['hdfs'] {'gid': 'hadoop', 'uid': '1005', 'groups': [u'hadoop']}
  108. 2018-05-23 16:45:45,801 - Modifying user hdfs
  109. 2018-05-23 16:45:45,814 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  110. 2018-05-23 16:45:45,827 - User['yava'] {'gid': 'hadoop', 'uid': '1000', 'groups': [u'hadoop']}
  111. 2018-05-23 16:45:45,828 - Modifying user yava
  112. 2018-05-23 16:45:45,838 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  113. 2018-05-23 16:45:45,848 - User['sqoop'] {'gid': 'hadoop', 'uid': '1006', 'groups': [u'hadoop']}
  114. 2018-05-23 16:45:45,849 - Modifying user sqoop
  115. 2018-05-23 16:45:45,862 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  116. 2018-05-23 16:45:45,876 - User['yarn'] {'gid': 'hadoop', 'uid': '1007', 'groups': [u'hadoop']}
  117. 2018-05-23 16:45:45,876 - Modifying user yarn
  118. 2018-05-23 16:45:45,888 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  119. 2018-05-23 16:45:45,902 - User['hcat'] {'gid': 'hadoop', 'uid': '1008', 'groups': [u'hadoop']}
  120. 2018-05-23 16:45:45,903 - Modifying user hcat
  121. 2018-05-23 16:45:45,917 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  122. 2018-05-23 16:45:45,932 - User['mapred'] {'gid': 'hadoop', 'uid': '1009', 'groups': [u'hadoop']}
  123. 2018-05-23 16:45:45,933 - Modifying user mapred
  124. 2018-05-23 16:45:45,948 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  125. 2018-05-23 16:45:45,963 - User['hbase'] {'gid': 'hadoop', 'uid': '1010', 'groups': [u'hadoop']}
  126. 2018-05-23 16:45:45,963 - Modifying user hbase
  127. 2018-05-23 16:45:45,977 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  128. 2018-05-23 16:45:45,980 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
  129. 2018-05-23 16:45:45,988 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 0'] due to not_if
  130. 2018-05-23 16:45:45,988 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'recursive': True, 'mode': 0775, 'cd_access': 'a'}
  131. 2018-05-23 16:45:45,990 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  132. 2018-05-23 16:45:45,993 - File['/var/lib/ambari-agent/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
  133. 2018-05-23 16:45:46,007 - Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1010'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
  134. 2018-05-23 16:45:46,015 - Skipping Execute['/var/lib/ambari-agent/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase 1010'] due to not_if
  135. 2018-05-23 16:45:46,016 - Group['hdfs'] {'ignore_failures': False}
  136. 2018-05-23 16:45:46,016 - User['hdfs'] {'ignore_failures': False, 'groups': [u'hadoop', 'hadoop', 'hdfs', u'hdfs']}
  137. 2018-05-23 16:45:46,017 - Directory['/etc/hadoop'] {'mode': 0755}
  138. 2018-05-23 16:45:46,036 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
  139. 2018-05-23 16:45:46,037 - Directory['/var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir'] {'owner': 'hdfs', 'group': 'hadoop', 'mode': 0777}
  140. 2018-05-23 16:45:46,053 - Execute[('setenforce', '0')] {'not_if': '(! which getenforce ) || (which getenforce && getenforce | grep -q Disabled)', 'sudo': True, 'only_if': 'test -f /selinux/enforce'}
  141. 2018-05-23 16:45:46,087 - Skipping Execute[('setenforce', '0')] due to not_if
  142. 2018-05-23 16:45:46,088 - Directory['/var/log/hadoop'] {'owner': 'root', 'mode': 0775, 'group': 'hadoop', 'recursive': True, 'cd_access': 'a'}
  143. 2018-05-23 16:45:46,090 - Directory['/var/run/hadoop'] {'owner': 'root', 'group': 'root', 'recursive': True, 'cd_access': 'a'}
  144. 2018-05-23 16:45:46,091 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'recursive': True, 'cd_access': 'a'}
  145. 2018-05-23 16:45:46,095 - File['/etc/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
  146. 2018-05-23 16:45:46,097 - File['/etc/hadoop/conf/health_check'] {'content': Template('health_check.j2'), 'owner': 'hdfs'}
  147. 2018-05-23 16:45:46,098 - File['/etc/hadoop/conf/log4j.properties'] {'content': ..., 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
  148. 2018-05-23 16:45:46,110 - File['/etc/hadoop/conf/hadoop-metrics2.properties'] {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs'}
  149. 2018-05-23 16:45:46,110 - File['/etc/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755}
  150. 2018-05-23 16:45:46,111 - File['/etc/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'}
  151. 2018-05-23 16:45:46,115 - File['/etc/hadoop/conf/topology_mappings.data'] {'owner': 'hdfs', 'content': Template('topology_mappings.data.j2'), 'only_if': 'test -d /etc/hadoop/conf', 'group': 'hadoop'}
  152. 2018-05-23 16:45:46,120 - File['/etc/hadoop/conf/topology_script.py'] {'content': StaticFile('topology_script.py'), 'only_if': 'test -d /etc/hadoop/conf', 'mode': 0755}
  153. 2018-05-23 16:45:46,303 - Using hadoop conf dir: /etc/hadoop/conf
  154. 2018-05-23 16:45:46,308 - HdfsResource['/user/oozie'] {'security_enabled': False, 'hadoop_bin_dir': '/usr/yava/current/hadoop-client/bin', 'keytab': [EMPTY], 'default_fs': 'hdfs://sandbox.labs247.id:8020', 'hdfs_site': ..., 'kinit_path_local': 'kinit', 'principal_name': [EMPTY], 'user': 'hdfs', 'owner': 'oozie', 'hadoop_conf_dir': '/etc/hadoop/conf', 'type': 'directory', 'action': ['create_on_execute'], 'mode': 0775}
  155. 2018-05-23 16:45:46,310 - call['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'curl -sS -L -w '"'"'%{http_code}'"'"' -X GET '"'"'http://sandbox.labs247.id:50070/webhdfs/v1/user/oozie?op=GETFILESTATUS&user.name=hdfs'"'"' 1>/tmp/tmpT83XMY 2>/tmp/tmpvUVDWO''] {'logoutput': None, 'quiet': False}
  156. 2018-05-23 16:45:46,411 - call returned (0, '')
  157. 2018-05-23 16:45:46,412 - HdfsResource[None] {'security_enabled': False, 'hadoop_bin_dir': '/usr/yava/current/hadoop-client/bin', 'keytab': [EMPTY], 'default_fs': 'hdfs://sandbox.labs247.id:8020', 'hdfs_site': ..., 'kinit_path_local': 'kinit', 'principal_name': [EMPTY], 'user': 'hdfs', 'action': ['execute'], 'hadoop_conf_dir': '/etc/hadoop/conf'}
  158. 2018-05-23 16:45:46,413 - Directory['/usr/yava/current/oozie-server/conf'] {'owner': 'oozie', 'group': 'hadoop', 'recursive': True}
  159. 2018-05-23 16:45:46,415 - XmlConfig['oozie-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/yava/current/oozie-server/conf', 'mode': 0660, 'configuration_attributes': {}, 'owner': 'oozie', 'configurations': ...}
  160. 2018-05-23 16:45:46,429 - Generating config: /usr/yava/current/oozie-server/conf/oozie-site.xml
  161. 2018-05-23 16:45:46,430 - File['/usr/yava/current/oozie-server/conf/oozie-site.xml'] {'owner': 'oozie', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0660, 'encoding': 'UTF-8'}
  162. 2018-05-23 16:45:46,472 - File['/usr/yava/current/oozie-server/conf/oozie-env.sh'] {'content': InlineTemplate(...), 'owner': 'oozie'}
  163. 2018-05-23 16:45:46,473 - Writing File['/usr/yava/current/oozie-server/conf/oozie-env.sh'] because contents don't match
  164. 2018-05-23 16:45:46,474 - File['/usr/yava/current/oozie-server/conf/oozie-log4j.properties'] {'content': ..., 'owner': 'oozie', 'group': 'hadoop', 'mode': 0644}
  165. 2018-05-23 16:45:46,477 - File['/usr/yava/current/oozie-server/conf/adminusers.txt'] {'content': Template('adminusers.txt.j2'), 'owner': 'oozie', 'group': 'hadoop', 'mode': 0644}
  166. 2018-05-23 16:45:46,478 - File['/usr/lib/ambari-agent/DBConnectionVerification.jar'] {'content': DownloadSource('http://sandbox.labs247.id:8080/resources/DBConnectionVerification.jar')}
  167. 2018-05-23 16:45:46,478 - Not downloading the file from http://sandbox.labs247.id:8080/resources/DBConnectionVerification.jar, because /var/lib/ambari-agent/tmp/DBConnectionVerification.jar already exists
  168. 2018-05-23 16:45:46,478 - File['/usr/yava/current/oozie-server/conf/hadoop-config.xml'] {'owner': 'oozie', 'group': 'hadoop'}
  169. 2018-05-23 16:45:46,479 - File['/usr/yava/current/oozie-server/conf/oozie-default.xml'] {'owner': 'oozie', 'group': 'hadoop'}
  170. 2018-05-23 16:45:46,479 - Directory['/usr/yava/current/oozie-server/conf/action-conf'] {'owner': 'oozie', 'group': 'hadoop'}
  171. 2018-05-23 16:45:46,479 - File['/usr/yava/current/oozie-server/conf/action-conf/hive.xml'] {'owner': 'oozie', 'group': 'hadoop'}
  172. 2018-05-23 16:45:46,480 - File['/var/run/oozie/oozie.pid'] {'action': ['delete'], 'not_if': 'ls {pid_file} >/dev/null 2>&1 && !(ps `cat {pid_file}` >/dev/null 2>&1)'}
  173. 2018-05-23 16:45:46,486 - Directory['/usr/yava/current/oozie-server//var/tmp/oozie'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  174. 2018-05-23 16:45:46,487 - Directory['/var/run/oozie'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  175. 2018-05-23 16:45:46,488 - Directory['/var/log/oozie'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  176. 2018-05-23 16:45:46,489 - Directory['/var/tmp/oozie'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  177. 2018-05-23 16:45:46,489 - Directory['/hadoop/oozie/data'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  178. 2018-05-23 16:45:46,490 - Directory['/usr/yava/current/oozie-server'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  179. 2018-05-23 16:45:46,491 - Directory['/usr/yava/current/oozie-server/oozie-server/webapps'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  180. 2018-05-23 16:45:46,492 - Directory['/usr/yava/current/oozie-server/oozie-server/conf'] {'owner': 'oozie', 'cd_access': 'a', 'group': 'hadoop', 'recursive': True, 'mode': 0755}
  181. 2018-05-23 16:45:46,493 - Directory['/usr/yava/current/oozie-server/oozie-server'] {'owner': 'oozie', 'recursive': True, 'group': 'hadoop', 'mode': 0755, 'cd_access': 'a'}
  182. 2018-05-23 16:45:46,493 - Directory['/usr/yava/current/oozie-server/libext'] {'recursive': True}
  183. 2018-05-23 16:45:46,494 - Execute[('tar', '-xvf', '/usr/yava/current/oozie-server/oozie-sharelib.tar.gz', '-C', '/usr/yava/current/oozie-server')] {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'sudo': True}
  184. 2018-05-23 16:45:49,337 - Execute[('chown', '-RL', 'oozie:hadoop', '/usr/yava/current/oozie-server/oozie-server/conf')] {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'sudo': True}
  185. 2018-05-23 16:45:49,347 - File['/var/lib/ambari-agent/tmp/mysql-connector-java.jar'] {'content': DownloadSource('http://sandbox.labs247.id:8080/resources//mysql-jdbc-driver.jar')}
  186. 2018-05-23 16:45:49,347 - Not downloading the file from http://sandbox.labs247.id:8080/resources//mysql-jdbc-driver.jar, because /var/lib/ambari-agent/tmp/mysql-jdbc-driver.jar already exists
  187. 2018-05-23 16:45:49,348 - Execute[('cp', '--remove-destination', '/var/lib/ambari-agent/tmp/mysql-connector-java.jar', '/usr/yava/current/oozie-server/libext/mysql-connector-java.jar')] {'path': ['/bin', '/usr/bin/'], 'sudo': True}
  188. 2018-05-23 16:45:50,159 - File['/usr/yava/current/oozie-server/libext/mysql-connector-java.jar'] {'owner': 'oozie', 'group': 'hadoop'}
  189. 2018-05-23 16:45:50,160 - Changing owner for /usr/yava/current/oozie-server/libext/mysql-connector-java.jar from 0 to oozie
  190. 2018-05-23 16:45:50,160 - Changing group for /usr/yava/current/oozie-server/libext/mysql-connector-java.jar from 0 to hadoop
  191. 2018-05-23 16:45:50,160 - Execute['cd /var/tmp/oozie && /usr/yava/current/oozie-server/bin/oozie-setup.sh prepare-war'] {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'user': 'oozie'}
  192. 2018-05-23 16:46:04,324 - Directory['/usr/yava/current/oozie-server/conf/action-conf/hive'] {'owner': 'oozie', 'group': 'hadoop', 'recursive': True}
  193. 2018-05-23 16:46:04,324 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/usr/yava/current/oozie-server/conf/action-conf/hive', 'mode': 0644, 'configuration_attributes': {}, 'owner': 'oozie', 'configurations': ...}
  194. 2018-05-23 16:46:04,335 - Generating config: /usr/yava/current/oozie-server/conf/action-conf/hive/hive-site.xml
  195. 2018-05-23 16:46:04,336 - File['/usr/yava/current/oozie-server/conf/action-conf/hive/hive-site.xml'] {'owner': 'oozie', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
  196. 2018-05-23 16:46:04,431 - Execute[('chown', '-R', u'oozie:hadoop', '/usr/yava/current/oozie-server/oozie-server')] {'sudo': True}
  197. 2018-05-23 16:46:04,443 - Execute['/usr/jdk64/jdk1.8.0_60/bin/java -cp /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/yava/current/oozie-server/libext/mysql-connector-java.jar org.apache.ambari.server.DBConnectionVerification 'jdbc:mysql://sandbox.labs247.id/oozie' oozie [PROTECTED] com.mysql.jdbc.Driver'] {'tries': 5, 'try_sleep': 10}
  198. 2018-05-23 16:46:09,909 - Execute['cd /var/tmp/oozie && /usr/yava/current/oozie-server/bin/ooziedb.sh create -sqlfile oozie.sql -run'] {'not_if': 'ls /var/run/oozie/oozie.pid >/dev/null 2>&1 && ps -p `cat /var/run/oozie/oozie.pid` >/dev/null 2>&1', 'ignore_failures': True, 'user': 'oozie'}
  199. 2018-05-23 16:46:12,328 - Execute[' /usr/yava/current/oozie-server/bin/oozie-setup.sh sharelib create -fs hdfs://sandbox.labs247.id:8020 -locallib /usr/yava/current/oozie-server/share ; hadoop --config /etc/hadoop/conf dfs -chmod -R 755 /user/oozie/share'] {'path': ['/usr/yava/current/oozie-server/bin:/usr/yava/current/hadoop-client/bin'], 'user': 'oozie', 'not_if': 'ambari-sudo.sh su oozie -l -s /bin/bash -c \' hadoop --config /etc/hadoop/conf dfs -ls /user/oozie/share | awk \'"\'"\'BEGIN {count=0;} /share/ {count++} END {if (count > 0) {exit 0} else {exit 1}}\'"\'"\'\''}
  200. 2018-05-23 16:46:19,401 - Command: /usr/bin/yava-select status oozie-server > /tmp/tmp2Jai8a
  201. Output: oozie-server - 2.2.0.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement