Make sense, Thanks a lot, Mingliang. Another quick question: why there is
a shell command that can copy a HDFS file to another HDFS file, but there
is no API that can do this, the API only support copying file from local to
HDFS, so that I should call multiple APIs to implement this, is that
cor
Kun,
I think you need to be ware of the difference between client and server side
logic. Perhaps you’re more interested in the client side in this case. The
commands are generally running in the shell, and org.apache.hadoop.fs.shell
package is a good place to start. Specially, have a look at
C