[ 
https://issues.apache.org/jira/browse/SOLR-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981080#action_12981080
 ] 

will milspec commented on SOLR-2314:
------------------------------------

Correction:
Where the bug says "-Dsolr.enable.master" it should have said  
'-Denable.master'  (similarly for slave)



> replicate/index.jsp UI does not honor java system properties enable.master, 
> enable.slave
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-2314
>                 URL: https://issues.apache.org/jira/browse/SOLR-2314
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.4.1
>         Environment: jdk 1.6.0.23  ; both jetty and jboss/tomcat. 
>            Reporter: will milspec
>            Priority: Minor
>
> Summary:
> ==========
> - Admin UI replication/index.jsp checks for master or slave with the 
> following code:
>    if ("true".equals(detailsMap.get("isSlave"))) 
> -  if slave, replication/index.jsp displays the "Master" and "Poll 
> Intervals", etc. sections (everything up to "Cores")
> - if false, replication/index.jsp does not display the "Master", "Poll 
> Intervals" sections 
> -This "slave check/UI difference" works correctly if the solrconfig.xml has a 
>  "slave" but not "master" section or vice versa
> Expected results:
> ==================
> Same UI difference would occur in the following scenario:
>    a) solrconfig.xml has both master and slave entries
>    b) use java.properties (-Dsolr.enable.master -Dsolr.enable.slave) to set 
> "master" or "slave" at runtime
> *OR*
>     c) use solrcore.properties  to set "master" and "slave" at runtime
> Actual results:
> ==================
> If solrconfig.xml has both master and slave entries, replication/index.jsp 
> shows both "master" and "slave" section regardless of system.properties or 
> solrcore.properties

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to