<?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: Coping files from Remote server to HDFS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Coping-files-from-Remote-server-to-HDFS/m-p/180286#M142532</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14226/vinitpandey8623.html" nodeid="14226"&gt;@Vinit Pandey&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I suggest on your HDFS server you start a process (using shellscript for example) to execute kinit and after that, get these remote files using sftp or scp example&lt;/P&gt;&lt;PRE&gt;# scp user@remoteserver:/remotepath/files localpath/ &lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;# hdfs dfs -put localpath/files /hdfspath&lt;/PRE&gt;&lt;P&gt;Note: To automate this process you can create a private/public ssh between these servers and create a crontab entry.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jul 2018 00:31:10 GMT</pubDate>
    <dc:creator>elemesilva</dc:creator>
    <dc:date>2018-07-11T00:31:10Z</dc:date>
    <item>
      <title>Coping files from Remote server to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Coping-files-from-Remote-server-to-HDFS/m-p/180285#M142531</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a remote server and Kerberos authenticated Hadoop environment.&lt;/P&gt;&lt;P&gt;I want to copy files from Remote server to HDFS for processing using Spark. Please advise efficient approach/HDFS command to copy files from remote server to HDFS. Any example will be helpful. We are bound by not to use flume or Nifi.&lt;/P&gt;&lt;P&gt;Please note Kerberos is installed on Remote server.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2018 16:26:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Coping-files-from-Remote-server-to-HDFS/m-p/180285#M142531</guid>
      <dc:creator>Vinitkumar</dc:creator>
      <dc:date>2018-07-09T16:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Coping files from Remote server to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Coping-files-from-Remote-server-to-HDFS/m-p/180286#M142532</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14226/vinitpandey8623.html" nodeid="14226"&gt;@Vinit Pandey&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I suggest on your HDFS server you start a process (using shellscript for example) to execute kinit and after that, get these remote files using sftp or scp example&lt;/P&gt;&lt;PRE&gt;# scp user@remoteserver:/remotepath/files localpath/ &lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;# hdfs dfs -put localpath/files /hdfspath&lt;/PRE&gt;&lt;P&gt;Note: To automate this process you can create a private/public ssh between these servers and create a crontab entry.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 00:31:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Coping-files-from-Remote-server-to-HDFS/m-p/180286#M142532</guid>
      <dc:creator>elemesilva</dc:creator>
      <dc:date>2018-07-11T00:31:10Z</dc:date>
    </item>
  </channel>
</rss>

