Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

difference between FileUtil.copy method in Class fs.util vs HDFS command line ?

avatar
Expert Contributor

which is fastest way of copying files?

1 ACCEPTED SOLUTION

avatar
Master Guru

The fileUtil.copy method works well during within a application (ie MapReduce). However if you are at command line then best to use hdfs cli.

View solution in original post

1 REPLY 1

avatar
Master Guru

The fileUtil.copy method works well during within a application (ie MapReduce). However if you are at command line then best to use hdfs cli.