public interface EmrService
| Modifier and Type | Method and Description |
|---|---|
EmrMasterSecurityGroup |
addSecurityGroupsToClusterMaster(EmrMasterSecurityGroupAddRequest emrMasterSecurityGroupAddRequest) |
Object |
addStepToCluster(Object emrStepAddRequest) |
EmrCluster |
createCluster(EmrClusterCreateRequest request) |
EmrCluster |
getCluster(EmrClusterAlternateKeyDto alternateKey,
String emrClusterId,
String emrStepId,
boolean verbose,
boolean retrieveOozieJobs,
String accountId) |
OozieWorkflowJob |
getEmrOozieWorkflowJob(String namespace,
String emrClusterDefinitionName,
String emrClusterName,
String oozieWorkflowJobId,
Boolean verbose,
String emrClusterId,
String accountId)
Retrieves an EMR cluster's oozie job by its ID.
|
OozieWorkflowJob |
runOozieWorkflow(RunOozieWorkflowRequest request) |
EmrCluster |
terminateCluster(EmrClusterAlternateKeyDto emrClusterAlternateKeyDto,
boolean overrideTerminationProtection,
String emrClusterId,
String accountId) |
EmrCluster getCluster(EmrClusterAlternateKeyDto alternateKey, String emrClusterId, String emrStepId, boolean verbose, boolean retrieveOozieJobs, String accountId) throws Exception
ExceptionEmrCluster createCluster(EmrClusterCreateRequest request) throws Exception
ExceptionEmrCluster terminateCluster(EmrClusterAlternateKeyDto emrClusterAlternateKeyDto, boolean overrideTerminationProtection, String emrClusterId, String accountId) throws Exception
ExceptionObject addStepToCluster(Object emrStepAddRequest) throws Exception
ExceptionEmrMasterSecurityGroup addSecurityGroupsToClusterMaster(EmrMasterSecurityGroupAddRequest emrMasterSecurityGroupAddRequest) throws Exception
ExceptionOozieWorkflowJob runOozieWorkflow(RunOozieWorkflowRequest request) throws Exception
ExceptionOozieWorkflowJob getEmrOozieWorkflowJob(String namespace, String emrClusterDefinitionName, String emrClusterName, String oozieWorkflowJobId, Boolean verbose, String emrClusterId, String accountId) throws Exception
namespace - EMR cluster namespaceemrClusterDefinitionName - EMR cluster definition nameemrClusterName - EMR cluster nameoozieWorkflowJobId - Oozie workflow job IDverbose - true to retrieve more details, false otherwise. Defaults to false.emrClusterId - The EMR cluster IDaccountId - account IdException - when an error occurs. Most user errors would be a runtime exception.Copyright © 2017. All rights reserved.