Support Questions
Find answers, ask questions, and share your expertise

Kerberberized HDP 2.5 - NameNode not starting up (java.io.FileNotFoundException: /etc/hadoop/2.5.3.0-37/0/xasecure-audit.xml)

Expert Contributor

I've a kerberized HDP 2.5 (8-Node cluster), and the NameNode is not starting up.

Error in the log file is as shown

(attaching the complete logfile - hadoop-hdfs-namenode-nwk2-bdp-hadoop-06.gdcs-qa.apple.com.log)

hadoop-hdfs-namenode-nwk2-bdp-hadoop-06gdcs-qaappl.txt

--------------------------------------------------------------------------------------------------------------------------------------

2017-04-25 22:55:31,498 ERROR namenode.NameNode (NameNode.java:main(1759)) - Failed to start namenode. java.lang.RuntimeException: java.io.FileNotFoundException: /etc/hadoop/2.5.3.0-37/0/xasecure-audit.xml (No such file or directory) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2679) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2542) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2424) at org.apache.ranger.authorization.hadoop.config.RangerConfiguration.initAudit(RangerConfiguration.java:141) at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:105) at org.apache.ranger.authorization.hadoop.RangerHdfsPlugin.init(RangerHdfsAuthorizer.java:437) at org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer.start(RangerHdfsAuthorizer.java:83) at org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer.start(RangerHdfsAuthorizer.java:87) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startCommonServices(FSNamesystem.java:1101) at org.apache.hadoop.hdfs.server.namenode.NameNode.startCommonServices(NameNode.java:859) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:771) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:992) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:976) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1686) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1754)

Caused by: java.io.FileNotFoundException: /etc/hadoop/2.5.3.0-37/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:1045) at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2508) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2576) ... 14 more 2017-04-25 22:55:31,500 INFO util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 1 2017-04-25 22:55:32,301 INFO namenode.NameNode (LogAdapter.java:info(47)) - SHUTDOWN_MSG:

1 REPLY 1

Re: Kerberberized HDP 2.5 - NameNode not starting up (java.io.FileNotFoundException: /etc/hadoop/2.5.3.0-37/0/xasecure-audit.xml)

Explorer

Did you install Java Cryptography Extension (JCE) on all nodes in hadoop cluster before enable kerberos?

Don't have an account?