[
https://issues.apache.org/jira/browse/AMBARI-11691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-11691.
--------------------------------------
Resolution: Fixed
Committed to trunk
> Hive Start with non-root ambari-agent fail
> ------------------------------------------
>
> Key: AMBARI-11691
> URL: https://issues.apache.org/jira/browse/AMBARI-11691
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> HiveServer2:
>
>
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py",
> line 186, in <module>
> HiveServer().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 216, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py",
> line 90, in start
> hive_service( 'hiveserver2', action = 'start',
> rolling_restart=rolling_restart)
> File
> "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89,
> in thunk
> return fn(*args, **kwargs)
> File
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py",
> line 99, in hive_service
> path='/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin', tries=5,
> try_sleep=10)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
> 157, in __init__
> self.env.run()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 152, in run
> self.run_action(resource, action)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 118, in run_action
> provider_action()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
> line 260, in action_run
> raise ex
> resource_management.core.exceptions.Fail: Execution of
> '/usr/jdk64/jdk1.8.0_40/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/hdp/current/hive-server2/lib/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification
> 'jdbc:mysql://c6403.org/hive?createDatabaseIfNotExist=true' hive [PROTECTED]
> com.mysql.jdbc.Driver' returned 1. Error: Could not find or load main class
> org.apache.ambari.server.DBConnectionVerification
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)