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.

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

Solved Go to solution

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

Contributor

which is fastest way of copying files?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

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

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
Highlighted

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

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

Don't have an account?
Coming from Hortonworks? Activate your account here