[ 
https://issues.apache.org/jira/browse/AMBARI-15744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230584#comment-15230584
 ] 

Hudson commented on AMBARI-15744:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.2 #607 (See 
[https://builds.apache.org/job/Ambari-branch-2.2/607/])
AMBARI-15744. Webhcat Server failed to stop while stopping all the (stoader: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=86a2305c0a8456dfdbe5e80f3cedd1630cad51b1])
* 
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat_service.py
* ambari-server/src/test/python/stacks/2.0.6/HIVE/test_webhcat_server.py


> 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.branch-2.2.v2.patch, AMBARI-15744.trunk.v1.patch, 
> AMBARI-15744.trunk.v2.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)

Reply via email to