hbase-issues 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-9710) Use the region name, not the encoded name, in exceptions
Date Fri, 04 Oct 2013 16:41:42 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786308#comment-13786308
] 

Jean-Daniel Cryans commented on HBASE-9710:
-------------------------------------------

Bytes.toStringBinary() should be used here instead of creating a new String. Also the jira's
title seem to imply a much wider scope than what's in the patch.

> Use the region name, not the encoded name, in exceptions
> --------------------------------------------------------
>
>                 Key: HBASE-9710
>                 URL: https://issues.apache.org/jira/browse/HBASE-9710
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.95.2, 0.96.0
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>         Attachments: 0001-Log-the-region-name-instead-of-the-encoded-region-na.patch
>
>
> When we throw a {{RegionOpeningException}} or a {{NotServingRegionException}} we put
the encoded region name in the exception, which isn't super useful.  I propose putting the
region name instead.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message