hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heng Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16570) Compute region locality in parallel at startup
Date Thu, 08 Sep 2016 09:45:20 GMT

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

Heng Chen commented on HBASE-16570:
-----------------------------------

if the future is not null,  it seems you will make the code more clear,  something like that.
 Could we modify the test case because it is just a test case? 
{code}
          HDFSBlocksDistribution blockDistbn = null;
          try {
            blockDistbn = future.get();
          } catch (InterruptedException | ExecutionException e) {
          } finally {
            if (blockDistbn == null) {
              blockDistbn = new HDFSBlocksDistribution();
            }
          }
{code}

> Compute region locality in parallel at startup
> ----------------------------------------------
>
>                 Key: HBASE-16570
>                 URL: https://issues.apache.org/jira/browse/HBASE-16570
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: binlijin
>            Assignee: binlijin
>         Attachments: HBASE-16570-master_V1.patch, HBASE-16570-master_V2.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message