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

sql - Return Function using Cursor -

javascript - Is there any way to add a new parameter to a function programmatically? -

sql server - How to use pivot in this table -