You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daisy.Yuan (JIRA)" <ji...@apache.org> on 2016/11/15 12:56:58 UTC

[jira] [Created] (SOLR-9767) Add/Remove Role in Collection API does not pass role parameter to SolrServer

Daisy.Yuan created SOLR-9767:
--------------------------------

             Summary: Add/Remove Role in Collection API does not pass role parameter to SolrServer
                 Key: SOLR-9767
                 URL: https://issues.apache.org/jira/browse/SOLR-9767
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrJ
    Affects Versions: 6.2
         Environment: Linux Suse And Windows 7
            Reporter: Daisy.Yuan


// CollectionAdminResponse response = CollectionAdminRequest.addRole("192.168.1.2:21104_solr", "overseer").process(cloudSolrClient);
            CollectionAdminResponse response = CollectionAdminRequest.removeRole("192.168.1.3:21104",  "overseer").process(cloudSolrClient);
            if (response.getStatus() != 0) {
                System.out.println(response.getErrorMessages());
            }

When I add or remove role, it throw exception " Missing required parameter: role"



--
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