You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Chris Albright (JIRA)" <ji...@apache.org> on 2014/03/02 05:53:19 UTC

[jira] [Commented] (CRUNCH-354) CrunchInputSplit is not public

    [ https://issues.apache.org/jira/browse/CRUNCH-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917285#comment-13917285 ] 

Chris Albright commented on CRUNCH-354:
---------------------------------------

I am trying to access the underlying input split from a DoFn instance to get the input file name while building an inverted index. By limiting access to the CrunchInputSplit the details are not accessible. One of the powerful aspects of Crunch (IMHO) is the access it allows to the MapReduce API, but in this case I was inhibited. I will paste the code I wrote for this case when I'm at home. 

Of course it's possible there is another way I can access the underlying InputSplit that I didn't consider, and if I jumped the gun on this pleas let me know. 

> CrunchInputSplit is not public
> ------------------------------
>
>                 Key: CRUNCH-354
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-354
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9.0, 0.10.0
>            Reporter: Chris Albright
>            Assignee: Josh Wills
>         Attachments: CRUNCH-354.patch
>
>
> I'm unable to access the underlying InputSplit since I can't cast to CrunchInputSplit



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