<?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 How to SFTP a generated file in spark 1.4.1 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135407#M39672</link>
    <description>&lt;P&gt;we are trying to generate an output from SqlContext and would like to place the results on SFTP server. Please suggest a way. we are using spark 1.4.1 version.&lt;/P&gt;&lt;P&gt;I could save the results on HDFS but we are looking for direct connection from spark to SFTP the results. &lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2016 05:04:26 GMT</pubDate>
    <dc:creator>suryavamshivard</dc:creator>
    <dc:date>2016-09-05T05:04:26Z</dc:date>
    <item>
      <title>How to SFTP a generated file in spark 1.4.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135407#M39672</link>
      <description>&lt;P&gt;we are trying to generate an output from SqlContext and would like to place the results on SFTP server. Please suggest a way. we are using spark 1.4.1 version.&lt;/P&gt;&lt;P&gt;I could save the results on HDFS but we are looking for direct connection from spark to SFTP the results. &lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 05:04:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135407#M39672</guid>
      <dc:creator>suryavamshivard</dc:creator>
      <dc:date>2016-09-05T05:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to SFTP a generated file in spark 1.4.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135408#M39673</link>
      <description>&lt;P&gt;Hi Surya,&lt;/P&gt;&lt;P&gt;Add SPARK-SFTP library as --packages or --jar in your spark-submit command.&lt;/P&gt;&lt;P&gt;I am not sure spark 1.4.1 would be able to handle it. Look at upgrading spark to 1.6.1&lt;/P&gt;&lt;P&gt;Check &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/springml/spark-sftp" target="_blank"&gt;https://github.com/springml/spark-sftp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://spark-packages.org/package/springml/spark-sftp" target="_blank"&gt;https://spark-packages.org/package/springml/spark-sftp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Include this package in your Spark Applications using:&lt;/P&gt;&lt;H4&gt;spark-shell, pyspark, or spark-submit&lt;/H4&gt;&lt;PRE&gt;&amp;gt; $SPARK_HOME/bin/spark-shell --packages com.springml:spark-sftp_2.10:1.0.1&lt;/PRE&gt;
&lt;H4&gt;sbt&lt;/H4&gt;&lt;P&gt;In your sbt build file, add:&lt;/P&gt;&lt;PRE&gt;libraryDependencies += "com.springml" % "spark-sftp_2.10" % "1.0.1"&lt;/PRE&gt;&lt;H4&gt;Maven&lt;/H4&gt;	  In your pom.xml, add:	   &lt;PRE&gt;&amp;lt;dependencies&amp;gt;
  &amp;lt;!-- list of dependencies --&amp;gt;
  &amp;lt;dependency&amp;gt;
    &amp;lt;groupId&amp;gt;com.springml&amp;lt;/groupId&amp;gt;
    &amp;lt;artifactId&amp;gt;spark-sftp_2.10&amp;lt;/artifactId&amp;gt;
    &amp;lt;version&amp;gt;1.0.1&amp;lt;/version&amp;gt;
  &amp;lt;/dependency&amp;gt;
&amp;lt;/dependencies&amp;gt;&lt;/PRE&gt;
&lt;H3&gt;Releases&lt;/H3&gt;&lt;P&gt;&lt;A href="https://github.com/springml/spark-sftp/tree/1bf5b3f975b286fa456fade7bed9ac57108916af"&gt;1bf5b3&lt;/A&gt;	    | &lt;A href="https://github.com/springml/spark-sftp/archive/1bf5b3f975b286fa456fade7bed9ac57108916af.zip"&gt;zip&lt;/A&gt;	    	    	    | &lt;A href="http://repo1.maven.org/maven2/com/springml/spark-sftp_2.10/1.0.1/spark-sftp_2.10-1.0.1.jar"&gt;jar&lt;/A&gt;	    	    )		/ Date: 2016-05-27 / License:					 &lt;A href="https://github.com/springml/spark-sftp/blob/1bf5b3f975b286fa456fade7bed9ac57108916af/LICENSE"&gt;Apache-2.0&lt;/A&gt;						/ Scala version: 2.10			 &lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/springml/spark-sftp/tree/7d5b02f2551eb3b26bb117585964ad0972607280"&gt;7d5b02&lt;/A&gt;	    | &lt;A href="https://github.com/springml/spark-sftp/archive/7d5b02f2551eb3b26bb117585964ad0972607280.zip"&gt;zip&lt;/A&gt;	    	    	    | &lt;A href="http://repo1.maven.org/maven2/com/springml/spark-sftp_2.10/1.0.0/spark-sftp_2.10-1.0.0.jar"&gt;jar&lt;/A&gt;	    	    )		/ Date: 2016-01-11 / License:					 &lt;A href="https://github.com/springml/spark-sftp/blob/7d5b02f2551eb3b26bb117585964ad0972607280/LICENSE"&gt;Apache-2.0&lt;/A&gt;						/ Scala version: 2.10 &lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 23:07:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135408#M39673</guid>
      <dc:creator>anandi</dc:creator>
      <dc:date>2016-09-05T23:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to SFTP a generated file in spark 1.4.1</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135409#M39674</link>
      <description>&lt;P&gt;Thank you , it helped. @&lt;A href="https://community.hortonworks.com/users/5069/anandi.html"&gt;Amit Nandi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 21:13:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-SFTP-a-generated-file-in-spark-1-4-1/m-p/135409#M39674</guid>
      <dc:creator>suryavamshivard</dc:creator>
      <dc:date>2016-09-06T21:13:15Z</dc:date>
    </item>
  </channel>
</rss>

