adoroszlai commented on PR #3186:
URL: https://github.com/apache/ozone/pull/3186#issuecomment-1141845545

   > in the previous commits of this PR, I was introducing a new property 
`hdds.datanode.use.hostname` for `datanodeUseHostName()` method in 
`RatisHelper` class. Is it possible that the testing was still using the old 
built jar?
   
   No, using previous build's jar is not possible.
   
   I think I found the problem: we also need to add the config to 
`hadoop-ozone/dist/src/main/k8s/definitions/ozone/config.yaml`.  The 
descriptors in `examples` are overwritten during the test by `flekszible` based 
on the input in `definitions`:
   
   ```
   **** Modifying Kubernetes resources file for test ****
   
      (mounting current Ozone directory to the containers, scheduling 
containers to one node, ...)
   ```
   
   
https://github.com/adoroszlai/hadoop-ozone/commit/8193489cc9a7495d35459bd6e40bce39104426dc
 has the fix.
   
   Now test may pass, but may also fail intermittently, depending on when 
pipelines are closed and new ones created.
   
    * Passed: 
https://github.com/adoroszlai/hadoop-ozone/actions/runs/2413338324#artifacts
    * Failed (with same code, except debug log): 
https://github.com/adoroszlai/hadoop-ozone/actions/runs/2413323705#artifacts


-- 
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]

Reply via email to