[jira] [Updated] (PIG-3608) ClassCastException when looking up a value from AvroMapWrapper using a Utf8 key

2013-12-27 Thread Richard Ding (JIRA)

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

Richard Ding updated PIG-3608:
--

   Resolution: Fixed
Fix Version/s: 0.13.0
 Release Note: 
Committed to trunk.

 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

 ClassCastException when looking up a value from AvroMapWrapper using a Utf8 
 key
 ---

 Key: PIG-3608
 URL: https://issues.apache.org/jira/browse/PIG-3608
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.12.0
Reporter: Richard Ding
Assignee: Richard Ding
Priority: Minor
 Fix For: 0.13.0

 Attachments: PIG-3608.patch, PIG-3608_2.patch


 One got the following exception:
 {code}
 java.lang.ClassCastException: org.apache.avro.util.Utf8 incompatible with 
 java.lang.String 
 at 
 org.apache.pig.impl.util.avro.AvroMapWrapper.get(AvroMapWrapper.java:80)
 {code}
 This is related to the change by PIG-3420.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (PIG-3608) ClassCastException when looking up a value from AvroMapWrapper using a Utf8 key

2013-12-06 Thread Richard Ding (JIRA)

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

Richard Ding updated PIG-3608:
--

Attachment: PIG-3608_2.patch

You are right. Update the patch with a test case.

 ClassCastException when looking up a value from AvroMapWrapper using a Utf8 
 key
 ---

 Key: PIG-3608
 URL: https://issues.apache.org/jira/browse/PIG-3608
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.12.0
Reporter: Richard Ding
Assignee: Richard Ding
Priority: Minor
 Attachments: PIG-3608.patch, PIG-3608_2.patch


 One got the following exception:
 {code}
 java.lang.ClassCastException: org.apache.avro.util.Utf8 incompatible with 
 java.lang.String 
 at 
 org.apache.pig.impl.util.avro.AvroMapWrapper.get(AvroMapWrapper.java:80)
 {code}
 This is related to the change by PIG-3420.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (PIG-3608) ClassCastException when looking up a value from AvroMapWrapper using a Utf8 key

2013-12-05 Thread Richard Ding (JIRA)

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

Richard Ding updated PIG-3608:
--

Attachment: PIG-3608.patch

Attach a simple patch.

 ClassCastException when looking up a value from AvroMapWrapper using a Utf8 
 key
 ---

 Key: PIG-3608
 URL: https://issues.apache.org/jira/browse/PIG-3608
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.12.0
Reporter: Richard Ding
Priority: Minor
 Attachments: PIG-3608.patch


 One got the following exception:
 {code}
 java.lang.ClassCastException: org.apache.avro.util.Utf8 incompatible with 
 java.lang.String 
 at 
 org.apache.pig.impl.util.avro.AvroMapWrapper.get(AvroMapWrapper.java:80)
 {code}
 This is related to the change by PIG-3420.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (PIG-3608) ClassCastException when looking up a value from AvroMapWrapper using a Utf8 key

2013-12-05 Thread Richard Ding (JIRA)

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

Richard Ding updated PIG-3608:
--

Status: Patch Available  (was: Open)

 ClassCastException when looking up a value from AvroMapWrapper using a Utf8 
 key
 ---

 Key: PIG-3608
 URL: https://issues.apache.org/jira/browse/PIG-3608
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.12.0
Reporter: Richard Ding
Assignee: Richard Ding
Priority: Minor
 Attachments: PIG-3608.patch


 One got the following exception:
 {code}
 java.lang.ClassCastException: org.apache.avro.util.Utf8 incompatible with 
 java.lang.String 
 at 
 org.apache.pig.impl.util.avro.AvroMapWrapper.get(AvroMapWrapper.java:80)
 {code}
 This is related to the change by PIG-3420.



--
This message was sent by Atlassian JIRA
(v6.1#6144)