hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15848) Fix possible null point dereference in RSGroupBasedLoadBalancer#getMisplacedRegions()
Date Tue, 17 May 2016 23:31:13 GMT

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

Hudson commented on HBASE-15848:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #925 (See [https://builds.apache.org/job/HBase-Trunk_matrix/925/])
HBASE-15848 Fix possible null point dereference in (syuanjiangdev: rev 2c22e2003cfbccc053f072201ad27079fed5b03b)
* hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java


> Fix possible null point dereference in RSGroupBasedLoadBalancer#getMisplacedRegions()
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-15848
>                 URL: https://issues.apache.org/jira/browse/HBASE-15848
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 2.0.0
>            Reporter: Stephen Yuan Jiang
>            Assignee: Stephen Yuan Jiang
>            Priority: Trivial
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15848.v1-master.patch
>
>
> Possible null pointer dereference of local variable 'info' in the function RSGroupBasedLoadBalancer#getMisplacedRegions():
> {code}
>       if (assignedServer != null &&
>           (info == null || !info.containsServer(assignedServer.getHostPort()))) {
>         LOG.debug("Found misplaced region: " + region.getRegionNameAsString() +
>             " on server: " + assignedServer +
>             " found in group: " +
>             RSGroupInfoManager.getRSGroupOfServer(assignedServer.getHostPort()) +
>             " outside of group: " + info.getName());
>         misplacedRegions.add(region);
>       }
> {code}



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

Mime
View raw message