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/12/10 02:09:11 UTC
[jira] [Commented] (AMBARI-14299) Ranger env files are incorrectly
sourced on EU
[ https://issues.apache.org/jira/browse/AMBARI-14299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049786#comment-15049786 ]
Hudson commented on AMBARI-14299:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4004 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4004/])
AMBARI-14299. Ranger env files are incorrectly sourced on EU (ncole) (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e90fd73010cf514039dca0ddcea02ebff272a4cd])
* 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/nn_eu.json
* ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py
* ambari-common/src/main/python/resource_management/libraries/functions/version.py
> Ranger env files are incorrectly sourced on EU
> ----------------------------------------------
>
> Key: AMBARI-14299
> URL: https://issues.apache.org/jira/browse/AMBARI-14299
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Nate Cole
> Assignee: Nate Cole
> Fix For: 2.2.0
>
> Attachments: AMBARI-14299.patch
>
>
> STR:
> 1) Install Cluster with HDFS, HBase on version 2.2.9.
> 2) Add Ranger
> This will install a file, set-hdfs-plugin-env.sh into /etc/hadoop/conf (this is normal)
> 3) Add Repository for 2.3.4-3396
> 4) Perform EU.
> This will fail on NN restart with:
> Failed to find Premain-Class manifest attribute in /usr/hdp/2.3.4.0-3396/hadoop/lib/ranger-hdfs-plugin-shim-0.5.0.2.3.4.0-3396.jar
> Error occurred during initialization of VM
> agent library failed to init: instrument
> This happens because the .sh file gets copied into the new config directory /etc/hadoop/2.3.4.0-3396/0 and gets sourced by ranger. However, the java class no longer supports the mechanism for Premain-Class (it has changed to use the Hadoop mechanism)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)