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>

public class RMAppKillByClientEvent extends RMAppEvent
An event class that is used to help with logging information when an application KILL event is needed.
  • Constructor Summary

    Constructors
    Constructor
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    final org.apache.hadoop.security.UserGroupInformation
    returns the UserGroupInformation information.
    returns the ip address stored in this event.

    Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppEvent

    getApplicationId, getDiagnosticMsg

    Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent

    getTimestamp, getType, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 id
      diagnostics - message about the kill event
      callerUGI - caller's user and group information
      remoteIP - ip address of the caller
  • Method Details

    • getCallerUGI

      public final org.apache.hadoop.security.UserGroupInformation getCallerUGI()
      returns the UserGroupInformation information.
      Returns:
      UserGroupInformation
    • getIp

      public final InetAddress getIp()
      returns the ip address stored in this event.
      Returns:
      remoteIP