<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Does distcp use SSL/TLS when copying files to S3 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-distcp-use-SSL-TLS-when-copying-files-to-S3/m-p/146418#M20017</link>
    <description>&lt;P&gt;Nishant, have you seen this thread on StackOverflow? It advises that distcp to S3 is secure by default.&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/28375771/securely-transferring-data-from-hdfs-to-amazon-s3-using-distcp"&gt;http://stackoverflow.com/questions/28375771/securely-transferring-data-from-hdfs-to-amazon-s3-using-distcp&lt;/A&gt;

StackOverflow user NachoNachoMan suggested you can test this by placing a policy on the bucket that prevents putobject when securetransport=false.&lt;/P&gt;&lt;P&gt;Also, you'll probably want to use 's3a' in your put command "s3n://path-to-s3"&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.apache.org/hadoop/AmazonS3" target="_blank"&gt;https://wiki.apache.org/hadoop/AmazonS3&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2016 17:48:49 GMT</pubDate>
    <dc:creator>dchaffey</dc:creator>
    <dc:date>2016-02-18T17:48:49Z</dc:date>
    <item>
      <title>Does distcp use SSL/TLS when copying files to S3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-distcp-use-SSL-TLS-when-copying-files-to-S3/m-p/146417#M20016</link>
      <description>&lt;P&gt;I am using HW Hadoop 2.6 and use distcp to transfer files to S3. I am using the following command to transfer files:&lt;/P&gt;&lt;P&gt;hadoop distcp -D mapred.job.queue.name="somename" -Dfs.s3n.awsAccessKeyId="xxxx" -Dfs.s3n.awsSecretAccessKey="xxxx" -m "100" -update -pugp  "hdfs:///path-in-hdfs" "s3n://path-to-s3"&lt;/P&gt;&lt;P&gt;Does this command transfer the data securely using https ssl/tls over port 443? Or do I need to develop a mechanism to encrypt the data before transferring?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 14:45:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-distcp-use-SSL-TLS-when-copying-files-to-S3/m-p/146417#M20016</guid>
      <dc:creator>nsinha</dc:creator>
      <dc:date>2016-02-18T14:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Does distcp use SSL/TLS when copying files to S3</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-distcp-use-SSL-TLS-when-copying-files-to-S3/m-p/146418#M20017</link>
      <description>&lt;P&gt;Nishant, have you seen this thread on StackOverflow? It advises that distcp to S3 is secure by default.&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/28375771/securely-transferring-data-from-hdfs-to-amazon-s3-using-distcp"&gt;http://stackoverflow.com/questions/28375771/securely-transferring-data-from-hdfs-to-amazon-s3-using-distcp&lt;/A&gt;

StackOverflow user NachoNachoMan suggested you can test this by placing a policy on the bucket that prevents putobject when securetransport=false.&lt;/P&gt;&lt;P&gt;Also, you'll probably want to use 's3a' in your put command "s3n://path-to-s3"&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.apache.org/hadoop/AmazonS3" target="_blank"&gt;https://wiki.apache.org/hadoop/AmazonS3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:48:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Does-distcp-use-SSL-TLS-when-copying-files-to-S3/m-p/146418#M20017</guid>
      <dc:creator>dchaffey</dc:creator>
      <dc:date>2016-02-18T17:48:49Z</dc:date>
    </item>
  </channel>
</rss>

