rjgoyln commented on PR #11111:
URL: https://github.com/apache/ozone/pull/11111#issuecomment-5411360925

   > @hevinhsu could you help to check this when you are available? We have 
merged [HDDS-16018](https://issues.apache.org/jira/browse/HDDS-16018) so 
technically the workaround in 
[HDDS-14812](https://issues.apache.org/jira/browse/HDDS-14812) that is causing 
this issue is not needed anymore? Can we revert the workaround instead?
   
   Thanks for checking! I actually tried reverting it completely at first, but 
it caused `TestRackAwarePlacement` to fail. 
   
   It turns out HDDS-14812 introduced **two** workarounds. While HDDS-16018 
fixed the mapping issue, we still need the `datanode.id` file for tests with 
synthetic hostnames. Without it, DNS lookups fail, causing a missing 
`ipAddress` error (tracked in 
[HDDS-16007](https://issues.apache.org/jira/browse/HDDS-16007)). 
   
   Therefore, this PR only keeps the file for those specific test cases and 
cleans up the rest.


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