pig error 1200 mismatched input expecting SEMI_COLON 본문

Programming/Hadoop

pig error 1200 mismatched input expecting SEMI_COLON

halatha 2013. 9. 6. 10:59

job

read hdfs files line by line(=json string) -> extract some key - value

.pig + python


error message

which: no hbase in (:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin)

2013-09-06 10:26:43,316 [main] INFO  org.apache.pig.Main - Apache Pig version 0.11.0-cdh4.3.0 (rexported) compiled May 27 2013, 20:40:51

2013-09-06 10:26:43,316 [main] INFO  org.apache.pig.Main - Logging error messages to: /data1/hanadmin/dwhadoop/pig_1378430803312.log

2013-09-06 10:26:43,678 [main] INFO  org.apache.pig.impl.util.Utils - Default bootup file .../.pigbootup not found

2013-09-06 10:26:43,790 [main] WARN  org.apache.hadoop.conf.Configuration - fs.default.name is deprecated. Instead, use fs.defaultFS

2013-09-06 10:26:43,791 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs:/.net:8020

2013-09-06 10:26:44,161 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to map-reduce job tracker at: .net:8021

2013-09-06 10:26:44,163 [main] WARN  org.apache.hadoop.conf.Configuration - fs.default.name is deprecated. Instead, use fs.defaultFS

2013-09-06 10:26:44,311 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <file .pig, line 13, column 0>  mismatched input 'A' expecting SEMI_COLON

Details at logfile: /data1/.../pig_1378430803312.log


solution

https://issues.apache.org/jira/browse/PIG-2507

http://svn.apache.org/viewvc?view=revision&revision=1514056

Comments