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

Hudson commented on AMBARI-12043:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.1 #71 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/71/])
AMBARI-12043. Hbase stop fails in non-root agent mode (aonishuk) (aonishuk: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=460155d2fc3197025a5510826ecb6bd32f460bb2)
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py
* ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py
* 
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_service.py


> Hbase stop fails in non-root agent mode
> ---------------------------------------
>
>                 Key: AMBARI-12043
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12043
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py",
>  line 156, in <module>
>         HbaseRegionServer().execute()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 216, in execute
>         method(env)
>       File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py",
>  line 96, in stop
>         action = 'stop'
>       File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_service.py",
>  line 51, in hbase_service
>         Execute (format("rm -f {pid_file}"))
>       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 254, 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 'rm -f 
> /var/run/hbase/hbase-hbase-regionserver.pid' returned 1. rm: cannot remove 
> `/var/run/hbase/hbase-hbase-regionserver.pid': Permission denied
>     



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

Reply via email to