Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
KarthikGs
Creator
Creator

[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
Labels (3)
3 Replies
Anonymous
Not applicable

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
KarthikGs
Creator
Creator
Author

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
Anonymous
Not applicable

Hi,
Great this issue has been fixed. Could you please mark this topic as resolved?
Best regards
Sabrina