ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 35072: Hive Start with non-root ambari-agent fail
Date Thu, 04 Jun 2015 14:51:07 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35072/#review86623
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On June 4, 2015, 2:49 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35072/
> -----------------------------------------------------------
> 
> (Updated June 4, 2015, 2:49 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-11691
>     https://issues.apache.org/jira/browse/AMBARI-11691
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
32edf71 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_client.py 11e1d16 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py e46311c 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 051b8c3 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py b97fa34 
> 
> Diff: https://reviews.apache.org/r/35072/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message