YARN-11670. Add CallerContext in NodeManager#6688
Conversation
dineshchitlangia
left a comment
There was a problem hiding this comment.
+1 LGTM, pending CI
|
💔 -1 overall
This message was automatically generated. |
|
@dineshchitlangia Thank you very much for your review. In my test environment, when running MR jobs, some of the HDFS-audit logs are as follows: |
|
@dineshchitlangia Can you help review this pr again? Thank you very much! |
|
@yangjiandan can you please address the new check style violation? |
|
💔 -1 overall
This message was automatically generated. |
|
@dineshchitlangia @slfan1989 Thank you for your review. The style issue has been addressed and corrected. Could you please take another look? |
|
LGTM. |
|
Thank you, @slfan1989 and @dineshchitlangia, for reviewing my merge request and for your approval. I appreciate your time and feedback. |
|
Thanks @yangjiandan for contribution and @whbing & @slfan1989 for your reviews. |
Description of PR
Currently, MR and Spark have added caller context, enabling tracing of HDFS/ResourceManager operators from Spark apps and MapReduce apps. However, operators from NodeManagers cannot be identified in the audit log. For example, HDFS operations issued from NodeManagers during resource localization cannot be identified.
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?