Tabnine Logo
RMAppImpl.auditLogKillEvent
Code IndexAdd Tabnine to your IDE (free)

How to use
auditLogKillEvent
method
in
org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl

Best Java code snippets using org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.auditLogKillEvent (Showing top 4 results out of 315)

origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

 @Override
 public void transition(RMAppImpl app, RMAppEvent event) {
  app.diagnostics.append(event.getDiagnosticMsg());
  super.transition(app, event);
  RMAppImpl.auditLogKillEvent(event);
 };
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

 @Override
 public void transition(RMAppImpl app, RMAppEvent event) {
  app.diagnostics.append(event.getDiagnosticMsg());
  super.transition(app, event);
  RMAppImpl.auditLogKillEvent(event);
 };
}
origin: org.apache.hadoop/hadoop-yarn-server-resourcemanager

 @Override
 public void transition(RMAppImpl app, RMAppEvent event) {
  app.stateBeforeKilling = app.getState();
  // Forward app kill diagnostics in the event to kill app attempt.
  // These diagnostics will be returned back in ATTEMPT_KILLED event sent by
  // RMAppAttemptImpl.
  app.handler.handle(
    new RMAppAttemptEvent(app.currentAttempt.getAppAttemptId(),
      RMAppAttemptEventType.KILL, event.getDiagnosticMsg()));
  RMAppImpl.auditLogKillEvent(event);
 }
}
origin: ch.cern.hadoop/hadoop-yarn-server-resourcemanager

 @Override
 public void transition(RMAppImpl app, RMAppEvent event) {
  app.stateBeforeKilling = app.getState();
  // Forward app kill diagnostics in the event to kill app attempt.
  // These diagnostics will be returned back in ATTEMPT_KILLED event sent by
  // RMAppAttemptImpl.
  app.handler.handle(
    new RMAppAttemptEvent(app.currentAttempt.getAppAttemptId(),
      RMAppAttemptEventType.KILL, event.getDiagnosticMsg()));
  RMAppImpl.auditLogKillEvent(event);
 }
}
org.apache.hadoop.yarn.server.resourcemanager.rmappRMAppImplauditLogKillEvent

Javadoc

Log the audit event for kill by client.

Popular methods of RMAppImpl

  • <init>
  • getAppAttempts
  • getApplicationId
  • getRanNodes
  • getState
  • handle
  • isAppInFinalState
  • getNumFailedAppAttempts
  • createApplicationState
  • createFinalApplicationStatus
  • createNewAttempt
  • getAppAttemptFailedDiagnostics
  • createNewAttempt,
  • getAppAttemptFailedDiagnostics,
  • getApplicationSubmissionContext,
  • getCurrentAppAttempt,
  • getFinalApplicationStatus,
  • getRMAppMetrics,
  • getRecoveredFinalState,
  • getUser,
  • recover,
  • rememberTargetTransitions

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now