You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2016/11/28 22:45:58 UTC
[jira] [Commented] (SOLR-9767) Add/Remove Role in Collection API
does not pass role parameter to SolrServer
[ https://issues.apache.org/jira/browse/SOLR-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15703377#comment-15703377 ]
Kevin Risden commented on SOLR-9767:
------------------------------------
[~daisy_yu] - Can you add a test for this?
> 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
> Priority: Minor
> Attachments: SOLR-9767.patch
>
>
> // 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