pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-949) Zebra Bug: splitting map into multiple column group using storage hint causes unexpected behaviour
Date Tue, 22 Sep 2009 18:10:17 GMT

    [ https://issues.apache.org/jira/browse/PIG-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758328#action_12758328

Raghu Angadi commented on PIG-949:

Yan, please include the test case in the patch. 

Also I would suggest a regular name for the test case file something like 'TestMapAcrossMultipleCGs.java'
or something shorter. Inside the file you could mention JIRA number in the comment.


> Zebra Bug: splitting map into multiple column group using storage hint causes unexpected
> --------------------------------------------------------------------------------------------------
>                 Key: PIG-949
>                 URL: https://issues.apache.org/jira/browse/PIG-949
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>         Environment: linux
>            Reporter: Alok Singh
>            Assignee: Yan Zhou
>         Attachments: Pig_949.patch
> Hi 
>  The storage hint
> specification plays a important part whether the output table is readable or not
> say if we have have the map 'map'.
> One can split the map into a column group using [map#{k1}, map#{k2}...] 
> however the remaining map field will automatically be added to the default group.
> if user try to create a new column group for the remaining fields as follows
> [map#{k1}, map#{k2}, ..][map] i.e create a seperate column group
> the table writer will create the table.
> however, if one tries to load the created table via pig or via map reduce using TableInputFormat
> then the reader  have problem reading the map
> We get the following stack trace
> 09/09/09 00:09:45 INFO mapred.JobClient: Task Id : attempt_200908191538_33939_m_000021_2,
Status : FAILED
> java.io.IOException: getValue() failed: null
>         at org.apache.hadoop.zebra.io.BasicTable$Reader$BTScanner.getValue(BasicTable.java:775)
>         at org.apache.hadoop.zebra.mapred.TableRecordReader.next(TableInputFormat.java:717)
>         at org.apache.hadoop.zebra.mapred.TableRecordReader.next(TableInputFormat.java:651)
>         at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.moveToNext(MapTask.java:191)
>         at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.next(MapTask.java:175)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:48)
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:356)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)
>         at org.apache.hadoop.mapred.Child.main(Child.java:170)
> Alok

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

View raw message