You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Christian Kunz (JIRA)" <ji...@apache.org> on 2008/07/10 03:49:31 UTC

[jira] Created: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Minor Changes to SliceWrapper for Generic Hadoop InputFormat
------------------------------------------------------------

                 Key: PIG-300
                 URL: https://issues.apache.org/jira/browse/PIG-300
             Project: Pig
          Issue Type: Improvement
         Environment: trunk
            Reporter: Christian Kunz


I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.

Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.

It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:

1) an additional get method to return the 'wrapped' slice.
2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).

I will make a patch available shortly.

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


[jira] Commented: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Yiping Han (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621559#action_12621559 ] 

Yiping Han commented on PIG-300:
--------------------------------

Is there a plan to commit this patch and port to types branch?

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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


[jira] Resolved: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Christian Kunz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Kunz resolved PIG-300.
--------------------------------

       Resolution: Fixed
    Fix Version/s: types_branch

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>             Fix For: types_branch
>
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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


[jira] Updated: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Christian Kunz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Kunz updated PIG-300:
-------------------------------

    Attachment: PIG-300.patch

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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


[jira] Updated: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Christian Kunz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Kunz updated PIG-300:
-------------------------------

    Status: Patch Available  (was: Open)

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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


[jira] Updated: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Christian Kunz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Kunz updated PIG-300:
-------------------------------

    Patch Info: [Patch Available]

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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


[jira] Updated: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Christian Kunz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Kunz updated PIG-300:
-------------------------------

    Status: Open  (was: Patch Available)

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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


[jira] Commented: (PIG-300) Minor Changes to SliceWrapper for Generic Hadoop InputFormat

Posted by "Christian Kunz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645316#action_12645316 ] 

Christian Kunz commented on PIG-300:
------------------------------------

This patch has been ported to the 'types' branch and is part of PIG 2.

> Minor Changes to SliceWrapper for Generic Hadoop InputFormat
> ------------------------------------------------------------
>
>                 Key: PIG-300
>                 URL: https://issues.apache.org/jira/browse/PIG-300
>             Project: Pig
>          Issue Type: Improvement
>         Environment: trunk
>            Reporter: Christian Kunz
>         Attachments: PIG-300.patch
>
>
> I am working on a Load Function that allows to specify any Hadoop FileInputFormat or CompositeInputFormat.
> Because of the nature of PigSlice and PigSlicer such a UDF needs to use a different implementation of Slice and Slicer.
> It turns out that it would be extremely helpful if the SliceWrapper class had a couple of minor changes:
> 1) an additional get method to return the 'wrapped' slice.
> 2) change to getLocations method to just call the getLocations() method of the wrapped Slice, unless 'wrapped' is a PigSlice (in which case it just does what it does now).
> I will make a patch available shortly.

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