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 - Performance of System() -

python - how we can use ajax() in views.py in django? -

python - Sequence Pattern recognition with Pybrain -