You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Daniel Dai <da...@gmail.com> on 2009/09/21 19:50:35 UTC

Pig dfs commands going to change

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!