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

solrconfig.xml missing from _default configset in tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Description

      I've seen tests fail with:

      Can't find resource 'solrconfig.xml' in classpath or '/configs/COLLECTION_NAME.AUTOCREATED'
      

      I checked the logs and the solrconfig.xml file is not in the "_default" configset, which is why it's not in the AUTOCREATED one either:

       [junit4]   2> 934674 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.a.c.CreateCollectionCmd Create collection testMixedReplicas-false
         [junit4]   2> 934675 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/protwords.txt to /configs/testMixedReplicas-false.AUTOCREATED/protwords.txt
         [junit4]   2> 934675 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/managed-schema to /configs/testMixedReplicas-false.AUTOCREATED/managed-schema
         [junit4]   2> 934676 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/lang/contractions_it.txt to /configs/testMixedReplicas-false.AUTOCREATED/lang/contractions_it.txt
         [junit4]   2> 934677 INFO  (OverseerThreadFactory-5849-thread-1) [    ] 
      ...
         [junit4]   2> 934698 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/params.json to /configs/testMixedReplicas-false.AUTOCREATED/params.json
         [junit4]   2> 934699 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/synonyms.txt to /configs/testMixedReplicas-false.AUTOCREATED/synonyms.txt
         [junit4]   2> 934699 INFO  (OverseerThreadFactory-5849-thread-1) [    ] o.a.s.c.c.ZkConfigManager Copying zk node /configs/_default/stopwords.txt to /configs/testMixedReplicas-false.AUTOCREATED/stopwords.txt
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tflobbe Tomas Eduardo Fernandez Lobbe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: