From user-return-42-apmail-hadoop-user-archive=hadoop.apache.org@hadoop.apache.org Wed Aug 8 11:19:34 2012 Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11ED59C74 for ; Wed, 8 Aug 2012 11:19:34 +0000 (UTC) Received: (qmail 22355 invoked by uid 500); 8 Aug 2012 11:19:28 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 21932 invoked by uid 500); 8 Aug 2012 11:19:22 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 21905 invoked by uid 99); 8 Aug 2012 11:19:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2012 11:19:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yao.erix@gmail.com designates 209.85.161.176 as permitted sender) Received: from [209.85.161.176] (HELO mail-gg0-f176.google.com) (209.85.161.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2012 11:19:13 +0000 Received: by ggcs6 with SMTP id s6so707224ggc.35 for ; Wed, 08 Aug 2012 04:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; bh=42yw2RGJTVmXy0nsEBl3nAqvD0Dp8h2RJiqnVQ4v0nY=; b=YqVR7GHvVFXqoo5fpNqD5VZa4lboUg5YSy8ilcBNnBktC7Y6LRec+q73cqs6bO37F5 ztISDoy+7rnZdyMtJU0dQ99k7qyDpjiK9rpOcKnzaPSdcQ7TMgJl2j2i9auxxqhKDgA9 AdcX0RZ49XkacrxaimEuqhKCJnbY4BPRSu044TWomjEBYoSuNtGh7yibJPb1nRJyegTm V9kbFawL0lEoMdueQenj/4G/3P24limKorF0TVwMLcIjDuVfMqYZLedOdJT3yDrnxpp3 X0VH4xlgZYBt5PBmM4GU4Hfexw3TUeBbxom97cXSmWAf286jAZfB4c9kLuM7qJkIQ09Q 4ZJA== Received: by 10.66.75.97 with SMTP id b1mr33198101paw.15.1344424732128; Wed, 08 Aug 2012 04:18:52 -0700 (PDT) Received: from [10.130.136.92] ([218.205.184.198]) by mx.google.com with ESMTPS id os1sm3698015pbc.31.2012.08.08.04.18.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Aug 2012 04:18:49 -0700 (PDT) From: Haitao Yao Content-Type: multipart/alternative; boundary="Apple-Mail=_58D6D9F7-53AD-42A6-BB83-04E8DF5F8B0A" Subject: JobTracker got NPE while submitting jobs Date: Wed, 8 Aug 2012 19:18:36 +0800 Message-Id: To: user@hadoop.apache.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_58D6D9F7-53AD-42A6-BB83-04E8DF5F8B0A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii hi, all I got a NPE while using job tracker, here's the stack trace: 2012-08-08 00:35:22,648 INFO org.apache.hadoop.ipc.Server: IPC Server = handler 5 on 8012, call submitJob(job_201208071030_3456, = hdfs://DC-hadoop01:9000/home/hadoop/hdfs/hdfstmp/mapred/staging/hadoop/.st= aging/job_201208071030_3456, = org.apache.hadoop.security.Credentials@4ff3b079) from = 10.20.100.34:19728: error: java.io.IOException: = java.lang.NullPointerException java.io.IOException: java.lang.NullPointerException at = org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3644) at = org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3611) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:578) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1393) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1389) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at = org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.= java:1136) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1387) Caused by: java.lang.NullPointerException at = org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.closeThreads(DFSClient.ja= va:4026) at = org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.closeInternal(DFSClient.j= ava:4069) at = org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.close(DFSClient.java:4004= ) at = org.apache.hadoop.hdfs.DFSClient$LeaseChecker.close(DFSClient.java:1514) at org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:383) at = org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.j= ava:339) at = org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:1499) at = org.apache.hadoop.fs.FileSystem.closeAllForUGI(FileSystem.java:289) at = org.apache.hadoop.mapred.JobInProgress.(JobInProgress.java:491) at = org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3642) hadoop version: git-svn-id: = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1366551 = 13f79535-47bb-0310-9956-ffa450edef68 Is there any bug in FileSystem class? Haitao Yao yao.erix@gmail.com weibo: @haitao_yao Skype: haitao.yao.final --Apple-Mail=_58D6D9F7-53AD-42A6-BB83-04E8DF5F8B0A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii I got a NPE while using job = tracker, here's the stack = trace:

2012-08-08 00:35:22,648 INFO = org.apache.hadoop.ipc.Server: IPC Server handler 5 on 8012, call = submitJob(job_201208071030_3456, hdfs://DC-hadoop01:9000/home/hadoop/h= dfs/hdfstmp/mapred/staging/hadoop/.staging/job_201208071030_3456, = org.apache.hadoop.security.Credentials@4ff3b079) from = 10.20.100.34:19728: error: java.io.IOException: = java.lang.NullPointerException
java.io.IOException: = java.lang.NullPointerException
        at = org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3644)
<= div>        at = org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3611)
<= div>        at = sun.reflect.GeneratedMethodAccessor19.invoke(Unknown = Source)
        at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:43)
        at = java.lang.reflect.Method.invoke(Method.java:601)
    =     at = org.apache.hadoop.ipc.RPC$Server.call(RPC.java:578)
  =       at = org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1393)
&nb= sp;       at = org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1389)
&nb= sp;       at = java.security.AccessController.doPrivileged(Native = Method)
        at = javax.security.auth.Subject.doAs(Subject.java:415)
  =       at = org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.= java:1136)
        at = org.apache.hadoop.ipc.Server$Handler.run(Server.java:1387)
Cause= d by: java.lang.NullPointerException
      =   at = org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.closeThreads(DFSClient.ja= va:4026)
        at = org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.closeInternal(DFSClient.j= ava:4069)
        at = org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.close(DFSClient.java:4004= )
        at = org.apache.hadoop.hdfs.DFSClient$LeaseChecker.close(DFSClient.java:1514)
        at = org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:383)
 = ;       at = org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.j= ava:339)
        at = org.apache.hadoop.fs.FileSystem$Cache.closeAll(FileSystem.java:1499)
=
        at = org.apache.hadoop.fs.FileSystem.closeAllForUGI(FileSystem.java:289)
<= div>        at = org.apache.hadoop.mapred.JobInProgress.<init>(JobInProgress.java:491= )
        at = org.apache.hadoop.mapred.JobTracker.submitJob(JobTracker.java:3642)
<= /div>


hadoop version: =  git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1= 366551 = 13f79535-47bb-0310-9956-ffa450edef68


Is there any bug in FileSystem class?


Haitao = Yao
weibo:=  @haitao_yao
Skype: =  haitao.yao.final

= --Apple-Mail=_58D6D9F7-53AD-42A6-BB83-04E8DF5F8B0A--