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

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

Contributor

which is fastest way of copying files?

1 ACCEPTED SOLUTION

Super 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

Super 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.

; ;