Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10690

Hbase Ranger plugin fails to install with non-root agent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: