You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2012/12/18 21:28:12 UTC

[jira] [Created] (ACCUMULO-914) Junit tests in eclipse fail due to Classloader poorly parsing classpath locations

John Vines created ACCUMULO-914:
-----------------------------------

             Summary: Junit tests in eclipse fail due to Classloader poorly parsing classpath locations
                 Key: ACCUMULO-914
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-914
             Project: Accumulo
          Issue Type: Bug
          Components: start
    Affects Versions: 1.4.2
         Environment: eclipse, ubuntu 12.04
            Reporter: John Vines
            Assignee: John Vines
             Fix For: 1.5.0, 1.4.3


Accumulo uses $ACCUMULO_HOME/lib/ext/[.*].jar to find files to watch. If ACCUMULO_HOME isn't set (like in a test environment such as eclipse), it drops the $ACCUMULO_HOME. From there, it ends up turning it into watching /lib. On OSX, which a majority of the developers here use, it's not an issue. However, watching /lib introduces a heapload of issues. I do not know why this does not affect mvn tests, I didn't dig into it.

I think if ACCUMULO_HOME isn't set, we should just ignore that directory (instead of inserting empty string for the portion).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira