How to copy file from HDFS to the local file system

652    Asked by GloriaHoll in Data Science , Asked on Jul 12, 2021

I tried moving the files using WinSCP, but it didn’t help. So, I wanna know how can I copy files from HDFS to my local computer file system.

Answered by debbie Jha

There are two approaches you can use to do hadoop copy to local task,

hadoop fs -get

hadoop fs -copyToLocal

Another thing you can try and do is simply download it with your web browser.



Your Answer

Interviews

Parent Categories