The script I use is as following:
project_attributes =LOAD '/data/CMU/.../fake_project_attributes.csv' USING
PigStorage(',')AS (attr_title, attr_total, attr_width, attr_depth);
DUMP project_attributes

It works under local mode. But error occurs under mapreduce mode.

On Mon, Nov 23, 2009 at 10:57 AM, Jeff Zhang <[email protected]> wrote:

> Could you attach your pig script and sample data ?
>
>
> Jeff Zhang
>
>
> On Mon, Nov 23, 2009 at 7:00 AM, Haiyi Zhu <[email protected]> wrote:
>
> > Hi all,
> >
> > New to pig. The simplest "load" and then "dump" does not work under
> > Mapreduce mode :-(
> > Here is the error information I get. I am wondering what "Queue 'default'
> > does not exist" means.
> >
> > 2009-11-22 21:53:25,317 [main] INFO
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MultiQueryOptimizer
> > - MR plan size before optimization: 1
> > 2009-11-22 21:53:25,317 [main] INFO
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MultiQueryOptimizer
> > - MR plan size after optimization: 1
> > 2009-11-22 21:53:27,282 [main] INFO
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler
> > - Setting up single store job
> > 2009-11-22 21:53:27,384 [Thread-66] WARN
> >  org.apache.hadoop.mapred.JobClient
> > - Use GenericOptionsParser for parsing the arguments. Applications should
> > implement Tool for the same.
> > 2009-11-22 21:53:27,855 [main] INFO
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> > - 0% complete
> > 2009-11-22 21:54:01,499 [main] INFO
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> > - 100% complete
> > 2009-11-22 21:54:01,500 [main] ERROR
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> > - 1 map reduce job(s) failed!
> > 2009-11-22 21:54:01,607 [main] ERROR
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> > - Failed to produce result in: "hdfs://
> > grit-nn1.yahooresearchcluster.com/tmp/temp866681642/tmp383950780"
> > 2009-11-22 21:54:01,607 [main] INFO
> >
> >
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> > - Failed!
> > 2009-11-22 21:54:01,608 [main] ERROR org.apache.pig.tools.grunt.Grunt -
> > ERROR 2997: Unable to recreate exception from backend error:
> > org.apache.hadoop.ipc.RemoteException: java.io.IOException: Queue
> "default"
> > does not exist
> >
> > Thanks!
> > Haiyi
> >
> > --
> > Haiyi ZHU
> > Human Computer Interaction Institute
> > Carnegie Mellon University, Pittsburgh
> > E-mail:[email protected] <e-mail%[email protected]> <
> e-mail%[email protected] <e-mail%[email protected]>> <
> > e-mail%[email protected] <e-mail%[email protected]> <
> e-mail%[email protected] <e-mail%[email protected]>>>,
> > [email protected]
> >
>



-- 
Haiyi ZHU
Human Computer Interaction Institute
Carnegie Mellon University, Pittsburgh
E-mail:[email protected] <e-mail%[email protected]>,
[email protected]

Reply via email to