Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8AB99667 for ; Thu, 8 Dec 2011 03:35:28 +0000 (UTC) Received: (qmail 33870 invoked by uid 500); 8 Dec 2011 03:35:27 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 33829 invoked by uid 500); 8 Dec 2011 03:35:27 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 33819 invoked by uid 99); 8 Dec 2011 03:35:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 03:35:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.161.169 as permitted sender) Received: from [209.85.161.169] (HELO mail-gx0-f169.google.com) (209.85.161.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2011 03:35:18 +0000 Received: by ggni2 with SMTP id i2so1683260ggn.14 for ; Wed, 07 Dec 2011 19:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Lbjc48dYdG7ObzSpAwfFUSAVlHTXsRPIwQlMJcAS3yI=; b=JPZIvukaru0wBRLzh95XJ0ndr5jfY0q8VERJX+gCJLhSsqJ+2wx0PPgAKenyS12hI5 wVSONyw8lluot/+cZx59ZFK+SNJlI/NrP089MZPEu9XOTjMeqxPgot2i9eV5AF1Er5pC QvIR4IRxDYkFIzX4N6qStKP7xmMzXaCYfCuBQ= MIME-Version: 1.0 Received: by 10.182.7.100 with SMTP id i4mr271809oba.43.1323315298061; Wed, 07 Dec 2011 19:34:58 -0800 (PST) Sender: saint.ack@gmail.com Received: by 10.182.225.5 with HTTP; Wed, 7 Dec 2011 19:34:58 -0800 (PST) In-Reply-To: References: Date: Wed, 7 Dec 2011 19:34:58 -0800 X-Google-Sender-Auth: YSzTz6fBaVq8z8sNTx34DZDn2p4 Message-ID: Subject: Re: [HBaseClient] Null pointer exception in receiveResponse From: Stack To: dev@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Dec 7, 2011 at 5:30 PM, Shrijeet Paliwal wrote: > Hi, > Version in which I observed issue: 0.90.3 + RPC timeout patch > Version affected : trunk > > Stack trace: > > 2011-11-30 13:10:26,557 [IPC Client (47) connection to > inw-68.rfiserve.net/172.22.4.68:60020 from an unknown user] WARN > =A0org.apache.hadoop.ipc.HBaseClient - Unexpected exception receiving cal= l > responses > java.lang.NullPointerException >>-at > org.apache.hadoop.hbase.ipc.HBaseClient$Connection.receiveResponse(HBaseC= lient.java:583) >>-at > org.apache.hadoop.hbase.ipc.HBaseClient$Connection.run(HBaseClient.java:5= 11) > > I think line number #3 here http://pastie.org/2983633 may return a null > 'call'. It is so because if you rpc timeout enable, we proactively clean = up > other calls which have expired their lifetime along with the call for whi= ch > socket > timeout exception happend (refer to this method : private void > cleanupCalls(long rpcTimeout)) . > > Please let me know if what I am thinking makes sense. > Is line #583 in your HBaseClient line #14 in your pastebin? (When I look at 0.90.3 tag, line #583 takes me someplace unrelated: http://svn.apache.org/viewvc/hbase/tags/0.90.3/src/main/java/org/apache/had= oop/hbase/ipc/HBaseClient.java?revision=3D1125027&view=3Dmarkup) Your reasoning seems fine to me. St.Ack