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

Ted Yu updated HBASE-20609:
---------------------------
    Attachment: 20609.v1.txt

> SnapshotHFileCleaner#init should check that params is not null
> --------------------------------------------------------------
>
>                 Key: HBASE-20609
>                 URL: https://issues.apache.org/jira/browse/HBASE-20609
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 20609.v1.txt
>
>
> Noticed the following in the test output of TestHFileArchiving :
> {code}
> SnapshotHFileCleaner.init(Map<String,Object>) line: 79
> HFileCleaner(CleanerChore<T>).newFileCleaner(String, Configuration) line: 260
> HFileCleaner(CleanerChore<T>).initCleanerChain(String) line: 232
> HFileCleaner(CleanerChore<T>).<init>(String, int, Stoppable, Configuration, 
> FileSystem, Path, String, Map<String,Object>) line: 182
> HFileCleaner.<init>(int, Stoppable, Configuration, FileSystem, Path, 
> Map<String,Object>) line: 104
> HFileCleaner.<init>(int, Stoppable, Configuration, FileSystem, Path) line: 51
> TestHFileArchiving.testCleaningRace() line: 377
> {code}
> This was due to SnapshotHFileCleaner#init not checking the parameter 
> {{params}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to