title: Error parsing parameter, amazon aws emr
body: <p>I'm trying to create a step by Linux console:</p>
  
  <pre><code>aws emr add-steps --cluster-id j-XXXXXXXXXX --steps Type=CUSTOM_JAR,Name="S3DistCp step",Jar=/home/hadoop/lib/emr-s3distcp-1.0.jar,\ 
  Args=["--s3Endpoint,s3-eu-west-1.amazonaws.com","--src,s3://folder-name/logs/j-XXXXXXXXXX/node/","--dest,hdfs:///output","--srcPattern,.*[a-zA-Z,]+"]
  </code></pre>
  
  <p>I jump the following error</p>
  
  <blockquote>
    <p>Error parsing parameter '--steps': Expected: ',', received: '+' for input</p>
  </blockquote>
  
  <p>How I can fix it?</p>
  
  <p>I'm looking for a solution to upload multiple files to S3 and S3DistCp the Hive gather for Amazon EMR. Is there any other way?</p>
  
  <p>I have another question:
  Now I am creating an SSH tunnel to connect to Hive, how I could connect with PHP?</p>
  
  <hr>
  
  <p>At the moment I have solved the error by removing "src Pattern", however gives me another error, I include image below</p>
  
  <p><a href="http://i.stack.imgur.com/1uaBO.png" rel="nofollow">Image error</a></p>
  
  <p>This is the error that appears</p>
  
  <pre><code>INFO Synchronously wait child process to complete : hadoop jar /var/lib/aws/emr/step-runner/hadoop- 
  INFO waitProcessCompletion ended with exit code 1 : hadoop jar
  /var/lib/aws/emr/step-runner/hadoop-
  INFO total process run time: 2 seconds
  2016-07-12T14:26:48.744Z INFO Step created jobs:
  2016-07-12T14:26:48.744Z WARN Step failed with exitCode 1 and took 2 seconds
  </code></pre>
  
  <p>Thx!!!</p>