List of usage examples for com.amazonaws.services.elasticmapreduce.model StepExecutionState COMPLETED
StepExecutionState COMPLETED
To view the source code for com.amazonaws.services.elasticmapreduce.model StepExecutionState COMPLETED.
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; }/*from w ww . j a v a 2 s . c om*/ 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; }