You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/08/31 16:15:45 UTC

[jira] [Created] (AMBARI-12939) WebHcat server is not starting when added to secure cluster

Andrew Onischuk created AMBARI-12939:
----------------------------------------

             Summary: WebHcat server is not starting when added to secure cluster
                 Key: AMBARI-12939
                 URL: https://issues.apache.org/jira/browse/AMBARI-12939
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.2


**STR**  
Install cluster without Hive  
Enable Kerberos  
Add Hive  
Start added service

**Result**  
WebHcat is not starting

    
    
    
    root@ambari-kerb-mit-ubu14-3678-split3-re-3:/grid/0/log# cat /var/lib/ambari-agent/data/errors-294.txt
    Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py", line 155, in <module>
        WebHCatServer().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py", line 42, in start
        webhcat_service(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/webhcat_service.py", line 52, in webhcat_service
        environment = environ)
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, 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 258, in action_run
        tries=self.resource.tries, try_sleep=self.resource.try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
        result = function(command, **kwargs)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
        tries=tries, try_sleep=try_sleep)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
        result = _call(command, **kwargs_copy)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
        raise Fail(err_msg)
    resource_management.core.exceptions.Fail: Execution of 'cd /var/run/webhcat ; /usr/hdp/current/hive-webhcat/sbin/webhcat_server.sh start' returned 1. webhcat: starting ...
    webhcat: /usr/hdp/current/hadoop-client/bin/hadoop jar /grid/0/hdp/2.3.2.0-2708/hive-hcatalog/sbin/../share/webhcat/svr/lib/hive-webhcat-1.2.1.2.3.2.0-2708.jar org.apache.hive.hcatalog.templeton.Main  
    /grid/0/hdp/2.3.2.0-2708/hive-hcatalog/sbin/webhcat_server.sh: failed to start. Check logs in  .
    
    





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)