XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • AutoScaling
    • None

    Description

      Steps to show suggestions

      bin/solr start -e cloud
      
      #give the following inputs for prompts
      This interactive session will help you launch a SolrCloud cluster on your local workstation.
      To begin, how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]: 
      4
      Please provide a name for your new collection: [gettingstarted] 
      mycoll
      How many shards would you like to split mycoll into? [2]
      4
      
      How many replicas per shard would you like to create? [2] 
      2
      
      #run the following command so that there are violating replicas
      curl http://localhost:8983/api/cluster/autoscaling -H 'Content-type:application/json' -d '{
      "set-cluster-policy": [
        {"replica": "0", "shard": "#EACH", "port": 7574}
        ]
      }'
      #hit the suggestions end point at the url
      http://localhost:8983/api/cluster/autoscaling/suggestions
      

      add an entry to the sidebar as follows

      use the output of the suggestions API to map to the table data

      Attachments

        1. suggestions_table.jpg
          47 kB
          Noble Paul
        2. suggestions_table.jpg
          61 kB
          Noble Paul
        3. SOLR-11648-standalone-solr-fix.patch
          2 kB
          Shalin Shekhar Mangar
        4. sidebar.jpg
          23 kB
          Noble Paul
        5. screen4.png
          33 kB
          Apoorv Bhawsar
        6. screen3.png
          35 kB
          Apoorv Bhawsar
        7. screen2.png
          73 kB
          Apoorv Bhawsar
        8. screen1.png
          76 kB
          Apoorv Bhawsar
        9. no_suggestions.png
          8 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m