Hi Genius, Currently I debugged the cp and mv operations, for example: (1) ./bin/hdfs dfs -cp input/a.xml input/b.xml (2)./bin/hdfs dfs -mv input/a.xml input/b.xml
My understanding is that for operation cp, it will create a new file b.xml, and will copy the content of a.xml to b.xml; For mv operations, it will create b.xml and copy the content of a.xml to b.xml, and delete the a.xml. However, when I debug the code, i found that both operations will finally go through the create() method in NameNodeRpcServer.java, but I didn't see any calls to copy and delete function, could you please point out to me where I can debug and see the full logic of the cp and mv operations. Thanks a lot.