Solr
  1. Solr
  2. SOLR-7004

CollectionsAPISolrJTests failure with no action specified

    Details

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

      Description

      Saw a test failure in org.apache.solr.cloud.CollectionsAPISolrJTests with the following stack trace:

      java.lang.RuntimeException: no action specified!
              at __randomizedtesting.SeedInfo.seed([B274BE727B8F0980:3392306A0CD069BC]:0)
              at org.apache.solr.client.solrj.request.CollectionAdminRequest.getParams(CollectionAdminRequest.java:68)
              at org.apache.solr.client.solrj.request.CollectionAdminRequest$BalanceShardUnique.getParams(CollectionAdminRequest.java:852)
              at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:734)
              at org.apache.solr.client.solrj.request.CollectionAdminRequest.process(CollectionAdminRequest.java:85)
              at org.apache.solr.cloud.CollectionsAPISolrJTests.testBalanceShardUnique(CollectionsAPISolrJTests.java:495)
              at org.apache.solr.cloud.CollectionsAPISolrJTests.doTest(CollectionsAPISolrJTests.java:67)
              at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:878)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      1. SOLR-7004.patch
        0.6 kB
        Anshum Gupta

        Activity

        Hide
        Anshum Gupta added a comment -

        Thanks for spotting this Shalin. Added the missing constructor that was supposed to set the action.

        Show
        Anshum Gupta added a comment - Thanks for spotting this Shalin. Added the missing constructor that was supposed to set the action.
        Hide
        ASF subversion and git services added a comment -

        Commit 1653343 from Anshum Gupta in branch 'dev/trunk'
        [ https://svn.apache.org/r1653343 ]

        SOLR-7004: Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action

        Show
        ASF subversion and git services added a comment - Commit 1653343 from Anshum Gupta in branch 'dev/trunk' [ https://svn.apache.org/r1653343 ] SOLR-7004 : Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action
        Hide
        ASF subversion and git services added a comment -

        Commit 1653345 from Anshum Gupta in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1653345 ]

        SOLR-7004: Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action (Merge from trunk)

        Show
        ASF subversion and git services added a comment - Commit 1653345 from Anshum Gupta in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1653345 ] SOLR-7004 : Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action (Merge from trunk)
        Hide
        ASF subversion and git services added a comment -

        Commit 1653346 from Anshum Gupta in branch 'dev/branches/lucene_solr_5_0'
        [ https://svn.apache.org/r1653346 ]

        SOLR-7004: Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action (Merge from branch_5x)

        Show
        ASF subversion and git services added a comment - Commit 1653346 from Anshum Gupta in branch 'dev/branches/lucene_solr_5_0' [ https://svn.apache.org/r1653346 ] SOLR-7004 : Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action (Merge from branch_5x)
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Anshum Gupta
            Reporter:
            Shalin Shekhar Mangar
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development