Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-914

Junit tests in eclipse fail due to Classloader poorly parsing classpath locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.4.3, 1.5.0
    • start
    • None
    • eclipse, ubuntu 12.04

    Description

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

      Attachments

        Activity

          People

            vines John Vines
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: