accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Edwards (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4073) Accumulo mini cluster unusable with sbt
Date Fri, 11 Dec 2015 09:04:10 GMT


Ben Edwards commented on ACCUMULO-4073:

Yes, sorry, by choke I meant throw an exception.

Happily, there is a way out of this without anyone lifting a finger. I should have thought
about this before filing an issue. SBT has a setting to fork the JVM for tests, and that means
that accumulo never ends up knowing that it is being launched by sbt and the work is happy.

For posterity that might see this ticket I offer this completely self-contained example of
it working (sbt bootstrap included):

> Accumulo mini cluster unusable with sbt
> ---------------------------------------
>                 Key: ACCUMULO-4073
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: mini
>    Affects Versions: 1.7.0
>         Environment: OS: Linux  4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015
x86_64 GNU/Linux
> Java:
> openjdk version "1.8.0_66"
> OpenJDK Runtime Environment (build 1.8.0_66-b17)
> OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)
>            Reporter: Ben Edwards
> Because the accumulo mini cluster checks for explict classloader types, it throws because
it doesn't like the sbt classloader. 
> Does it need to choke?

This message was sent by Atlassian JIRA

View raw message