Advertisement
Guest User

Untitled

a guest
Jun 14th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.06 KB | None | 0 0
  1. stderr:
  2. Traceback (most recent call last):
  3. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
  4. RangerAdmin().execute()
  5. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
  6. method(env)
  7. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
  8. setup_ranger_db()
  9. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
  10. user=params.unix_user,
  11. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  12. self.env.run()
  13. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  14. self.run_action(resource, action)
  15. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  16. provider_action()
  17. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, 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 293, in _call
  26. raise Fail(err_msg)
  27. resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. 2016-06-14 06:11:31,039 [I] Running DBA setup script. QuiteMode:True
  28. 2016-06-14 06:11:31,040 [I] Using Java:/usr/lib/jvm/java/bin/java
  29. 2016-06-14 06:11:31,040 [I] DB FLAVOR:POSTGRES
  30. 2016-06-14 06:11:31,040 [I] DB Host:localhost
  31. 2016-06-14 06:11:31,041 [I] ---------- Verifying DB root password ----------
  32. 2016-06-14 06:11:31,041 [I] DBA root user password validated
  33. 2016-06-14 06:11:31,041 [I] ---------- Verifying Ranger Admin db user password ----------
  34. 2016-06-14 06:11:31,041 [I] admin user password validated
  35. 2016-06-14 06:11:31,041 [I] ---------- Creating Ranger Admin db user ----------
  36. 2016-06-14 06:11:31,041 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  37. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  38. 2016-06-14 06:11:31,338 [E] Can't establish connection, Please check connection settings or contact Administrator
  39. Traceback (most recent call last):
  40. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
  41. RangerAdmin().execute()
  42. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
  43. method(env)
  44. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
  45. setup_ranger_db()
  46. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
  47. user=params.unix_user,
  48. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  49. self.env.run()
  50. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  51. self.run_action(resource, action)
  52. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  53. provider_action()
  54. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
  55. tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  56. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  57. result = function(command, **kwargs)
  58. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  59. tries=tries, try_sleep=try_sleep)
  60. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  61. result = _call(command, **kwargs_copy)
  62. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
  63. raise Fail(err_msg)
  64. resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. 2016-06-14 06:11:34,526 [I] Running DBA setup script. QuiteMode:True
  65. 2016-06-14 06:11:34,526 [I] Using Java:/usr/lib/jvm/java/bin/java
  66. 2016-06-14 06:11:34,526 [I] DB FLAVOR:POSTGRES
  67. 2016-06-14 06:11:34,527 [I] DB Host:localhost
  68. 2016-06-14 06:11:34,527 [I] ---------- Verifying DB root password ----------
  69. 2016-06-14 06:11:34,527 [I] DBA root user password validated
  70. 2016-06-14 06:11:34,528 [I] ---------- Verifying Ranger Admin db user password ----------
  71. 2016-06-14 06:11:34,528 [I] admin user password validated
  72. 2016-06-14 06:11:34,528 [I] ---------- Creating Ranger Admin db user ----------
  73. 2016-06-14 06:11:34,528 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  74. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  75. 2016-06-14 06:11:34,825 [E] Can't establish connection, Please check connection settings or contact Administrator
  76. Traceback (most recent call last):
  77. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
  78. RangerAdmin().execute()
  79. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
  80. method(env)
  81. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
  82. setup_ranger_db()
  83. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
  84. user=params.unix_user,
  85. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  86. self.env.run()
  87. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  88. self.run_action(resource, action)
  89. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  90. provider_action()
  91. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
  92. tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  93. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  94. result = function(command, **kwargs)
  95. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  96. tries=tries, try_sleep=try_sleep)
  97. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  98. result = _call(command, **kwargs_copy)
  99. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
  100. raise Fail(err_msg)
  101. resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. 2016-06-14 06:11:40,057 [I] Running DBA setup script. QuiteMode:True
  102. 2016-06-14 06:11:40,057 [I] Using Java:/usr/lib/jvm/java/bin/java
  103. 2016-06-14 06:11:40,058 [I] DB FLAVOR:POSTGRES
  104. 2016-06-14 06:11:40,058 [I] DB Host:localhost
  105. 2016-06-14 06:11:40,058 [I] ---------- Verifying DB root password ----------
  106. 2016-06-14 06:11:40,059 [I] DBA root user password validated
  107. 2016-06-14 06:11:40,060 [I] ---------- Verifying Ranger Admin db user password ----------
  108. 2016-06-14 06:11:40,060 [I] admin user password validated
  109. 2016-06-14 06:11:40,060 [I] ---------- Creating Ranger Admin db user ----------
  110. 2016-06-14 06:11:40,060 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  111. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  112. 2016-06-14 06:11:40,379 [E] Can't establish connection, Please check connection settings or contact Administrator
  113. Traceback (most recent call last):
  114. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
  115. RangerAdmin().execute()
  116. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
  117. method(env)
  118. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
  119. setup_ranger_db()
  120. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
  121. user=params.unix_user,
  122. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  123. self.env.run()
  124. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  125. self.run_action(resource, action)
  126. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  127. provider_action()
  128. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
  129. tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  130. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  131. result = function(command, **kwargs)
  132. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  133. tries=tries, try_sleep=try_sleep)
  134. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  135. result = _call(command, **kwargs_copy)
  136. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
  137. raise Fail(err_msg)
  138. resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. 2016-06-14 06:11:49,600 [I] Running DBA setup script. QuiteMode:True
  139. 2016-06-14 06:11:49,600 [I] Using Java:/usr/lib/jvm/java/bin/java
  140. 2016-06-14 06:11:49,600 [I] DB FLAVOR:POSTGRES
  141. 2016-06-14 06:11:49,600 [I] DB Host:localhost
  142. 2016-06-14 06:11:49,600 [I] ---------- Verifying DB root password ----------
  143. 2016-06-14 06:11:49,601 [I] DBA root user password validated
  144. 2016-06-14 06:11:49,601 [I] ---------- Verifying Ranger Admin db user password ----------
  145. 2016-06-14 06:11:49,601 [I] admin user password validated
  146. 2016-06-14 06:11:49,601 [I] ---------- Creating Ranger Admin db user ----------
  147. 2016-06-14 06:11:49,601 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  148. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  149. 2016-06-14 06:11:49,940 [E] Can't establish connection, Please check connection settings or contact Administrator
  150. Traceback (most recent call last):
  151. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
  152. RangerAdmin().execute()
  153. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
  154. method(env)
  155. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
  156. setup_ranger_db()
  157. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
  158. user=params.unix_user,
  159. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  160. self.env.run()
  161. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  162. self.run_action(resource, action)
  163. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  164. provider_action()
  165. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
  166. tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  167. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  168. result = function(command, **kwargs)
  169. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  170. tries=tries, try_sleep=try_sleep)
  171. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  172. result = _call(command, **kwargs_copy)
  173. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
  174. raise Fail(err_msg)
  175. resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. 2016-06-14 06:12:07,230 [I] Running DBA setup script. QuiteMode:True
  176. 2016-06-14 06:12:07,230 [I] Using Java:/usr/lib/jvm/java/bin/java
  177. 2016-06-14 06:12:07,230 [I] DB FLAVOR:POSTGRES
  178. 2016-06-14 06:12:07,230 [I] DB Host:localhost
  179. 2016-06-14 06:12:07,230 [I] ---------- Verifying DB root password ----------
  180. 2016-06-14 06:12:07,231 [I] DBA root user password validated
  181. 2016-06-14 06:12:07,231 [I] ---------- Verifying Ranger Admin db user password ----------
  182. 2016-06-14 06:12:07,231 [I] admin user password validated
  183. 2016-06-14 06:12:07,231 [I] ---------- Creating Ranger Admin db user ----------
  184. 2016-06-14 06:12:07,231 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  185. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  186. 2016-06-14 06:12:07,536 [E] Can't establish connection, Please check connection settings or contact Administrator
  187. Traceback (most recent call last):
  188. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
  189. RangerAdmin().execute()
  190. File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
  191. method(env)
  192. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
  193. setup_ranger_db()
  194. File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
  195. user=params.unix_user,
  196. File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
  197. self.env.run()
  198. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
  199. self.run_action(resource, action)
  200. File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
  201. provider_action()
  202. File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
  203. tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  204. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
  205. result = function(command, **kwargs)
  206. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
  207. tries=tries, try_sleep=try_sleep)
  208. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
  209. result = _call(command, **kwargs_copy)
  210. File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
  211. raise Fail(err_msg)
  212. resource_management.core.exceptions.Fail: Execution of 'ambari-python-wrap /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. 2016-06-14 06:12:40,816 [I] Running DBA setup script. QuiteMode:True
  213. 2016-06-14 06:12:40,817 [I] Using Java:/usr/lib/jvm/java/bin/java
  214. 2016-06-14 06:12:40,817 [I] DB FLAVOR:POSTGRES
  215. 2016-06-14 06:12:40,817 [I] DB Host:localhost
  216. 2016-06-14 06:12:40,817 [I] ---------- Verifying DB root password ----------
  217. 2016-06-14 06:12:40,818 [I] DBA root user password validated
  218. 2016-06-14 06:12:40,818 [I] ---------- Verifying Ranger Admin db user password ----------
  219. 2016-06-14 06:12:40,818 [I] admin user password validated
  220. 2016-06-14 06:12:40,819 [I] ---------- Creating Ranger Admin db user ----------
  221. 2016-06-14 06:12:40,819 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  222. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  223. 2016-06-14 06:12:41,120 [E] Can't establish connection, Please check connection settings or contact Administrator
  224.  
  225. stdout:
  226. 2016-06-14 06:12:40,817 [I] DB FLAVOR:POSTGRES
  227. 2016-06-14 06:12:40,817 [I] DB Host:localhost
  228. 2016-06-14 06:12:40,817 [I] ---------- Verifying DB root password ----------
  229. 2016-06-14 06:12:40,818 [I] DBA root user password validated
  230. 2016-06-14 06:12:40,818 [I] ---------- Verifying Ranger Admin db user password ----------
  231. 2016-06-14 06:12:40,818 [I] admin user password validated
  232. 2016-06-14 06:12:40,819 [I] ---------- Creating Ranger Admin db user ----------
  233. 2016-06-14 06:12:40,819 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://localhost/postgres -u rangeruser -p '********' -noheader -trim -c \; -query "SELECT 1;"
  234. SQLException : SQL state: 28000 org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "rangeruser", database "postgres", SSL off ErrorCode: 0
  235. 2016-06-14 06:12:41,120 [E] Can't establish connection, Please check connection settings or contact Administrator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement