Seven Stars

[resolved] java.io.IOException: failure to login: No LoginModules configured for

down votefavorite
I'm trying to run my first Talend job from TAC. I'm trying to call big data batch from a standard job. It is running fine from the local cluster, but while running the same job from TAC i'm facing this error.

moment;pid;root_pid;father_pid;project;job;context;priority;type;origin;message;code
2017-02-13 07:54:29;20170213075427_jnxLB;20170213075427_jnxLB;20170213075427_jnxLB;ELT_3_0;CustomerDataLoad;hadoop;6;Java Exception;tRunJob_2;java.lang.RuntimeException:Child job returns 1. It doesn't terminate normally.
java.io.IOException: failure to login: No LoginModules configured for hadoop_simple
at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:724)
at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:676)
at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:560)
at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2784)
at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2776)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2642)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:404)
at org.apache.hadoop.fs.FileSystem.getLocal(FileSystem.java:375)
at org.apache.hadoop.util.GenericOptionsParser.validateFiles(GenericOptionsParser.java:392)
at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:288)
at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:479)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:170)
at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:153)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:64)
at elt_3_0.hbase_customertable_0_1.Hbase_customertable.runJobInTOS(Hbase_customertable.java:38664)
at elt_3_0.hbase_customertable_0_1.Hbase_customertable.main(Hbase_customertable.java:38642)
Caused by: javax.security.auth.login.LoginException: No LoginModules configured for hadoop_simple
at javax.security.auth.login.LoginContext.init(LoginContext.java:272)
at javax.security.auth.login.LoginContext.<init>(LoginContext.java:389)
at org.apache.hadoop.security.UserGroupInformation.newLoginContext(UserGroupInformation.java:450)
at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:696)
... 15 more

Any help is appreciated
3 REPLIES
Moderator

Re: [resolved] java.io.IOException: failure to login: No LoginModules configured for

Hi,
Are you local cluster and TAC on different server? Could you please indicate on which build version you got this issue?
Could you please take a look at this jira issue:https://jira.talendforge.org/browse/TBD-2716 to see if you are getting missing jar error on your end?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Seven Stars

Re: [resolved] java.io.IOException: failure to login: No LoginModules configured for

Resolved it, TAC and local server were on the same cluster.
Added this property in JVM parameters:
-Djava.security.auth.login.config =/opt/mapr/conf/mapr.login.conf
Moderator

Re: [resolved] java.io.IOException: failure to login: No LoginModules configured for

Hi,
Great this issue has been fixed. Could you please mark this topic as resolved?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.