ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-14299) Ranger env files are incorrectly sourced on EU
Date Wed, 09 Dec 2015 19:54:11 GMT
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)

Mime
View raw message