accumulo-notifications mailing list archives

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

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

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

https://github.com/benjumanji/sbt-accumulomini

> Accumulo mini cluster unusable with sbt
> ---------------------------------------
>
>                 Key: ACCUMULO-4073
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4073
>             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?
> https://github.com/apache/accumulo/blob/master/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniAccumuloClusterImpl.java#L270



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

Mime
View raw message