crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Albright (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-354) CrunchInputSplit is not public
Date Sun, 02 Mar 2014 04:53:19 GMT


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:
>             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

View raw message