My guess is No, unless you are okay to read the data and write it back again.
On Tue, Jan 5, 2016 at 2:07 PM, Zhiliang Zhu <zchl.j...@yahoo.com.invalid> wrote: > > For some file on hdfs, it is necessary to copy/move it to some another > specific hdfs directory, and the directory name would keep unchanged. > Just need finish it in spark program, but not hdfs commands. > Is there any codes, it seems not to be done by searching spark doc ... > > Thanks in advance! > -- Best Regards, Ayan Guha