Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14053

Fix HDFS tests to be ignored if Native I/O isn't available (remove tests.disableHdfs)

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.4
    • None
    • None

    Description

      This is a spinoff from SOLR-14033. HDFS tests on windows are currently disabled. They fail because when hadoop tries to link a native library it fails with an unchecked exception that propagates up the stack and leaves tons of stuff initialized and not cleaned up (internal jetty for the namenode, etc.), eventually leading to thread leaks and havoc.

      This issue is about handling this situation gracefully - ignoring the test and cleaning up properly.

      This will also render tests.disableHdfs useless but I'd mark all these tests as slow (because they are).

      Attachments

        1. consoleText.txt
          616 kB
          Kevin Risden

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              dweiss Dawid Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: