Search in sources :

Example 6 with EmrHiveStepAddRequest

use of org.finra.herd.model.api.xml.EmrHiveStepAddRequest in project herd by FINRAOS.

the class AddEmrHiveStep method executeImpl.

@Override
public void executeImpl(DelegateExecution execution) throws Exception {
    // Create the request.
    EmrHiveStepAddRequest request = new EmrHiveStepAddRequest();
    populateCommonParams(request, execution);
    request.setScriptLocation(getScriptLocation(execution));
    request.setScriptArguments(getScriptArguments(execution));
    addEmrStepAndSetWorkflowVariables(request, execution);
}
Also used : EmrHiveStepAddRequest(org.finra.herd.model.api.xml.EmrHiveStepAddRequest)

Aggregations

EmrHiveStepAddRequest (org.finra.herd.model.api.xml.EmrHiveStepAddRequest)6 ArrayList (java.util.ArrayList)3 Test (org.junit.Test)3 Method (java.lang.reflect.Method)2 EmrClusterCreateRequest (org.finra.herd.model.api.xml.EmrClusterCreateRequest)2 EmrHadoopJarStepAddRequest (org.finra.herd.model.api.xml.EmrHadoopJarStepAddRequest)2 EmrHiveStep (org.finra.herd.model.api.xml.EmrHiveStep)2 EmrPigStepAddRequest (org.finra.herd.model.api.xml.EmrPigStepAddRequest)2 EmrShellStepAddRequest (org.finra.herd.model.api.xml.EmrShellStepAddRequest)2 NamespaceEntity (org.finra.herd.model.jpa.NamespaceEntity)2 EmrStepHelper (org.finra.herd.service.helper.EmrStepHelper)2