Support Questions
Find answers, ask questions, and share your expertise
Announcements
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

Highlighted

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.

1 REPLY 1

Re: SFTP from Local server to hdfs

Contributor

Have you tried hadoop distcp?