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)

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment