List of usage examples for com.amazonaws.services.elasticmapreduce.model StepExecutionState FAILED
StepExecutionState FAILED
To view the source code for com.amazonaws.services.elasticmapreduce.model StepExecutionState FAILED.
Click Source Link
From source file:org.pentaho.amazon.client.impl.EmrClientImpl.java
License:Apache License
@Override public boolean isStepRunning() { if (StepExecutionState.CANCELLED.name().equalsIgnoreCase(currentStepState)) { return false; }/* w ww . ja v a2 s . c o m*/ if (StepExecutionState.INTERRUPTED.name().equalsIgnoreCase(currentStepState)) { return false; } if (StepExecutionState.COMPLETED.name().equalsIgnoreCase(currentStepState)) { return false; } if (StepExecutionState.FAILED.name().equalsIgnoreCase(currentStepState)) { return false; } return true; }
From source file:org.pentaho.amazon.client.impl.EmrClientImpl.java
License:Apache License
@Override public boolean isStepFailed() { return StepExecutionState.FAILED.name().equalsIgnoreCase(currentStepState); }
From source file:org.pentaho.amazon.client.impl.EmrClientImpl.java
License:Apache License
@Override public boolean isStepNotSuccess() { currentStepState = getActualStepState(); if (StepExecutionState.CANCELLED.name().equalsIgnoreCase(currentStepState)) { return true; }// w w w . ja va2 s . com if (StepExecutionState.INTERRUPTED.name().equalsIgnoreCase(currentStepState)) { return true; } if (StepExecutionState.FAILED.name().equalsIgnoreCase(currentStepState)) { return true; } return false; }