You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nate Cole (JIRA)" <ji...@apache.org> on 2015/12/09 20:54:11 UTC
[jira] [Created] (AMBARI-14299) Ranger env files are incorrectly
sourced on EU
Nate Cole created AMBARI-14299:
----------------------------------
Summary: 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
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)