You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sebastian Toader (JIRA)" <ji...@apache.org> on 2016/04/06 22:08:25 UTC

[jira] [Updated] (AMBARI-15744) Webhcat Server failed to stop while stopping all the services

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

Sebastian Toader updated AMBARI-15744:
--------------------------------------
    Attachment: AMBARI-15744.trunk.v1.patch
                AMBARI-15744.branch-2.2.v1.patch

> Webhcat Server failed to stop while stopping all the services 
> --------------------------------------------------------------
>
>                 Key: AMBARI-15744
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15744
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.2
>            Reporter: Sebastian Toader
>            Assignee: Sebastian Toader
>            Priority: Critical
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15744.branch-2.2.v1.patch, AMBARI-15744.trunk.v1.patch
>
>
> Stop all the services using Stop All on dashboard. Webhcat server fails to stop with the below error. This looks like an intermittent issue.
> {code}
> "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py\",
>      line 155, in <module>\n    WebHCatServer().execute()\n  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>       line 219, in execute\n    method(env)\n  File \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_server.py\", 
>       line 47, in stop\n    webhcat_service(action='stop')\n  File \"/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py\", 
>       line 89, in thunk\n    return fn(*args, **kwargs)\n  File \"/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_service.py\", 
>       line 57, in webhcat_service\n    environment = environ)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\",
>        line 154, in __init__\n    self.env.run()\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
>        line 158, in run\n    self.run_action(resource, action)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
>        line 121, in run_action\n    provider_action()\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\", 
>        line 238, in action_run\n    tries=self.resource.tries, try_sleep=self.resource.try_sleep)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
>        line 70, in inner\n    result = function(command, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\",
>         line 92, in checked_call\n    tries=tries, try_sleep=try_sleep)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
>        line 140, in _call_wrapper\n    result = _call(command, **kwargs_copy)\n  File \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", 
>        line 291, in _call\n    raise Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/hive-webhcat/sbin/webhcat_server.sh stop' returned 1. webhcat: stopping ...\n/usr/hdp/2.4.2.0-127/hive-hcatalog/sbin/webhcat_server.sh: failed to stop
> {code}



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