On 10/15/2018 11:00 AM, vishal ghugare wrote:
I have built Solr 7.4.0 with upgraded version (25.0-jre/26.0-jre) of guava
dependency.
When unit tests are run against solr with guava 25.0-jre or 26.0-jre, some
of the unit tests stall indefinitely and the testing never finishes up.

For example, here HdfsNNFailoverTest stall indefinitely. Log excerpts for
unit test run with guava 25.0-jre:

See this issue:

https://issues.apache.org/jira/browse/SOLR-11763

There are some minor code issues in Solr itself when upgrading Guava to current versions, but the biggest problem is in Solr's HDFS dependency.  Hadoop is still depending on very old Guava versions.

If you are NOT using the HDFS support in Solr, and you fix the minor code issues in Solr itself, then it is very likely that you can use the Solr version that you have built.  But until Hadoop fixes their compatibility issues with later Guava versions, I'm afraid that you will see HDFS test failures, and there's nothing that can be done in Solr code to fix them.

Thanks,
Shawn

Reply via email to