53658/error-while-loading-bash-syntax-error-near-unexpected-token
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);
hi, 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
Hey Nafeesa, 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
Hi, 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
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.