[ 
https://issues.apache.org/jira/browse/YARN-10883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fanshilun updated YARN-10883:
-----------------------------
    Description: 
the Router should record the client address which killed the application

Now the log information is printed as follows:
{code:java}
2022-06-10 08:06:26,322 INFO  [main] router.RouterAuditLogger 
(RouterAuditLogger.java:logSuccess(89)) - USER=test-user    OPERATION=Submit 
New App    TARGET=RouterClientRMService    RESULT=SUCCESS    
APPID=application_1654873569440_0001    SUBCLUSTERID=2{code}
The log of adding IP information is as follows:
{code:java}
2022-06-10 08:09:05,392 INFO  [main] router.RouterAuditLogger 
(RouterAuditLogger.java:logSuccess(89)) - USER=test-user    IP=127.0.0.1    
OPERATION=Submit New App    TARGET=RouterClientRMService    RESULT=SUCCESS    
APPID=application_1654873732359_0001    SUBCLUSTERID=3 {code}
 

  was:
the Router should record the client address which killed the application

Now the log information is printed as follows:
{code:java}
2022-06-10 08:06:26,322 INFO  [main] router.RouterAuditLogger 
(RouterAuditLogger.java:logSuccess(89)) - USER=test-user    OPERATION=Submit 
New App    TARGET=RouterClientRMService    RESULT=SUCCESS    
APPID=application_1654873569440_0001    SUBCLUSTERID=2{code}
 

 


> [Router]add more logs when applications killed by a user
> --------------------------------------------------------
>
>                 Key: YARN-10883
>                 URL: https://issues.apache.org/jira/browse/YARN-10883
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: chaosju
>            Assignee: fanshilun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> the Router should record the client address which killed the application
> Now the log information is printed as follows:
> {code:java}
> 2022-06-10 08:06:26,322 INFO  [main] router.RouterAuditLogger 
> (RouterAuditLogger.java:logSuccess(89)) - USER=test-user    OPERATION=Submit 
> New App    TARGET=RouterClientRMService    RESULT=SUCCESS    
> APPID=application_1654873569440_0001    SUBCLUSTERID=2{code}
> The log of adding IP information is as follows:
> {code:java}
> 2022-06-10 08:09:05,392 INFO  [main] router.RouterAuditLogger 
> (RouterAuditLogger.java:logSuccess(89)) - USER=test-user    IP=127.0.0.1    
> OPERATION=Submit New App    TARGET=RouterClientRMService    RESULT=SUCCESS    
> APPID=application_1654873732359_0001    SUBCLUSTERID=3 {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to