adoroszlai opened a new pull request #3035: URL: https://github.com/apache/ozone/pull/3035
## What changes were proposed in this pull request? Avoid unnecessarily using `getLegacyFactory`, to make Datanode Chunk Validator work even if there are EC pipelines in the cluster. https://issues.apache.org/jira/browse/HDDS-6252 ## How was this patch tested? ``` $ ozone sh volume create /vol1 # create an EC pipeline $ ozone sh bucket create --replication rs-3-2-1024k --type EC /vol1/becket $ ozone sh key put /vol1/becket/passwd /etc/passwd # test DCG/DCV $ echo log4j.logger.org.apache.hadoop.ozone.freon=DEBUG >> /etc/hadoop/log4j.properties $ ozone freon dcg -t1 -n100 -p dcg ... $ ozone freon dcv -t1 -n100 -p dcg ... [main] DEBUG freon.DatanodeChunkValidator: Found pipeline PipelineID=47a983b3-6b22-4330-9406-75601aeba8e1 ... [main] INFO freon.DatanodeChunkValidator: Using pipeline PipelineID=28f4f444-a174-4607-8e9e-060339a8801b ... Successful executions: 100 # check ID of EC pipeline (compare to output of dcv) $ ozone admin pipeline list | grep 'ReplicationConfig: EC' Pipeline[ Id: 47a983b3-6b22-4330-9406-75601aeba8e1, ... ``` CI (with no EC pipeline yet) still OK: https://github.com/adoroszlai/hadoop-ozone/runs/5042702809#step:5:669 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
