Hi, all
With PIG-891 checked in (credit to Jeff Zhang), Pig implements complete set of 
hadoop dfs commands. The syntax for dfs commands are exactly the same with 
hadoop (actually, Pig delegates all those commands to hadoop):

fs -command [parameters...]

We will keep original set of dfs commands for one release for backward 
compatibility, but will drop them in the future releases. Here is a list of 
obsolete dfs commmands and their new syntax.

ls => fs -ls
mv => fs -mv
cp => fs -cp
rm => fs -rmr
mkdir => fs -mkdir
copyFromLocal => fs -copyFromLocal
copyToLocal => fs -copyToLocal

Please be noticed and prepare for that. Thanks!

Reply via email to