Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stderr:
- Traceback (most recent call last):
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
- RangerAdmin().execute()
- File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
- method(env)
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
- setup_ranger_db()
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
- user=params.unix_user,
- File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
- self.env.run()
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
- self.run_action(resource, action)
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
- provider_action()
- File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
- tries=self.resource.tries, try_sleep=self.resource.try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
- result = function(command, **kwargs)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
- tries=tries, try_sleep=try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
- result = _call(command, **kwargs_copy)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
- raise Fail(err_msg)
- 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
- 2016-06-14 06:11:31,040 [I] Using Java:/usr/lib/jvm/java/bin/java
- 2016-06-14 06:11:31,040 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:11:31,040 [I] DB Host:localhost
- 2016-06-14 06:11:31,041 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:11:31,041 [I] DBA root user password validated
- 2016-06-14 06:11:31,041 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:11:31,041 [I] admin user password validated
- 2016-06-14 06:11:31,041 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 2016-06-14 06:11:31,338 [E] Can't establish connection, Please check connection settings or contact Administrator
- Traceback (most recent call last):
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
- RangerAdmin().execute()
- File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
- method(env)
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
- setup_ranger_db()
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
- user=params.unix_user,
- File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
- self.env.run()
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
- self.run_action(resource, action)
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
- provider_action()
- File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
- tries=self.resource.tries, try_sleep=self.resource.try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
- result = function(command, **kwargs)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
- tries=tries, try_sleep=try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
- result = _call(command, **kwargs_copy)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
- raise Fail(err_msg)
- 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
- 2016-06-14 06:11:34,526 [I] Using Java:/usr/lib/jvm/java/bin/java
- 2016-06-14 06:11:34,526 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:11:34,527 [I] DB Host:localhost
- 2016-06-14 06:11:34,527 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:11:34,527 [I] DBA root user password validated
- 2016-06-14 06:11:34,528 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:11:34,528 [I] admin user password validated
- 2016-06-14 06:11:34,528 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 2016-06-14 06:11:34,825 [E] Can't establish connection, Please check connection settings or contact Administrator
- Traceback (most recent call last):
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
- RangerAdmin().execute()
- File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
- method(env)
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
- setup_ranger_db()
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
- user=params.unix_user,
- File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
- self.env.run()
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
- self.run_action(resource, action)
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
- provider_action()
- File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
- tries=self.resource.tries, try_sleep=self.resource.try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
- result = function(command, **kwargs)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
- tries=tries, try_sleep=try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
- result = _call(command, **kwargs_copy)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
- raise Fail(err_msg)
- 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
- 2016-06-14 06:11:40,057 [I] Using Java:/usr/lib/jvm/java/bin/java
- 2016-06-14 06:11:40,058 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:11:40,058 [I] DB Host:localhost
- 2016-06-14 06:11:40,058 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:11:40,059 [I] DBA root user password validated
- 2016-06-14 06:11:40,060 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:11:40,060 [I] admin user password validated
- 2016-06-14 06:11:40,060 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 2016-06-14 06:11:40,379 [E] Can't establish connection, Please check connection settings or contact Administrator
- Traceback (most recent call last):
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
- RangerAdmin().execute()
- File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
- method(env)
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
- setup_ranger_db()
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
- user=params.unix_user,
- File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
- self.env.run()
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
- self.run_action(resource, action)
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
- provider_action()
- File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
- tries=self.resource.tries, try_sleep=self.resource.try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
- result = function(command, **kwargs)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
- tries=tries, try_sleep=try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
- result = _call(command, **kwargs_copy)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
- raise Fail(err_msg)
- 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
- 2016-06-14 06:11:49,600 [I] Using Java:/usr/lib/jvm/java/bin/java
- 2016-06-14 06:11:49,600 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:11:49,600 [I] DB Host:localhost
- 2016-06-14 06:11:49,600 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:11:49,601 [I] DBA root user password validated
- 2016-06-14 06:11:49,601 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:11:49,601 [I] admin user password validated
- 2016-06-14 06:11:49,601 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 2016-06-14 06:11:49,940 [E] Can't establish connection, Please check connection settings or contact Administrator
- Traceback (most recent call last):
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
- RangerAdmin().execute()
- File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
- method(env)
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
- setup_ranger_db()
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
- user=params.unix_user,
- File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
- self.env.run()
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
- self.run_action(resource, action)
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
- provider_action()
- File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
- tries=self.resource.tries, try_sleep=self.resource.try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
- result = function(command, **kwargs)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
- tries=tries, try_sleep=try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
- result = _call(command, **kwargs_copy)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
- raise Fail(err_msg)
- 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
- 2016-06-14 06:12:07,230 [I] Using Java:/usr/lib/jvm/java/bin/java
- 2016-06-14 06:12:07,230 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:12:07,230 [I] DB Host:localhost
- 2016-06-14 06:12:07,230 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:12:07,231 [I] DBA root user password validated
- 2016-06-14 06:12:07,231 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:12:07,231 [I] admin user password validated
- 2016-06-14 06:12:07,231 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 2016-06-14 06:12:07,536 [E] Can't establish connection, Please check connection settings or contact Administrator
- Traceback (most recent call last):
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 167, in <module>
- RangerAdmin().execute()
- File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute
- method(env)
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 43, in install
- setup_ranger_db()
- File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py", line 206, in setup_ranger_db
- user=params.unix_user,
- File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
- self.env.run()
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
- self.run_action(resource, action)
- File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
- provider_action()
- File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 273, in action_run
- tries=self.resource.tries, try_sleep=self.resource.try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
- result = function(command, **kwargs)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
- tries=tries, try_sleep=try_sleep)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
- result = _call(command, **kwargs_copy)
- File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call
- raise Fail(err_msg)
- 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
- 2016-06-14 06:12:40,817 [I] Using Java:/usr/lib/jvm/java/bin/java
- 2016-06-14 06:12:40,817 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:12:40,817 [I] DB Host:localhost
- 2016-06-14 06:12:40,817 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:12:40,818 [I] DBA root user password validated
- 2016-06-14 06:12:40,818 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:12:40,818 [I] admin user password validated
- 2016-06-14 06:12:40,819 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 2016-06-14 06:12:41,120 [E] Can't establish connection, Please check connection settings or contact Administrator
- stdout:
- 2016-06-14 06:12:40,817 [I] DB FLAVOR:POSTGRES
- 2016-06-14 06:12:40,817 [I] DB Host:localhost
- 2016-06-14 06:12:40,817 [I] ---------- Verifying DB root password ----------
- 2016-06-14 06:12:40,818 [I] DBA root user password validated
- 2016-06-14 06:12:40,818 [I] ---------- Verifying Ranger Admin db user password ----------
- 2016-06-14 06:12:40,818 [I] admin user password validated
- 2016-06-14 06:12:40,819 [I] ---------- Creating Ranger Admin db user ----------
- 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;"
- 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
- 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