You could do a "fs -getmerge <hdfs src path> <local destination file
path>" after using PigStorage.

Thanks,
Prashant

Sent from my iPhone

On Feb 15, 2012, at 7:15 PM, Haitao Yao <[email protected]> wrote:

> Hi,
>    I want to store the result into local directory under distributed hadoop 
> env. How can I achieve this?
>    With PigStorage, the result will be stored into HDFS.
>    Is there any command like " INSERT INTO LOCAL DIRECTORY " in Hive?
>
>    thanks

Reply via email to