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

ZkSolrResourceLoader should not retry fetching resources if the server has been shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.2, 7.0
    • SolrCloud, Tests
    • None

    Description

      See http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/17211/

      Build: http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/17211/
      Java: 64bit/jdk-9-ea+125 -XX:-UseCompressedOops -XX:+UseConcMarkSweepGC
      
      1 tests failed.
      FAILED:  junit.framework.TestSuite.org.apache.solr.handler.TestSolrConfigHandlerCloud
      
      Error Message:
      1 thread leaked from SUITE scope at org.apache.solr.handler.TestSolrConfigHandlerCloud:     1) Thread[id=13408, name=Thread-4239, state=TIMED_WAITING, group=TGRP-TestSolrConfigHandlerCloud]         at java.lang.Thread.sleep(java.base@9-ea/Native Method)         at org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:101)         at org.apache.solr.core.SolrResourceLoader.openSchema(SolrResourceLoader.java:333)         at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:48)         at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75)         at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:107)         at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:78)         at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:959)         at org.apache.solr.core.SolrCore.lambda$getConfListener$6(SolrCore.java:2544)         at org.apache.solr.core.SolrCore$$Lambda$190/2120853973.run(Unknown Source)         at org.apache.solr.cloud.ZkController$4.run(ZkController.java:2445)
      
      Stack Trace:
      com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.handler.TestSolrConfigHandlerCloud:
         1) Thread[id=13408, name=Thread-4239, state=TIMED_WAITING, group=TGRP-TestSolrConfigHandlerCloud]
              at java.lang.Thread.sleep(java.base@9-ea/Native Method)
              at org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:101)
              at org.apache.solr.core.SolrResourceLoader.openSchema(SolrResourceLoader.java:333)
              at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:48)
              at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75)
              at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:107)
              at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:78)
              at org.apache.solr.core.CoreContainer.reload(CoreContainer.java:959)
              at org.apache.solr.core.SolrCore.lambda$getConfListener$6(SolrCore.java:2544)
              at org.apache.solr.core.SolrCore$$Lambda$190/2120853973.run(Unknown Source)
              at org.apache.solr.cloud.ZkController$4.run(ZkController.java:2445)
              at __randomizedtesting.SeedInfo.seed([BADD07D0FBA79324]:0)
      

      Attachments

        1. SOLR-9291.patch
          2 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: