@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); } }
@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); } }
scriptArgs1.add("arg1=tables"); hiveStepRequest.setStepName("Test Hive"); hiveStepRequest.setScriptLocation("s3://test-bucket-managed/app-a/test/test_hive.hql"); hiveStepRequest.setScriptArguments(scriptArgs1); emrSteps.add(hiveStepRequest);
scriptArgs1.add("arg1=tables"); hiveStepRequest.setStepName("Test Hive"); hiveStepRequest.setScriptLocation("s3://test-bucket-managed/app-a/test/test_hive.hql"); hiveStepRequest.setScriptArguments(scriptArgs1); emrSteps.add(hiveStepRequest);
sourceScriptLocation = this.getScriptLocation(); String copyScriptLocation = ((String) strategy.copy(LocatorUtils.property(locator, "scriptLocation", sourceScriptLocation), sourceScriptLocation, (this.scriptLocation!= null))); copy.setScriptLocation(copyScriptLocation); } else { if (scriptLocationShouldBeCopiedAndSet == Boolean.FALSE) {
sourceScriptLocation = this.getScriptLocation(); String copyScriptLocation = ((String) strategy.copy(LocatorUtils.property(locator, "scriptLocation", sourceScriptLocation), sourceScriptLocation, (this.scriptLocation!= null))); copy.setScriptLocation(copyScriptLocation); } else { if (scriptLocationShouldBeCopiedAndSet == Boolean.FALSE) {
sourceScriptLocation = this.getScriptLocation(); String copyScriptLocation = ((String) strategy.copy(LocatorUtils.property(locator, "scriptLocation", sourceScriptLocation), sourceScriptLocation, (this.scriptLocation!= null))); copy.setScriptLocation(copyScriptLocation); } else { if (scriptLocationShouldBeCopiedAndSet == Boolean.FALSE) {