You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/11/01 19:48:56 UTC

Review Request 27472: Hive Metastore failed to start

-----------------------------------------------------------
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


Re: Review Request 27472: Hive Metastore failed to start

Posted by Mahadev Konar <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27472/#review59497
-----------------------------------------------------------

Ship it!


Ship It!

- Mahadev Konar


On Nov. 1, 2014, 7:01 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27472/
> -----------------------------------------------------------
> 
> (Updated Nov. 1, 2014, 7:01 p.m.)
> 
> 
> 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
> 
>


Re: Review Request 27472: Hive Metastore failed to start

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27472/#review59486
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Nov. 1, 2014, 7:01 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27472/
> -----------------------------------------------------------
> 
> (Updated Nov. 1, 2014, 7:01 p.m.)
> 
> 
> 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
> 
>


Re: Review Request 27472: Hive Metastore failed to start

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27472/
-----------------------------------------------------------

(Updated Ноя. 1, 2014, 7:01 п.п.)


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 (updated)
-----

  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


Re: Review Request 27472: Hive Metastore failed to start

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27472/#review59484
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Nov. 1, 2014, 6:48 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27472/
> -----------------------------------------------------------
> 
> (Updated Nov. 1, 2014, 6:48 p.m.)
> 
> 
> 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
> 
>