ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-12043) Hbase stop fails in non-root agent mode
Date Sat, 20 Jun 2015 14:28:00 GMT

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

Andrew Onischuk resolved AMBARI-12043.
--------------------------------------
    Resolution: Fixed

Committed to trunk and branch-2.1

> 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)

Mime
View raw message