ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-10742) RU: HiveServer2 Cannot Deregister During Upgrade Due To Config Path Missing
Date Fri, 24 Apr 2015 23:20:38 GMT
Jonathan Hurley created AMBARI-10742:

             Summary: RU: HiveServer2 Cannot Deregister During Upgrade Due To Config Path
                 Key: AMBARI-10742
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.1.0, 2.0.1

RU fails during HiveServer2 restart...

hive --service hiveserver2 --deregister fails with exit code 255

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/",
line 214, in execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 360, in restart
    self.stop(env, rolling_restart=rolling_restart)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/",
line 69, in stop
  File "/var/lib/ambari-agent/cache/common-services/HIVE/",
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/", line 148, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 152,
in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 118,
in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/", line
274, in action_run
   raise ex
Fail: Execution of 'hive --service hiveserver2 --deregister^M' returned 255.
SLF4J: Class path contains multiple SLF4J bindings.^M
SLF4J: Found binding in [jar:file:/usr/hdp/!/org/slf4j/impl/StaticLoggerBinder.class]^M
SLF4J: Found binding in [jar:file:/usr/hdp/!/org/slf4j/impl/StaticLoggerBinder.class]^M
SLF4J: See for an explanation.^M
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]^M

Instead of exporting HIVE_CONF_DIR, it will be better to just add the following param: --config

This message was sent by Atlassian JIRA

View raw message