[
https://issues.apache.org/jira/browse/SOLR-14053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993765#comment-16993765
]
Dawid Weiss commented on SOLR-14053:
------------------------------------
This test fails internally with link exception against a native library - you
can't just catch that exception because by then it's already too late. We could
add a check for Windows to that condition but what about cygwin then (is there
anybody running these tests in such an esoteric config?).
> Fix HDFS tests to be ignored if Native I/O isn't available (remove
> tests.disableHdfs)
> -------------------------------------------------------------------------------------
>
> Key: SOLR-14053
> URL: https://issues.apache.org/jira/browse/SOLR-14053
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
> Fix For: master (9.0)
>
> Attachments: consoleText.txt
>
>
> 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).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]