[jira] Commented: (PIG-1119) [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information
[ https://issues.apache.org/jira/browse/PIG-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12785939#action_12785939 ] Yan Zhou commented on PIG-1119: --- +1 [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information -- Key: PIG-1119 URL: https://issues.apache.org/jira/browse/PIG-1119 Project: Pig Issue Type: Bug Affects Versions: 0.6.0 Reporter: Jing Huang Fix For: 0.6.0 Attachments: PIG-1119.patch, PIG-1119.patch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1119) [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information
[ https://issues.apache.org/jira/browse/PIG-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12786027#action_12786027 ] Hadoop QA commented on PIG-1119: +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12426881/PIG-1119.patch against trunk revision 887049. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 39 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/90/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/90/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/90/console This message is automatically generated. [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information -- Key: PIG-1119 URL: https://issues.apache.org/jira/browse/PIG-1119 Project: Pig Issue Type: Bug Affects Versions: 0.6.0 Reporter: Jing Huang Fix For: 0.6.0 Attachments: PIG-1119.patch, PIG-1119.patch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1119) [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information
[ https://issues.apache.org/jira/browse/PIG-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12785550#action_12785550 ] Hadoop QA commented on PIG-1119: +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12426761/PIG-1119.patch against trunk revision 886650. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 30 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/83/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/83/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/83/console This message is automatically generated. [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information -- Key: PIG-1119 URL: https://issues.apache.org/jira/browse/PIG-1119 Project: Pig Issue Type: Bug Affects Versions: 0.6.0 Reporter: Jing Huang Fix For: 0.6.0 Attachments: PIG-1119.patch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1119) [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information
[ https://issues.apache.org/jira/browse/PIG-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12785662#action_12785662 ] Jing Huang commented on PIG-1119: - Here is the pig script for the test:(group_wrong.pig) register /grid/0/dev/hadoopqa/jars/zebra.jar; A = load 'filter.txt' as (name:chararray, age:int); B = group A by name; C = foreach B generate group, COUNT(A.name) as cnt; Store C into 'group1' using org.apache.hadoop.zebra.pig.TableStorer('[group];[cnt]'); === Here is the error message before the fix: ackend error message during job submission --- java.io.IOException: ColumnGroup.Writer constructor failed : Partition constructor failed :Encountered group group at line 1, column 2. Was expecting one of: IDENTIFIER ... ] ... at org.apache.hadoop.zebra.io.BasicTable$Writer.init(BasicTable.java:1259) at org.apache.hadoop.zebra.pig.TableOutputFormat.checkOutputSpecs(TableStorer.java:135) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:772) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730) at org.apache.hadoop.mapred.jobcontrol.Job.submit(Job.java:378) at org.apache.hadoop.mapred.jobcontrol.JobControl.startReadyJobs(JobControl.java:247) at org.apache.hadoop.mapred.jobcontrol.JobControl.run(JobControl.java:279) at java.lang.Thread.run(Thread.java:619) Pig Stack Trace --- ERROR 2997: Unable to recreate exception from backend error: java.io.IOException: ColumnGroup.Writer constructor failed : Partition constructor failed :Encountered group group at line 1, column 2. org.apache.pig.backend.executionengine.ExecException: ERROR 2997: Unable to recreate exception from backend error: java.io.IOException: ColumnGroup.Writer constructor failed : Partition constructor failed :Encountered group group at line 1, column 2. at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.Launcher.getStats(Launcher.java:176) at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:253) at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:249) at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:780) at org.apache.pig.PigServer.execute(PigServer.java:773) at org.apache.pig.PigServer.access$100(PigServer.java:89) at org.apache.pig.PigServer$Graph.execute(PigServer.java:951) at org.apache.pig.PigServer.executeBatch(PigServer.java:248) at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:115) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:172) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:144) at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:89) at org.apache.pig.Main.main(Main.java:386) Now with the patch we can successfully create the table with the same script. $HADOOP_HOME/bin/hadoop fs -cat group1/.btschema [group];[cnt]cnt:long group:strincnt:long [zebra] group is a Pig preserved word, zebra needs to use other string for table's group information -- Key: PIG-1119 URL: https://issues.apache.org/jira/browse/PIG-1119 Project: Pig Issue Type: Bug Affects Versions: 0.6.0 Reporter: Jing Huang Fix For: 0.6.0 Attachments: PIG-1119.patch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.