Hi,

Pig will not load any hadoop conf when running with local mode.
Does this means that I can not use HDFS files as input when I run pig with
local mode?

Say, I have the following script
=================================
mytable = LOAD 'hdfs://namenodehost/user/hadoop/test.csv'
          USING PigStorage(',')
          AS (col1:chararray, col2:chararray, col3:int);
dump mytable;
==================================

When I run the script with local mode, it can not load files. So I want to
debug my script, and I have to change the script to read data from local
FS.

Do you have any best practice to debug pig script without changing the
input path?

Thanks.

-- 
Regards
Gordon Wang

Reply via email to