Solr
  1. Solr
  2. SOLR-4915

The root cause should be returned to the user when a SolrCore create call fails.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Currently you get something like:

      Error CREATEing SolrCore 'collection2_shard2_replica1': Unable to create core: collection2_shard2_replica1

      But this would be much better:

      Error CREATEing SolrCore 'collection2_shard2_replica1': Unable to create core: collection2_shard2_replica1 Caused by: KeeperErrorCode = NoNode for /configs/collection1/solrconfig.xml
      1. SOLR-4915.patch
        1.0 kB
        Mark Miller

        Issue Links

          Activity

          Hide
          Mark Miller added a comment -

          A simple patch.

          Show
          Mark Miller added a comment - A simple patch.
          Hide
          Commit Tag Bot added a comment -

          [trunk commit] markrmiller
          http://svn.apache.org/viewvc?view=revision&revision=1492693

          SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.

          Show
          Commit Tag Bot added a comment - [trunk commit] markrmiller http://svn.apache.org/viewvc?view=revision&revision=1492693 SOLR-4915 : The root cause should be returned to the user when a SolrCore create call fails.
          Hide
          Commit Tag Bot added a comment -

          [branch_4x commit] markrmiller
          http://svn.apache.org/viewvc?view=revision&revision=1492696

          SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.

          Show
          Commit Tag Bot added a comment - [branch_4x commit] markrmiller http://svn.apache.org/viewvc?view=revision&revision=1492696 SOLR-4915 : The root cause should be returned to the user when a SolrCore create call fails.
          Hide
          Steve Rowe added a comment -

          Bulk close resolved 4.4 issues

          Show
          Steve Rowe added a comment - Bulk close resolved 4.4 issues
          Hide
          Mark Miller added a comment -

          SOLR-4915 actually reverted this and it will be fixed by SOLR-5327

          Show
          Mark Miller added a comment - SOLR-4915 actually reverted this and it will be fixed by SOLR-5327
          Hide
          ASF subversion and git services added a comment -

          Commit 1531157 from Mark Miller in branch 'dev/trunk'
          [ https://svn.apache.org/r1531157 ]

          SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create call fails", was reverted.

          Show
          ASF subversion and git services added a comment - Commit 1531157 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1531157 ] SOLR-5327 : SOLR-4915 , "The root cause should be returned to the user when a SolrCore create call fails", was reverted.
          Hide
          ASF subversion and git services added a comment -

          Commit 1531164 from Mark Miller in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1531164 ]

          SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create call fails", was reverted.

          Show
          ASF subversion and git services added a comment - Commit 1531164 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1531164 ] SOLR-5327 : SOLR-4915 , "The root cause should be returned to the user when a SolrCore create call fails", was reverted.
          Hide
          ASF subversion and git services added a comment -

          Commit 1531167 from Mark Miller in branch 'dev/branches/lucene_solr_4_5'
          [ https://svn.apache.org/r1531167 ]

          SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create call fails", was reverted.

          Show
          ASF subversion and git services added a comment - Commit 1531167 from Mark Miller in branch 'dev/branches/lucene_solr_4_5' [ https://svn.apache.org/r1531167 ] SOLR-5327 : SOLR-4915 , "The root cause should be returned to the user when a SolrCore create call fails", was reverted.
          Hide
          Mark Miller added a comment -

          The above commit to branch 4.5 is also part of the previous commit, r1531165 - the class got committed before the CHANGES entry.

          Show
          Mark Miller added a comment - The above commit to branch 4.5 is also part of the previous commit, r1531165 - the class got committed before the CHANGES entry.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development