hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay vyas <jayunit100.apa...@gmail.com>
Subject UserGroupInformation.getLoginUser: failure to login.
Date Thu, 16 Jun 2016 15:29:06 GMT
Hi hadoop.

I recently ran a spark job that uses the hadoop.security libraries for
login (spark context does this)...

It threw an exception:

java.io.IOException: failure to login
    at
org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:700)
    at
org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:571)
    at
org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2181)
    at
org.apache.spark.util.Utils$$anonfun$getCurrentUserName$1.apply(Utils.scala:2181)
    at scala.Option.getOrElse(Option.scala:120)

And the root exception was:

Caused by: javax.security.auth.login.LoginException:
java.lang.NullPointerException: invalid null input: name

This is running in a docker container.  Is there anything in particular I
need to do to run such containers (i.e. do we have a privileged requirement
for UserGrouInfo or anything like that?)...


--
jay vyas

Mime
View raw message