Support Questions
Find answers, ask questions, and share your expertise

Backup files in HDFS

Backup files in HDFS

New Contributor

Anyone know how to backup files from HDFS to local machine ?

I am using command copyToLocal. I get error.

2 REPLIES 2

Re: Backup files in HDFS

Super Mentor

@Kureikana 

What is the error that youa re getting?

Can you please share more details like full command which you are running and the exact (full error) with stacktrace ?
Also please lt us know bit more about your environment like product version and if it is a kerberized environment . ...etc ? 

Re: Backup files in HDFS

Guru
@Kureikana ,

Have you tried "hdfs dfs -get" command? If not working, what error do you get?

Cheers