Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Error running valid Pig Script in HUE

avatar
Explorer

Hi,

 

I'm running the following script in the Pig Shell and it runs through just fine:

A = LOAD '/user/hue/movies_data.csv';
DUMP A;

When I'm running it inside the Pig Editor of HUE however the following errors appear in the log:

Run pig script using PigRunner.run() for Pig version 0.8+
2015-12-01 17:40:20,383 [uber-SubtaskRunner] INFO  org.apache.pig.Main  - Apache Pig version 0.12.0-cdh5.5.0 (rexported) compiled Nov 09 2015, 12:41:52
2015-12-01 17:40:20,384 [uber-SubtaskRunner] INFO  org.apache.pig.Main  - Logging error messages to: /data/2/yarn/local/usercache/hue/appcache/application_1448892860798_0021/container_1448892860798_0021_01_000001/pig-job_1448892860798_0021.log
2015-12-01 17:40:20,475 [uber-SubtaskRunner] INFO  org.apache.pig.impl.util.Utils  - Default bootup file /var/lib/hadoop-yarn/.pigbootup not found
2015-12-01 17:40:20,481 [uber-SubtaskRunner] ERROR org.apache.pig.impl.PigContext  - Encountered " "=" "= "" at line 1, column 1.
Was expecting one of:
    <EOF> 
    <IDENTIFIER> ...
    <COMMENT> ...
    
2015-12-01 17:40:20,486 [uber-SubtaskRunner] ERROR org.apache.pig.Main  - ERROR 2997: Encountered IOException. org.apache.pig.tools.parameters.ParseException: Encountered " "=" "= "" at line 1, column 1.
Was expecting one of:
    <EOF> 
    <IDENTIFIER> ...
    <COMMENT> ...
    

<<< Invocation of Main class completed <<<

Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.PigMain], exit code [2]

I'm using CDH 5.5.0.

What might be the issue here?

Who agreed with this topic