Underlying authorizer implementation sometimes need the associated app id for the purpose of auditing.
attached the patch.
The authorizer api is changed to include the app id and name.
This message was automatically generated.
Fix the warnings, several check style warnings are left not fixed because they are not necessary.
+1, pending Jenkins.
Committed to trunk/branch-2, thanks Jian He!
FAILURE: Integrated in Hadoop-trunk-Commit #9099 (See https://builds.apache.org/job/Hadoop-trunk-Commit/9099/)
YARN-4571. Make app id/name available to the yarn authorizer provider (wangda: rev c0537bcd2c2dcdb4812fcab7badf42e4f55a54d9)