I tried both ranger 0.5 and master branch code as well, Hadoop version is 2.7.1 Distribution is apache single node cluster (No Cloudera or HDP)
On Sun, Nov 29, 2015 at 6:34 AM, Dilli Dorai <[email protected]> wrote: > Hi Hafiz, > What is the version of Ranger and Hadoop you are running? > What is the version of Hadoop you are running? > What is the dstribution version (e.g. HDP 2.3?) > This would be critical for anyone trying to help on this. > Thanks > Dilli > > On Sat, Nov 28, 2015 at 11:51 AM, Hafiz Mujadid <[email protected]> > wrote: > >> Hi! >> >> I have enabled hdfs plugin but after that name node is not starting, when >> i start namenode, i get following exception >> >> >> 2015-11-29 00:44:20,534 ERROR >> org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode. >> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException >> at >> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:134) >> at >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:843) >> at >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:673) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:584) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:644) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:811) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:795) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1488) >> at >> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1554) >> Caused by: java.lang.reflect.InvocationTargetException >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) >> at >> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:132) >> ... 8 more >> Caused by: java.lang.StackOverflowError >> at java.lang.Exception.<init>(Exception.java:102) >> at >> java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89) >> at >> java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72) >> at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown >> Source) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:526) >> at java.lang.Class.newInstance(Class.java:383) >> at >> org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer.init(RangerHdfsAuthorizer.java:65) >> >> >> >> >> > -- Regards: HAFIZ MUJADID
