[ https://issues.apache.org/jira/browse/HDDS-1200?focusedWorklogId=282998&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-282998 ]
ASF GitHub Bot logged work on HDDS-1200: ---------------------------------------- Author: ASF GitHub Bot Created on: 25/Jul/19 23:28 Start Date: 25/Jul/19 23:28 Worklog Time Spent: 10m Work Description: anuengineer commented on pull request #1154: [HDDS-1200] Add support for checksum verification in data scrubber URL: https://github.com/apache/hadoop/pull/1154#discussion_r307538835 ########## File path: hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/keyvalue/TestKeyValueContainerCheck.java ########## @@ -120,10 +132,70 @@ public TestKeyValueContainerCheck(String metadataImpl) { container.close(); // next run checks on a Closed Container - valid = kvCheck.fullCheck(); + valid = kvCheck.fullCheck(new DataTransferThrottler( + HddsConfigKeys.HDDS_CONTAINER_SCANNER_VOLUME_BYTES_PER_SECOND_DEFAULT), + null); assertTrue(valid); } + /** + * Sanity test, when there are corruptions induced. + * @throws Exception + */ + @Test + public void testKeyValueContainerCheckCorruption() throws Exception { Review comment: you can run this test under memory profiler to make sure there are no leaks. Thanks ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 282998) Time Spent: 50m (was: 40m) > Ozone Data Scrubbing : Checksum verification for chunks > ------------------------------------------------------- > > Key: HDDS-1200 > URL: https://issues.apache.org/jira/browse/HDDS-1200 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Supratim Deka > Assignee: Hrishikesh Gadre > Priority: Critical > Labels: pull-request-available > Time Spent: 50m > Remaining Estimate: 0h > > Background scrubber should read each chunk and verify the checksum. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org