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

Jonathan Hsieh commented on HBASE-10231:
----------------------------------------

shouldn't it warn if the value is null?

> Potential NPE in HBaseFsck#checkMetaRegion()
> --------------------------------------------
>
>                 Key: HBASE-10231
>                 URL: https://issues.apache.org/jira/browse/HBASE-10231
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 10231-v1.txt
>
>
> metaHbckInfo is initialized to null and assigned when metaRegions is not 
> empty.
> However, it is dereferenced unconditionally later (line 2710):
> {code}
>           // try fix it (treat is a dupe assignment)
>           HBaseFsckRepair.fixMultiAssignment(admin, metaHbckInfo.metaEntry, 
> servers);
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to