title: S3 as Target Dir in Sqoop Import
body: <p>Trying to import database table using sqoop import command with target directory specified as Amazon S3 bucket name.
  The command is as below</p>
  
  <pre><code>sqoop import --connect jdbc:mysql://hostname/mytable --username myuser --password mypassword --table mytable --target-dir s3://&lt;secret_code&gt;:&lt;secret_key&gt;@s3-us-west-2.amazonaws.com/mybucket/
  </code></pre>
  
  <p>It keeps giving me Access Denied S3Exception. The secret key/code credentials are valid and bucket permissions are set for everyone.</p>
  
  <p>Thanks for your help.</p>