java - About transfer file in hdfs -
java - About transfer file in hdfs -
i need transfer files 1 hdfs folder hdfs folder in java code.
may inquire there api can phone call transfer files among hdfs paths?
also i'd inquire there anyway invoke mapreduce job java code? of course, java not running in hdfs.
thank much , have great weekend!
may inquire there api can phone call transfer files among hdfs paths?
use o.a.h.hdfs.distributedfilesystem#rename method move file 1 folder in hdfs folder. function has been overloaded , 1 of method takes options.rename parameter.
fyi .... haven't checked code, think rename involves changes name space , not actual block movements.
also i'd inquire there anyway invoke mapreduce job java code? of course, java not running in hdfs.
hadoop written in java, there should way :) utilize o.a.h.mapreduce.job#submit , o.a.h.mapreduce.job#waitforcompletion methods.
java hadoop mapreduce hdfs
Comments
Post a Comment