Class RMAppKillByClientEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<RMAppEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppEvent
org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppKillByClientEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<RMAppEventType>
An event class that is used to help with logging information
when an application KILL event is needed.
-
Constructor Summary
ConstructorsConstructorDescriptionRMAppKillByClientEvent(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. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.hadoop.security.UserGroupInformationreturns theUserGroupInformationinformation.final InetAddressgetIp()returns the ip address stored in this event.Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppEvent
getApplicationId, getDiagnosticMsgMethods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
RMAppKillByClientEvent
public 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.- Parameters:
appId- application iddiagnostics- message about the kill eventcallerUGI- caller's user and group informationremoteIP- ip address of the caller
-
-
Method Details
-
getCallerUGI
public final org.apache.hadoop.security.UserGroupInformation getCallerUGI()returns theUserGroupInformationinformation.- Returns:
- UserGroupInformation
-
getIp
returns the ip address stored in this event.- Returns:
- remoteIP
-