Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - Child Error


Copy link to this message
-
Re: Child Error
Jean-Marc Spaggiari 2013-05-28, 14:24
That's strange.

So now each time you are running it it's railing with the exception below?
Or it's sometime working, sometime failing?

also, can you clear you tmp directory and make sure you have enough space
it it before you retry?

JM

2013/5/27 Jim Twensky <[EMAIL PROTECTED]>

> Hi Jean,
>
> I switched to Oracle JDK 1.6 as you suggested and ran a job successfully
> this afternoon which lasted for about 3 hours - this job was producing
> errors with open JDK normally. I then stopped the cluster, re-started it
> again and tried running the same job but I got the same "failure to log'in"
> error using the Oracle JDK. This is really weird and unusual. I am pasting
> the stack trace below. It occurred in 3 different nodes out of 20. Any
> suggestions?
>
>
>
>
>
> Exception in thread "main" java.io.IOException: Exception reading
> file:/var/tmp/jim/hadoop-jim/mapred/local/taskTracker/jim/jobcache/job_201305262239_0002/jobToken
>
>     at
> org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:135)
>     at
> org.apache.hadoop.mapreduce.security.TokenCache.loadTokens(TokenCache.java:165)
>     at org.apache.hadoop.mapred.Child.main(Child.java:92)
> Caused by: java.io.IOException: failure to login
>     at
> org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:501)
>     at
> org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:463)
>     at
> org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1519)
>     at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1420)
>     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
>     at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
>     at
> org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:129)
>     ... 2 more
> Caused by: javax.security.auth.login.LoginException:
> java.lang.NullPointerException: invalid null input: name
>     at com.sun.security.auth.UnixPrincipal.<init>(UnixPrincipal.java:53)
>     at
> com.sun.security.auth.module.UnixLoginModule.login(UnixLoginModule.java:114)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>     at
> javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>     at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
>     at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
>     at
> org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:482)
>
>     at
> org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:463)
>     at
> org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1519)
>     at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1420)
>     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
>     at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
>     at
> org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:129)
>     at
> org.apache.hadoop.mapreduce.security.TokenCache.loadTokens(TokenCache.java:165)
>     at org.apache.hadoop.mapred.Child.main(Child.java:92)
>
>     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
>     at
> javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>     at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)