[jira] Updated: (PIG-957) Tutorial is broken with 0.4 branch and trunk

2009-09-14 Thread Pradeep Kamath (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-957:
---

Status: Open  (was: Patch Available)

 Tutorial is broken with 0.4 branch and trunk
 

 Key: PIG-957
 URL: https://issues.apache.org/jira/browse/PIG-957
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Olga Natkovich
Assignee: Pradeep Kamath
 Fix For: 0.4.0

 Attachments: PIG-957-2.patch, PIG-957.patch


 As I was testing the Pig Tutorial in preparation for the release, I found 
 that we broke the second script both in local mode and in MR mode. The issue 
 has to do with schema and naming fields.  
 Here is what I see:
  
 java -cp pig.jar org.apache.pig.Main -x local script2-local.pig
 2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
 1000: Error during parsing. Invalid alias: hour00::group::ngram in 
 {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: 
 chararray,hour: chararray,hour12::count: long}
 09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. 
 Invalid alias: hour00::group::ngram in {group::ngram: chararray,group::hour: 
 chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: 
 long}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-957) Tutorial is broken with 0.4 branch and trunk

2009-09-14 Thread Pradeep Kamath (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-957:
---

Attachment: PIG-957-2.patch

There were two unit test failures in the last patch 
1) TestPigServer had a failure which was because join's describe now prefixes 
the outer relation alias for each field - corrected the test case to update the 
expected result.
2) TestSkewedJoin had a timeout - this ran fine on my local box.

Resubmitting with just the change in 1) above.

 Tutorial is broken with 0.4 branch and trunk
 

 Key: PIG-957
 URL: https://issues.apache.org/jira/browse/PIG-957
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Olga Natkovich
Assignee: Pradeep Kamath
 Fix For: 0.4.0

 Attachments: PIG-957-2.patch, PIG-957.patch


 As I was testing the Pig Tutorial in preparation for the release, I found 
 that we broke the second script both in local mode and in MR mode. The issue 
 has to do with schema and naming fields.  
 Here is what I see:
  
 java -cp pig.jar org.apache.pig.Main -x local script2-local.pig
 2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
 1000: Error during parsing. Invalid alias: hour00::group::ngram in 
 {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: 
 chararray,hour: chararray,hour12::count: long}
 09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. 
 Invalid alias: hour00::group::ngram in {group::ngram: chararray,group::hour: 
 chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: 
 long}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-957) Tutorial is broken with 0.4 branch and trunk

2009-09-14 Thread Pradeep Kamath (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-957:
---

Status: Patch Available  (was: Open)

 Tutorial is broken with 0.4 branch and trunk
 

 Key: PIG-957
 URL: https://issues.apache.org/jira/browse/PIG-957
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Olga Natkovich
Assignee: Pradeep Kamath
 Fix For: 0.4.0

 Attachments: PIG-957-2.patch, PIG-957.patch


 As I was testing the Pig Tutorial in preparation for the release, I found 
 that we broke the second script both in local mode and in MR mode. The issue 
 has to do with schema and naming fields.  
 Here is what I see:
  
 java -cp pig.jar org.apache.pig.Main -x local script2-local.pig
 2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
 1000: Error during parsing. Invalid alias: hour00::group::ngram in 
 {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: 
 chararray,hour: chararray,hour12::count: long}
 09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. 
 Invalid alias: hour00::group::ngram in {group::ngram: chararray,group::hour: 
 chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: 
 long}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-957) Tutorial is broken with 0.4 branch and trunk

2009-09-14 Thread Pradeep Kamath (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-957:
---

  Resolution: Fixed
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

Patch committed to both trunk and branch-0.4

 Tutorial is broken with 0.4 branch and trunk
 

 Key: PIG-957
 URL: https://issues.apache.org/jira/browse/PIG-957
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Olga Natkovich
Assignee: Pradeep Kamath
 Fix For: 0.4.0

 Attachments: PIG-957-2.patch, PIG-957.patch


 As I was testing the Pig Tutorial in preparation for the release, I found 
 that we broke the second script both in local mode and in MR mode. The issue 
 has to do with schema and naming fields.  
 Here is what I see:
  
 java -cp pig.jar org.apache.pig.Main -x local script2-local.pig
 2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
 1000: Error during parsing. Invalid alias: hour00::group::ngram in 
 {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: 
 chararray,hour: chararray,hour12::count: long}
 09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. 
 Invalid alias: hour00::group::ngram in {group::ngram: chararray,group::hour: 
 chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: 
 long}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-957) Tutorial is broken with 0.4 branch and trunk

2009-09-11 Thread Pradeep Kamath (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-957:
---

Attachment: PIG-957.patch

Attached patch to address the issue. LOJoin's getSchema() now keeps both the 
disambiguated (outeralias::inneralis)  alias and the simple inner alias for non 
duplicate columns coming out of the LOJoin.

 Tutorial is broken with 0.4 branch and trunk
 

 Key: PIG-957
 URL: https://issues.apache.org/jira/browse/PIG-957
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Olga Natkovich
Assignee: Pradeep Kamath
 Fix For: 0.4.0

 Attachments: PIG-957.patch


 As I was testing the Pig Tutorial in preparation for the release, I found 
 that we broke the second script both in local mode and in MR mode. The issue 
 has to do with schema and naming fields.  
 Here is what I see:
  
 java -cp pig.jar org.apache.pig.Main -x local script2-local.pig
 2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
 1000: Error during parsing. Invalid alias: hour00::group::ngram in 
 {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: 
 chararray,hour: chararray,hour12::count: long}
 09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. 
 Invalid alias: hour00::group::ngram in {group::ngram: chararray,group::hour: 
 chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: 
 long}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-957) Tutorial is broken with 0.4 branch and trunk

2009-09-11 Thread Pradeep Kamath (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradeep Kamath updated PIG-957:
---

Status: Patch Available  (was: Open)

 Tutorial is broken with 0.4 branch and trunk
 

 Key: PIG-957
 URL: https://issues.apache.org/jira/browse/PIG-957
 Project: Pig
  Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Olga Natkovich
Assignee: Pradeep Kamath
 Fix For: 0.4.0

 Attachments: PIG-957.patch


 As I was testing the Pig Tutorial in preparation for the release, I found 
 that we broke the second script both in local mode and in MR mode. The issue 
 has to do with schema and naming fields.  
 Here is what I see:
  
 java -cp pig.jar org.apache.pig.Main -x local script2-local.pig
 2009-09-11 12:52:46,961 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
 1000: Error during parsing. Invalid alias: hour00::group::ngram in 
 {group::ngram: chararray,group::hour: chararray,hour00::count: long,ngram: 
 chararray,hour: chararray,hour12::count: long}
 09/09/11 12:52:46 ERROR grunt.Grunt: ERROR 1000: Error during parsing. 
 Invalid alias: hour00::group::ngram in {group::ngram: chararray,group::hour: 
 chararray,hour00::count: long,ngram: chararray,hour: chararray,hour12::count: 
 long}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.