public class RMAppKillByClientEvent extends RMAppEvent
Constructor and Description |
---|
RMAppKillByClientEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String diagnostics,
org.apache.hadoop.security.UserGroupInformation callerUGI,
InetAddress remoteIP)
constructor to create an event used for logging during user driven kill
invocations.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.security.UserGroupInformation |
getCallerUGI()
returns the
UserGroupInformation information. |
InetAddress |
getIp()
returns the ip address stored in this event.
|
getApplicationId, getDiagnosticMsg
public RMAppKillByClientEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId, String diagnostics, org.apache.hadoop.security.UserGroupInformation callerUGI, InetAddress remoteIP)
appId
- application iddiagnostics
- message about the kill eventcallerUGI
- caller's user and group informationremoteIP
- ip address of the callerpublic final org.apache.hadoop.security.UserGroupInformation getCallerUGI()
UserGroupInformation
information.public final InetAddress getIp()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.