Hafiz,

Please see mail on user mailing list with subject line "Ranger 0.5 Source
location".
The mail was from Selva.
If you checkout 0.5 branch and build it, you are not really getting the
real 0.5 release.

You can get the release source code for 0.5  release from:
http://people.apache.org/~sneethir/ranger/ranger-0.5.0-rc3/ranger-0.5.0.tar.gz

Please try building from that source and confirm if you still see the
problem.
I think you would not see the problem with that source.

Thanks
Dilli



On Sun, Nov 29, 2015 at 3:18 AM, Hafiz Mujadid <[email protected]>
wrote:

> Hi,
> I tried with hadoop 2.7.0 but facing same exception.
> Anybody please what is the issue ?
>
>
> On Sun, Nov 29, 2015 at 2:52 PM, Hafiz Mujadid <[email protected]>
> wrote:
>
>> hadoop/lib contains following jar files, I also placed these ranger
>> related jars in hadoop/share/hdfs/lib folder
>>
>>
>> *ranger-hdfs-plugin-shim-0.5.0.jar   ranger-plugin-classloader-0.5.0.jar*
>> *native folder with following files*
>> libhadoop.a  libhadooppipes.a  libhadoop.so  libhadoop.so.1.0.0
>>  libhadooputils.a  libhdfs.a  libhdfs.so  libhdfs.so.0.0.0
>>
>>
>>
>> *attached is the complete log file *
>>
>> *thanks*
>>
>>
>> On Sun, Nov 29, 2015 at 11:37 AM, Ramesh Mani <[email protected]>
>> wrote:
>>
>>> Hafiz,
>>>
>>> Please list the files in  hadoop/lib directory , also provide the
>>> complete namenode log for me to review?
>>>
>>> Thanks,
>>> Rame
>>>
>>> From: Hafiz Mujadid <[email protected]>
>>> Reply-To: "[email protected]" <
>>> [email protected]>
>>> Date: Saturday, November 28, 2015 at 11:51 AM
>>> To: "[email protected]" <[email protected]
>>> >
>>> Subject: hdfs plugin enable issue
>>>
>>> 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
>>
>
>
>
> --
> Regards: HAFIZ MUJADID
>

Reply via email to