hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1079) Dumb NPE in ServerCallable hides the RetriesExhausted exception.
Date Mon, 22 Dec 2008 13:34:44 GMT

    [ 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.


Mime
View raw message