lujie created HDFS-15696:
----------------------------

             Summary: One pontential NPE
                 Key: HDFS-15696
                 URL: https://issues.apache.org/jira/browse/HDFS-15696
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: lujie


peek can return null at 

[https://github.com/apache/hbase/blob/1726160839368df14602da1618e3538955b25f74/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/KeyValueHeap.java#L108]

 

all its callers have null checker except at 

[https://github.com/apache/hbase/blob/1726160839368df14602da1618e3538955b25f74/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ReversedKeyValueHeap.java#L110]

We shoud add null check for pontential NPE



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to