[ 
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)

Reply via email to