sumitagrawl commented on PR #3826:
URL: https://github.com/apache/ozone/pull/3826#issuecomment-1276362571

   > Thanks @sumitagrawl for checking. I have never seen this problem before 
(we collect [test results](https://github.com/adoroszlai/ozone-build-results) 
from `master` branch), so until we gather more info I have to assume that it's 
related to this change. I have started repeated runs both with and without this 
change.
   
   Unable to reproduce locally, but from logs from CI, its happening because 
Metrics system try to unregister, but that information is not present in 
registry and there is no check for non-existence causing null pointer 
exception, that part of code is from hadoop.
   
   This may occur if shutdown of SCM clears cache, which is static registry, 
others can be impacted if also registered.
   
   I have changed unregister logic to remove only one as part of the SCM cache 
only registered, (not performing global cleanup now, as our test cases have 
multiple instance running in same memory of static cache).


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