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

Matthew Hayes commented on DATAFU-114:
--------------------------------------

Try the patch in DATAFU-95 I just attached and see if that helps your build 
issue.  It should work with JDK 1.7 now.

By the way, I've had good success switching Java versions using jenv 
(https://github.com/gcuisinier/jenv).  Haven't tried it on Ubuntu but it seems 
like it would work.

Also in the future a patch+RB makes it easier to review and apply the changes.

> Make FirstTupleFromBag implement Accumulator
> --------------------------------------------
>
>                 Key: DATAFU-114
>                 URL: https://issues.apache.org/jira/browse/DATAFU-114
>             Project: DataFu
>          Issue Type: Improvement
>    Affects Versions: 1.3.0
>         Environment: All
>            Reporter: Eyal Allweil
>            Priority: Minor
>              Labels: easyfix, newbie, performance
>             Fix For: 1.3.1
>
>         Attachments: FirstTupleFromBag.java
>
>
> FirstTupleFromBag only needs the first tuple from the bag, but because it 
> doesn't implement Accumulator the entire bag needs to be passed to it 
> in-memory. The fix is very minor and will make the UDF support large bags.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to