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 (JIRA)" <ji...@apache.org> on 2015/08/10 19:19:47 UTC

[jira] [Updated] (AMBARI-12695) Webhcat server fails to start

     [ https://issues.apache.org/jira/browse/AMBARI-12695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Sen updated AMBARI-12695:
--------------------------------
    Attachment: AMBARI-12695.patch

> Webhcat server fails to start
> -----------------------------
>
>                 Key: AMBARI-12695
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12695
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 2.1.1
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Blocker
>             Fix For: 2.1.1
>
>         Attachments: AMBARI-12695.patch
>
>
> On a Ubuntu14 cluster (both secure and unsecure) after enabling ranger plugins, Resource manager and Webhcat server fails to start.  (Noticed the same error after enabling security on a cluster without ranger)
> please see the error messages below from each of the logs:
> *Webhcat*
> {code}
> 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 157, 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-2586/hive-hcatalog/sbin/../share/webhcat/svr/lib/hive-webhcat-1.2.1.2.3.2.0-2586.jar org.apache.hive.hcatalog.templeton.Main  
> /grid/0/hdp/2.3.2.0-2586/hive-hcatalog/sbin/webhcat_server.sh: failed to start. Check logs in  /grid/0/log/webhcat
> {code}



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