title: AWS Datapipeline, EmrActivity step to run a hive script fails immediately with 'No such file or directory'
body: <p>I've got a simple DataPipeline job which has only a single an EmrActivity with a single step attempting to execute a hive script from my s3 bucket.</p>
  
  <p>The config for the EmrActivity looks like this:</p>
  
  <pre><code>{
    "name" : "Extract and Transform",
    "id" : "HiveActivity",
    "type" : "EmrActivity",
    "runsOn" : { "ref" : "EmrCluster" },
    "step" : ["command-runner.jar,/usr/share/aws/emr/scripts/hive-script --run-hive-script --args -f s3://[bucket-name-removed]/s1-tracer-hql.q -d INPUT=s3://[bucket-name-removed] -d OUTPUT=s3://[bucket-name-removed]"],
    "runsOn" : { "ref": "EmrCluster" }
  }
  </code></pre>
  
  <p>And the config for the corresponding EmrCluster resource it's running on:</p>
  
  <pre><code>{
    "id" : "EmrCluster",
    "type" : "EmrCluster",
    "name" : "Hive Cluster",
    "keyPair" : "[removed]",
    "masterInstanceType" : "m3.xlarge",
    "coreInstanceType" : "m3.xlarge",
    "coreInstanceCount" : "2",
    "coreInstanceBidPrice": "0.10",
    "releaseLabel": "emr-4.1.0",
    "applications": ["hive"],
    "enableDebugging" : "true",
    "terminateAfter": "45 Minutes"
  }
  </code></pre>
  
  <p>The error message I'm getting is always the following:</p>
  
  <pre><code>java.io.IOException: Cannot run program "/usr/share/aws/emr/scripts/hive-script --run-hive-script --args -f s3://[bucket-name-removed]/s1-tracer-hql.q -d INPUT=s3://[bucket-name-removed] -d OUTPUT=s3://[bucket-name-removed]" (in directory "."): error=2, No such file or directory
      at com.amazonaws.emr.command.runner.ProcessRunner.exec(ProcessRunner.java:139)
      at com.amazonaws.emr.command.runner.CommandRunner.main(CommandRunner.java:13)
  ...
  </code></pre>
  
  <p>The main error msg being "... (in directory "."): error=2, No such file or directory".</p>
  
  <p>I've logged into the master node and verified the existence of <code>/usr/share/aws/emr/scripts/hive-script</code>.  I've also tried specifying an s3-based location for the <code>hive-script</code>, among a few other places; always the same error result.</p>
  
  <p>I can manually create a cluster directly in EMR that looks exactly like what I'm specifying in this DataPipeline, with a Step that uses the identical <code>"command-runner.jar,/usr/share/aws/emr/scripts/hive-script ..."</code> command string, and it works without error.</p>
  
  <p>Has anyone experienced this, and can advise me on what I'm missing and/or doing wrong?  I've been at this one for awhile now.</p>