java.io.IOException: failure to login: No LoginModules configured for hadoop_simple

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by jack AKA karthik
, 9 months ago
failure to login: No LoginModules configured for hadoop_simple
via GitHub by robbine
, 1 year ago
via Stack Overflow by Tim Nguyen
, 10 months ago
via Stack Overflow by Glen
, 2 years ago
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.(LoginContext.java:389)
at org.apache.hadoop.security.UserGroupInformation.newLoginContext(UserGroupInformation.java:450)
at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:696)
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.(FileSystem.java:2784)
at org.apache.hadoop.fs.FileSystem$Cache$Key.(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.(GenericOptionsParser.java:170)
at org.apache.hadoop.util.GenericOptionsParser.(GenericOptionsParser.java:153)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.