Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 66775 invoked from network); 22 Dec 2008 13:35:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 13:35:08 -0000 Received: (qmail 2044 invoked by uid 500); 22 Dec 2008 13:35:07 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 2024 invoked by uid 500); 22 Dec 2008 13:35:07 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 1993 invoked by uid 99); 22 Dec 2008 13:35:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 05:35:07 -0800 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; Mon, 22 Dec 2008 13:35:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74427234C403 for ; Mon, 22 Dec 2008 05:34:44 -0800 (PST) Message-ID: <96246601.1229952884474.JavaMail.jira@brutus> Date: Mon, 22 Dec 2008 05:34:44 -0800 (PST) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1079) Dumb NPE in ServerCallable hides the RetriesExhausted exception. In-Reply-To: <813976991.1229952766767.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658536#action_12658536 ] Jean-Daniel Cryans commented on HBASE-1079: ------------------------------------------- Current code is : {code} public String getServerName() { if (location == null) { return null; } return location.getServerAddress().toString(); } public byte[] getRegionName() { return location.getRegionInfo().getRegionName(); } {code} getServerName was fixed some time ago, now we need to fix getRegionName. > Dumb NPE in ServerCallable hides the RetriesExhausted exception. > ---------------------------------------------------------------- > > Key: HBASE-1079 > URL: https://issues.apache.org/jira/browse/HBASE-1079 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.18.1 > Reporter: Jean-Daniel Cryans > Fix For: 0.19.0, 0.18.2 > > > From the list (and this is something I've already seen) : > NativeException: java.lang.NullPointerException: null > from org/apache/hadoop/hbase/client/ServerCallable.java:71:in `getRegio > Name' > from org/apache/hadoop/hbase/client/HConnectionManager.java:863:in `get > egionServerWithRetries' > from org/apache/hadoop/hbase/client/MetaScanner.java:56:in `metaScan' > from org/apache/hadoop/hbase/client/MetaScanner.java:30:in `metaScan' > from org/apache/hadoop/hbase/client/HConnectionManager.java:297:in `lis > Tables' > from org/apache/hadoop/hbase/client/HBaseAdmin.java:117:in `listTables' > This is -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.