AnsweredAssumed Answered

failure to login: No LoginModules configured for hadoop_simple

Question asked by hokamsingh on Jan 23, 2015
Latest reply on May 31, 2017 by mandoskippy

My use case is to write the data in maprfs. To achieve this I implemented a sample class which just create a file in maprfs and write data in it.

This implementation is working fine and writing the data in maprfs file when I am running this using
`java -cp maprfswrite.jar com.mapr.service.MapRFSService maprfs://` command.

But when I am running the same implementation by integrating this code with the storm topology implementation (bolt ,spout) to write the streaming data in maprfs it is throwing the below exception while getting the FileSystem object.

    Caused by: failure to login: No LoginModules configured for hadoop_simple
            at ~[stormjar.jar:na]
            at ~[stormjar.jar:na]
            at ~[stormjar.jar:na]
            at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>( ~[stormjar.jar:na]
            at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>( ~[stormjar.jar:na]
            at org.apache.hadoop.fs.FileSystem$Cache.get( ~[stormjar.jar:na]
            at org.apache.hadoop.fs.FileSystem.get( ~[stormjar.jar:na]
            at com.mapr.service.MapRFSService.init( ~[stormjar.jar:na]
            ... 8 common frames omitted
    Caused by: No LoginModules configured for hadoop_simple
            at ~[na:1.7.0_60]
            at<init>( ~[na:1.7.0_60]
            at ~[stormjar.jar:na]
            at ~[stormjar.jar:na]
            ... 15 common frames omitted

Please help if anyone faced such issue while running the maprfs implementation over the storm.