ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Review Request 27472: Hive Metastore failed to start
Date Sat, 01 Nov 2014 18:48:56 GMT

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

Review request for Ambari, Andrew Onischuk and Mahadev Konar.


Bugs: AMBARI-8095
    https://issues.apache.org/jira/browse/AMBARI-8095


Repository: ambari


Description
-------

Hive metastore failed to start when services installed and were tried to be started. 
Seems like it started after few more attempts
2014-11-01 03:34:14,107 - Error while executing command 'start':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line
122, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_metastore.py",
line 43, in start
self.configure(env) # FOR SECURITY
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_metastore.py",
line 38, in configure
hive(name='metastore')
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py",
line 63, in hive
jdbc_connector()
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py",
line 216, in jdbc_connector
environment=environment)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in init
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149,
in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115,
in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
241, in action_run
raise ex
Fail: Execution of 'mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/ ; curl -kf -x
"" --retry 10 http://host1:8080/resources//oracle-jdbc-driver.jar -o /usr/share/java/ojdbc6.jar
&& cp /usr/share/java/ojdbc6.jar /usr/hdp/current/hive-client/lib/ojdbc6.jar' returned
1. % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 :: :: :: 0
100 2650k 100 2650k 0 0 20.1M 0 :: :: :: 21.7M
cp: `/usr/share/java/ojdbc6.jar' and `/usr/hdp/current/hive-client/lib/ojdbc6.jar' are the
same file


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive.py
e388ee5 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py b608334 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py f28e821 
  ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 6f2c0b3 

Diff: https://reviews.apache.org/r/27472/diff/


Testing
-------

----------------------------------------------------------------------
Ran 243 tests in 5.758s

OK
----------------------------------------------------------------------
Total run:682
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


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