[jira] [Commented] (DATAFU-95) Improve wrong JDK error message
[ https://issues.apache.org/jira/browse/DATAFU-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15097858#comment-15097858 ] Eyal Allweil commented on DATAFU-95: As an immediate, easy-to-do improvement, writing what Java version is required in the main README on GitHub would be great. > Improve wrong JDK error message > --- > > Key: DATAFU-95 > URL: https://issues.apache.org/jira/browse/DATAFU-95 > Project: DataFu > Issue Type: Improvement >Reporter: Jakob Homan >Priority: Minor > > Right now if one tries to build against JDK1.7, the resulting failure is a > bit unclear: > {noformat}Download > https://repo1.maven.org/maven2/org/eclipse/equinox/app/1.3.200-v20130910-1609/app-1.3.200-v20130910-1609.jar > /Users/jahoman/repos/datafu/build-plugin/src/main/java/org/adrianwalker/multilinestring/MultilineProcessor.java:18: > error: cannot find symbol > @SupportedSourceVersion(SourceVersion.RELEASE_8) > ^ > symbol: variable RELEASE_8 > location: class SourceVersion > 1 error > :build-plugin:compileJava FAILED > FAILURE: Build failed with an exception. > {noformat} > It may be better to use something like [The > Sweeney|https://github.com/boxheed/gradle-sweeney-plugin] to enforce this and > provide a better, faster message on failure. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (DATAFU-114) Make FirstTupleFromBag implement Accumulator
Eyal Allweil created DATAFU-114: --- Summary: 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 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)
[jira] [Updated] (DATAFU-114) Make FirstTupleFromBag implement Accumulator
[ https://issues.apache.org/jira/browse/DATAFU-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eyal Allweil updated DATAFU-114: Attachment: FirstTupleFromBag.java I wasn't able to test this patch because I can't get the build working on my system (Ubuntu LTS) .. I'm getting the error described [here|https://issues.apache.org/jira/browse/DATAFU-95]. I can't seem to make Gradle use a different Java to get it to compile. However, since the implementation of Accumulator is relatively straightforward, I hopefully haven't made any mistakes and I would appreciate if someone whose build is working tried it out and pulled the patch. > 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 > 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)