ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 33475: Hbase Ranger plugin fails to install with non-root agent
Date Thu, 23 Apr 2015 10:51:58 GMT

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

Review request for Ambari and Vitalyi Brodetskyi.


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


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_master.py",
line 148, in <module>
        HbaseMaster().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 214, in execute
        method(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 377, in restart
        self.start(env)
      File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py",
line 83, in start
        setup_ranger_hbase()  
      File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py",
line 67, in setup_ranger_hbase
        write_properties_to_file(file_path, ranger_hbase_dict)
      File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py",
line 101, in write_properties_to_file
        modify_config(file_path, key, value[key])
      File "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py",
line 112, in modify_config
        for line in fileinput.input(filepath, inplace = 1):
      File "/usr/lib64/python2.6/fileinput.py", line 253, in next
        line = self.readline()
      File "/usr/lib64/python2.6/fileinput.py", line 322, in readline
        os.rename(self._filename, self._backupfilename)
    OSError: [Errno 13] Permission denied


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
99b8c2c 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
eafcd89 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py
5f7a830 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml
f09d2d1 
  ambari-server/src/test/python/stacks/2.0.6/configs/client-upgrade.json 5aba635 
  ambari-server/src/test/python/stacks/2.0.6/configs/default.hbasedecom.json e40c3c4 
  ambari-server/src/test/python/stacks/2.0.6/configs/default.json 8ed0af1 
  ambari-server/src/test/python/stacks/2.0.6/configs/hbase-2.2.json 4241330 
  ambari-server/src/test/python/stacks/2.0.6/configs/hbase-check-2.2.json 318b5f4 
  ambari-server/src/test/python/stacks/2.0.6/configs/hbase-preupgrade.json 6a06998 
  ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2.json eca6d3b 
  ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 3f4aad9 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message