Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

SFTP from Local server to hdfs


SFTP from Local server to hdfs

New Contributor

>I am trying to transfer file from local server to hdfs directly rather than >sending the file first to hadoop local system and then moving from local to >hdfs. I am using the below command
>sftp > put file.txt /data/discovery/development
>"/data/discovery/development" is the hdfs path when i want to store the files
>when i tried to execute i am facing with "no such file or directory".
>Could you please help.


Re: SFTP from Local server to hdfs


Have you tried hadoop distcp?