[ https://issues.apache.org/jira/browse/HBASE-23650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sangjiaqi updated HBASE-23650: ------------------------------ Attachment: (was: HBASE-23650.patch) > lack of HMaster parameters in the SnapshotLogCleaner leads to NLP > ----------------------------------------------------------------- > > Key: HBASE-23650 > URL: https://issues.apache.org/jira/browse/HBASE-23650 > Project: HBase > Issue Type: Bug > Affects Versions: 1.2.11 > Reporter: sangjiaqi > Priority: Major > Fix For: 1.2.11 > > Attachments: HBASE-23650.patch > > > NullPointException occurs when the SnapshotCleaner calls the init function to > initialize the HMaster parameter. Similar to the construction method of > HFileCleaner, because the construction method of LogCleaner did not have > HMaster parameter, leading to errors. Therefore, the construction method of > LogCleaner solves the problem by adding HMaster parameters. > The Log: > {code:java} > java.lang.NullPointerExceptionjava.lang.NullPointerException at > org.apache.hadoop.hbase.master.snapshot.SnapshotLogCleaner.init(SnapshotLogCleaner.java:74) > at > org.apache.hadoop.hbase.master.cleaner.TestSnapshotAndLogCleaner.testSnapshotLogCleaning(TestSnapshotAndLogCleaner.java:68){code} -- This message was sent by Atlassian Jira (v8.3.4#803005)