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

Ship it!


Ship It!

- Tom Beerbower


On April 27, 2015, 6 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33538/
> -----------------------------------------------------------
> 
> (Updated April 27, 2015, 6 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, Sid Wagle, and Tom 
> Beerbower.
> 
> 
> Bugs: AMBARI-10742
>     https://issues.apache.org/jira/browse/AMBARI-10742
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> RU fails during HiveServer2 restart...
> 
> {code}
> hive --service hiveserver2 --deregister 2.2.0.0-2041 fails with exit code 255
> {code}
> 
> {code}
> 2015-04-15 18:45:46,923 - Error while executing command 'restart':
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 214, in execute
>     method(env)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 360, in restart
>     self.stop(env, rolling_restart=rolling_restart)
>   File 
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py",
>  line 69, in stop
>     hive_server_upgrade.pre_upgrade_deregister()
>   File 
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_upgrade.py",
>  line 54, in pre_upgrade_deregister
>     Execute(command, user=params.hive_user, path=params.execute_path, tries=1 
> )
>   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 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 274, in action_run
>    raise ex
> Fail: Execution of 'hive --service hiveserver2 --deregister 2.2.0.0-2041^M' 
> returned 255. SLF4J: Class path contains multiple SLF4J bindings.^M
> SLF4J: Found binding in 
> [jar:file:/usr/hdp/2.2.0.0-2041/hadoop/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]^M
> SLF4J: Found binding in 
> [jar:file:/usr/hdp/2.2.0.0-2041/hive/lib/hive-jdbc-0.14.0.2.2.0.0-2041-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]^M
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.^M
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]^M
>  {code}
> 
> Instead of exporting HIVE_CONF_DIR, it will be better to just add the 
> following param: --config /etc/hive/conf.server
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_upgrade.py
>  4db3df6 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py cb67bd1 
> 
> Diff: https://reviews.apache.org/r/33538/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> ----------------------------------------------------------------------
> Total run:685
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>

Reply via email to