hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Yuan Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15848) Fix possible null point dereference in RSGroupBasedLoadBalancer#getMisplacedRegions()
Date Tue, 17 May 2016 20:08:12 GMT

     [ https://issues.apache.org/jira/browse/HBASE-15848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephen Yuan Jiang updated HBASE-15848:
---------------------------------------
    Status: Patch Available  (was: Open)

> 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