joseluisll commented on PR #9019:
URL: https://github.com/apache/hadoop/pull/9019#issuecomment-7105265341

   Good catch — agreed. A subcluster whose lookup fails was collapsed with one 
that answered "node absent", so the Router returned 404 even when the 
subcluster owning the node was never checked.
   
   I've fixed `getNode` to keep answers and failed lookups separate: 
`NotFoundException` only when every subcluster answered; a 
`YarnRuntimeException` (503) when at least one lookup failed and no subcluster 
hosts the node — an owner found despite an unrelated failure still resolves 
normally. Added `testReplaceLabelsOnNodePartialFailure` for the mixed case you 
describe. `TestFederationInterceptorREST` passes 82/82.
   


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