Addendum patch for YARN-7163 in branch-2
This commit is contained in:
parent
eaef8446f6
commit
317af87add
@ -109,8 +109,7 @@ protected void render(Block html) {
|
||||
final GetApplicationReportRequest request =
|
||||
GetApplicationReportRequest.newInstance(appID);
|
||||
if (callerUGI == null) {
|
||||
appReport =
|
||||
appBaseProt.getApplicationReport(request).getApplicationReport();
|
||||
appReport = getApplicationReport(request);
|
||||
} else {
|
||||
appReport =
|
||||
callerUGI.doAs(new PrivilegedExceptionAction<ApplicationReport>() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user