You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/04/23 15:47:38 UTC
[jira] [Commented] (AMBARI-10692) Hdfs Ranger plugin fails to
install with non-root agent
[ https://issues.apache.org/jira/browse/AMBARI-10692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509079#comment-14509079 ]
Hudson commented on AMBARI-10692:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #2415 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2415/])
AMBARI-10692. Hdfs Ranger plugin fails to install with non-root agent (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7e44537bd9e7d84cb458d20bbf5e948f545dd1f3)
* ambari-server/src/test/python/stacks/2.0.6/configs/rebalancehdfs_default.json
* ambari-server/src/test/python/stacks/2.0.6/configs/secured.json
* ambari-server/src/test/python/stacks/2.0.6/configs/rebalancehdfs_secured.json
* ambari-server/src/test/python/stacks/2.0.6/configs/nn_ru_lzo.json
* ambari-server/src/test/python/stacks/2.0.6/configs/ha_bootstrap_standby_node.json
* ambari-server/src/test/python/stacks/2.0.6/configs/ha_secured.json
* ambari-server/src/test/python/stacks/2.0.6/configs/client-upgrade.json
* ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml
* ambari-server/src/test/python/stacks/2.0.6/configs/default_no_install.json
* ambari-server/src/test/python/stacks/2.0.6/configs/default_update_exclude_file_only.json
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py
* ambari-server/src/test/python/stacks/2.0.6/configs/altfs_plus_hdfs.json
* ambari-server/src/test/python/stacks/2.0.6/configs/ha_default.json
* ambari-server/src/test/python/stacks/2.0.6/configs/default.json
* ambari-server/src/test/python/stacks/utils/RMFTestCase.py
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
* ambari-server/src/test/python/stacks/2.0.6/configs/ha_bootstrap_active_node.json
> Hdfs Ranger plugin fails to install with non-root agent
> -------------------------------------------------------
>
> Key: AMBARI-10692
> URL: https://issues.apache.org/jira/browse/AMBARI-10692
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> Namenode fails with the following error:
>
>
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 298, in <module>
> NameNode().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/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 72, in start
> namenode(action="start", rolling_restart=rolling_restart, env=env)
> File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
> return fn(*args, **kwargs)
> File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py", line 38, in namenode
> setup_ranger_hdfs()
> File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py", line 69, in setup_ranger_hdfs
> write_properties_to_file(file_path, ranger_hdfs_dict)
> File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py", line 104, in write_properties_to_file
> modify_config(file_path, key, value[key])
> File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py", line 116, 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
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)