Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 83493 invoked from network); 30 Dec 2009 22:38:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Dec 2009 22:38:04 -0000 Received: (qmail 97362 invoked by uid 500); 30 Dec 2009 22:38:00 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 97272 invoked by uid 500); 30 Dec 2009 22:37:58 -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 97255 invoked by uid 99); 30 Dec 2009 22:37:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2009 22:37:56 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 30 Dec 2009 22:37:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6C72B234C045 for ; Wed, 30 Dec 2009 14:37:29 -0800 (PST) Message-ID: <1602012794.1262212649429.JavaMail.jira@brutus.apache.org> Date: Wed, 30 Dec 2009 22:37:29 +0000 (UTC) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-2025) 0.20.2 accessed from older client throws UndeclaredThrowableException; frustrates rolling upgrade In-Reply-To: <840413798.1259788340631.JavaMail.jira@brutus> 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/HBASE-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795474#action_12795474 ] stack commented on HBASE-2025: ------------------------------ +1 on applying the patch. The sort makes it so we can't add a new method between versions because it will throw off the ids? So it seems like we can only add a new method to an interface IFF it is an override of an already-existing method? > 0.20.2 accessed from older client throws UndeclaredThrowableException; frustrates rolling upgrade > ------------------------------------------------------------------------------------------------- > > Key: HBASE-2025 > URL: https://issues.apache.org/jira/browse/HBASE-2025 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Assignee: Jean-Daniel Cryans > Priority: Blocker > Fix For: 0.20.3 > > Attachments: HBASE-2025.patch > > > From the list: > {code} > After upgrading HBase from 0.20.0 to 0.20.2 I am getting following error > message: > java.lang.reflect.UndeclaredThrowableException > at $Proxy2.getRegionInfo(Unknown Source) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:931) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:573) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:549) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:623) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:582) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:549) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:623) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:586) > at > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:549) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:125) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:103) > at com.xxxx.OrderLoader$CustomerReducer.setup(OrderLoader.java:81) > at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:172) > at org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:563) > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:408) > at org.apache.hadoop.mapred.Child.main(Child.java:170) > Caused by: org.apache.hadoop.ipc.RemoteException: java.io.IOException: > java.lang.NullPointerException > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:723) > at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:328) > ... 17 more > This is happening for the following line in my code: > this.table = new HTable(new HBaseConfiguration(), tableName); > This used to work flawlessly before, so seems like something changed in > HBaseConfiguration, may be? I am looking into this, but any pointers would > be greatly appreciated. > {code} > We should figure what we broke. Try fix for 0.20.3. In future, as part of release, try accessing cluster with an older client to ensure we've not done something that would frustrate rolling upgrade. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.