You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/10/26 18:15:08 UTC

Review Request 39658: blueprint: NN and ResourceManager fails to start (unless ranger is installed)

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39658/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-13564
    https://issues.apache.org/jira/browse/AMBARI-13564


Repository: ambari


Description
-------

java.io.FileNotFoundException: /etc/hadoop/2.3.2.0-2943/0/xasecure-audit.xml (No such file or directory)
            at java.io.FileInputStream.open0(Native Method)
            at java.io.FileInputStream.open(FileInputStream.java:195)
            at java.io.FileInputStream.<init>(FileInputStream.java:138)
            at java.io.FileInputStream.<init>(FileInputStream.java:93)
            at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
            at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
            at java.net.URL.openStream(URL.java:1038)
            at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2468)
            at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2536)
            at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2502)
            at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2405)
            at org.apache.ranger.authorization.hadoop.config.RangerConfiguration.initAudit(RangerConfiguration.java:120)
            at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:89)
            at org.apache.ranger.authorization.hadoop.RangerHdfsPlugin.init(RangerHdfsAuthorizer.java:399)
            at org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer.start(RangerHdfsAuthorizer.java:83)
            at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startCommonServices(FSNamesystem.java:1062)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.startCommonServices(NameNode.java:763)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:687)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:896)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:880)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1586)
            at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1652)
    2015-10-26 15:06:32,020 ERROR namenode.NameNode (NameNode.java:main(1657)) - Failed to start namenode.
    java.lang.RuntimeException: java.io.FileNotFoundException: /etc/hadoop/2.3.2.0-2943/0/xasecure-audit.xml (No such file or directory)


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/hdfs-site.xml c856ad3 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/yarn-site.xml 7b91d59 

Diff: https://reviews.apache.org/r/39658/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk