hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7488) Implement HConnectionManager.locateRegions which is currently returning null.
Date Fri, 04 Jan 2013 01:13:25 GMT

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

Matteo Bertozzi commented on HBASE-7488:

    public List<HRegionLocation> locateRegions(final byte [] tableName)
    public List<HRegionLocation> locateRegions(byte[] tableName)
tableName has lost a final, but doesn't changed in the method, and is just passed to another
locateRegions() with the tableName as final. (just add it back)

      return parseRegionName(regionName)[1];
    } catch (IOException e) {
        "Error while retrieving the start key from region " + ytes.toStringBinary(regionName),
Not sure if we should be silent about that... the regioName is malformed and the request goes
on with a null key, and the result probably is not the one expected.
> Implement HConnectionManager.locateRegions which is currently returning null.
> -----------------------------------------------------------------------------
>                 Key: HBASE-7488
>                 URL: https://issues.apache.org/jira/browse/HBASE-7488
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>            Priority: Critical
>              Labels: HConnectionManager
>         Attachments: HBASE-7488-v0-0.94.patch, HBASE-7488-v0-trunk.patch, HBASE-7488-v1-trunk.patch,
HBASE-7488-v2-trunk.patch, HBASE-7488-v3-trunk.patch, HBASE-7488-v4-trunk.patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message