[
https://issues.apache.org/jira/browse/MAPREDUCE-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838788#action_12838788
]
Rodrigo Schmidt commented on MAPREDUCE-1537:
--------------------------------------------
If it helps, this is the error that I'm getting in TestRaidHar inside
contrib/raid:
[junit] java.io.IOException: java.lang.NullPointerException
[junit] at
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.createPassword(AbstractDelegationTokenSecretManager.java:189)
[junit] at
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.createPassword(AbstractDelegationTokenSecretManager.java:45)
[junit] at org.apache.hadoop.security.token.Token.<init>(Token.java:51)
[junit] at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:4445)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.getDelegationToken(NameNode.java:563)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at
org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
[junit] at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1224)
[junit] at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1220)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at javax.security.auth.Subject.doAs(Subject.java:396)
[junit] at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:706)
[junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1218)
[junit] 10/02/26 01:37:46 INFO mapreduce.JobSubmitter: Cleaning up the
staging area
hdfs://localhost:56663/tmp/hadoop-rschmidt/mapred/staging/rschmidt/.staging/job_20100226013723998_0002
[junit] 10/02/26 01:37:46 INFO security.Groups: Returning cached groups for
'rschmidt'
[junit] java.io.IOException: java.lang.NullPointerException
[junit] at
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.createPassword(AbstractDelegationTokenSecretManager.java:189)
[junit] at
org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.createPassword(AbstractDelegationTokenSecretManager.java:45)
[junit] at org.apache.hadoop.security.token.Token.<init>(Token.java:51)
[junit] at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:4445)
[junit] at
org.apache.hadoop.hdfs.server.namenode.NameNode.getDelegationToken(NameNode.java:563)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at
org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342)
[junit] at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1224)
[junit] at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1220)
[junit] at java.security.AccessController.doPrivileged(Native Method)
[junit] at javax.security.auth.Subject.doAs(Subject.java:396)
[junit] at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:706)
[junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1218)
> TestDelegationTokenRenewal fails
> --------------------------------
>
> Key: MAPREDUCE-1537
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1537
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: MR-1537.1.patch
>
>
> TestDelegationTokenRenewal does not compile in trunk.
> The reason is that DelegationTokenSecretManager in hdfs requires namesystem
> in constructor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.