Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16757 Umbrella Ticket for Revamping Solr CLI's for the Future
  3. SOLR-17315

Bug in messaging when creating a collection, and then you can't actually call the config method to set-user-property

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.6
    • 9.7
    • cli
    • None

    Description

      I made a collection, and noticed the default message doesn't format properly:

       

      {{{

       bin/solr create -c stuff     
      Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is http://localhost:8983.
      Neither -zkHost or -solrUrl parameters provided so assuming solrUrl is http://localhost:8983.
      WARN  - 2024-05-29 13:48:32.981; org.apache.solr.common.cloud.SolrZkClient; Using default ZkCredentialsInjector. ZkCredentialsInjector is not secure, it creates an empty list of credentials which leads to 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
      WARN  - 2024-05-29 13:48:33.049; org.apache.solr.common.cloud.SolrZkClient; Using default ZkACLProvider. DefaultZkACLProvider is not secure, it creates 'OPEN_ACL_UNSAFE' ACLs to Zookeeper nodes
      WARNING: Using _default configset. Data driven schema functionality is enabled by default, which is
               NOT RECOMMENDED for production use.

               To turn it off:
                  curl http://localhost:8983/null/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'
               Or:
                  bin/solr config -c null -p 8983 -action set-user-property -property update.autoCreateFields -value false

      }}}

       

      -c null is wrong.  Also, on main, the -p didn't work!

      Attachments

        Issue Links

          Activity

            People

              epugh Eric Pugh
              epugh Eric Pugh
              Votes:
              0 Vote for this issue
              Watchers:
              4 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