Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 80082 invoked from network); 26 Feb 2010 09:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 09:40:51 -0000 Received: (qmail 9346 invoked by uid 500); 26 Feb 2010 09:40:51 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 9294 invoked by uid 500); 26 Feb 2010 09:40:51 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 9286 invoked by uid 99); 26 Feb 2010 09:40:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 09:40:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 09:40:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 30F7429A0015 for ; Fri, 26 Feb 2010 01:40:28 -0800 (PST) Message-ID: <997790005.551211267177228199.JavaMail.jira@brutus.apache.org> Date: Fri, 26 Feb 2010 09:40:28 +0000 (UTC) From: "Rodrigo Schmidt (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1537) TestDelegationTokenRenewal fails In-Reply-To: <1328066885.545911267156472616.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.(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.(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.