hadoop - Copy hdfs file to another hdfs location using java -


I have to copy the HDFF file in HDF to use Java in the second place. The source should not be removed, just want to copy the source file, in which the new filename will be placed at the target HDFS location.

I could only rename in copyFromLocal, copyToLocal or FileSystem.java class.

Can anyone tell that any method with the new name in the source directory can just copy the HDFS file? Use the Copy function of

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -