I understand this is a syntax error but can not identify where the actual error is.
student = LOAD '/mnt/home/edureka_545667/Desktop/PIG/student.txt' USING PigStorage(',') as (Name:chararray, Id:int);
This is the content of the file
Since your data is delimited with tabs use the command as such shown below.
student = LOAD '/mnt/home/edureka_545667/Desktop/PIG/student.txt' USING PigStorage('\t') as (Name:chararray, Id:int);
you should give space between PigStorage and ...READ MORE
In your code, you have set some ...READ MORE
Well, the reason you are getting such ...READ MORE
Itseems that Hive is not able ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API
org.apache.hadoop.mapreduce is the ...READ MORE
You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
Is python installed running on the slaves that ...READ MORE
You have imported org.apache.hadoop.mapred.FileOutputFormat, you need to import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
So, make ...READ MORE
Already have an account? Sign in.