adoroszlai opened a new pull request #2879: URL: https://github.com/apache/ozone/pull/2879
## What changes were proposed in this pull request? Fix pipeline ID comparison in datanode chunk validator. The problem was that the result of `PipelineID.toString()` includes the prefix `PipelineID=`, and this was being compared to the plain pipeline ID provided in command-line argument. We should be comparing only the actual ID. https://issues.apache.org/jira/browse/HDDS-5999 ## How was this patch tested? Manual test: ``` $ p=$(ozone admin pipeline list --filterByFactor ONE | cut -f1 -d',' | cut -f3 -d' ' | head -1) $ ozone freon dcg -n10 -t1 -p dcg1 --pipeline "$p" ... 2021-12-01 07:01:35,208 [main] INFO freon.DatanodeChunkGenerator: Writing to pipeline: PipelineID=6fedc039-b936-43b3-969a-2e3d75331c44 ... Successful executions: 10 $ ozone freon dcv -n10 -t1 -p dcg1 --pipeline "$p" ... Successful executions: 10 ``` CI: https://github.com/adoroszlai/hadoop-ozone/runs/4377884390 -- 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]
