We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Foreach ... generate FAILURE

Thread ID:





119615 Jul 15,2015 05:45 AM Jul 16,2015 01:23 AM Big Data Platform 2
Tags: General
David Prinz
Asked On July 15, 2015 05:45 AM

Hi guys,

I'm very new to BigData and I'm trying some things today.
I wanted to assing names to the data, but it doesn't work.
Do you have any tips or suggestion for me?

Just have a look at my skript:

batting = LOAD 'project1/Batting.csv' using PigStorage(',');
runs = FOREACH batting GENERATE $0 as playerID, $1 as year, $8 as runs;

failure code:
<line 3, column 70>  Unexpected character ''
2015-07-15 11:34:44,007 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 3, column 70>  Unexpected character ''
Details at logfile: C:\Syncfusion\BigDataSDK\\SDK\Hadoop\logs\pig_1436947135996.log

I'm waiting for your answer!

Greetings David

David Prinz
Replied On July 15, 2015 06:59 AM

hey guys,

just solved the problem..
reason was the copy and paste from the website.


Praveena P [Syncfusion]
Replied On July 16, 2015 01:23 AM

Hi David,
We are glad that your problem has resolved. Please let us know if you have any queries.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.