Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C60F3DF2F for ; Tue, 25 Sep 2012 09:27:12 +0000 (UTC) Received: (qmail 45133 invoked by uid 500); 25 Sep 2012 09:27:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 45009 invoked by uid 500); 25 Sep 2012 09:27:12 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 44955 invoked by uid 99); 25 Sep 2012 09:27:10 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 09:27:10 +0000 Date: Tue, 25 Sep 2012 20:27:10 +1100 (NCT) From: "Vinay (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1271432696.121228.1348565230249.JavaMail.jiratomcat@arcas> In-Reply-To: <2060379642.16889.1335962694828.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HDFS-3347) NullPointerException When trying to log to editstreams MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinay resolved HDFS-3347. ------------------------- Resolution: Duplicate Already fixed in HDFS-3026, > NullPointerException When trying to log to editstreams > ------------------------------------------------------ > > Key: HDFS-3347 > URL: https://issues.apache.org/jira/browse/HDFS-3347 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Environment: HDFS > Reporter: amith > Assignee: amith > > When i try to create a file i got a exception > {code} > 2012-05-02 17:42:55,768 DEBUG hdfs.StateChange (NameNodeRpcServer.java:create(402)) - *DIR* NameNode.create: file /a._COPYING_ for DFSClient_NONMAPREDUCE_1515782500_1 at 10.18.40.95 > 2012-05-02 17:42:55,770 DEBUG hdfs.StateChange (FSNamesystem.java:startFileInternal(1547)) - DIR* NameSystem.startFile: src=/a._COPYING_, holder=DFSClient_NONMAPREDUCE_1515782500_1, clientMachine=10.18.40.95, createParent=true, replication=1, createFlag=[CREATE, OVERWRITE] > 2012-05-02 17:42:55,778 WARN ipc.Server (Server.java:run(1701)) - IPC Server handler 1 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.create from 10.18.40.95:37973: error: java.lang.NullPointerException > java.lang.NullPointerException > at org.apache.hadoop.hdfs.server.namenode.FSEditLog.logEdit(FSEditLog.java:348) > at org.apache.hadoop.hdfs.server.namenode.FSEditLog.logGenerationStamp(FSEditLog.java:755) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.nextGenerationStamp(FSNamesystem.java:4357) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1621) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:1509) > at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:409) > at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:200) > at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:42590) > at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:428) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:905) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1688) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1684) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1205) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1682) > {code} > analysing the same, will provide the details soon. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira