-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35689/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-12043
    https://issues.apache.org/jira/browse/AMBARI-12043


Repository: ambari


Description
-------

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


Diffs
-----

  
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_service.py
 fb565a7 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py 6454e13 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py 
19b5485 

Diff: https://reviews.apache.org/r/35689/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to