You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2016/07/01 11:33:11 UTC

[jira] [Created] (SOLR-9272) Auto resolve zkHost for bin/solr zk for running Solr

Jan Høydahl created SOLR-9272:
---------------------------------

             Summary: Auto resolve zkHost for bin/solr zk for running Solr
                 Key: SOLR-9272
                 URL: https://issues.apache.org/jira/browse/SOLR-9272
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: scripts and tools
    Affects Versions: 6.2
            Reporter: Jan Høydahl


Spinoff from SOLR-9194:

We can skip requiring {{-z}} for {{bin/solr zk}} for a Solr that is already running. We can optionally accept the {{-p}} parameter instead, and with that use StatusTool to fetch the {{cloud/ZooKeeper}} property from there. It's easier to remember solr port than zk string.

Example:
{noformat}
bin/solr start -c -p 9090
bin/solr zk ls / -p 9090
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org