[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588301#comment-13588301 ] Alfonso Presa commented on SOLR-4507: - Doesn't seem that either /solr/admin/system nor /solr/admin/cores provide any information about the Solr cloud is active when not using the -DzkHost command line argument :-(. After doing some researching, may be the easiest way to solve this issue could be calling to http://host:port/solr/zookeeper service and checking if response does contain a tree element, if so the #cloud element of the menu should be displayed. Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Priority: Minor I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588371#comment-13588371 ] Mark Miller commented on SOLR-4507: --- Thanks for looking into this Alfonso. Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Priority: Minor Fix For: 4.2, 5.0 I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588384#comment-13588384 ] Mark Miller commented on SOLR-4507: --- I'm thinking I'll just add something to the system output that tells if cloud mode is on. Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Priority: Minor Fix For: 4.2, 5.0 I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588389#comment-13588389 ] Alfonso Presa commented on SOLR-4507: - That sounds like the perfect solution :-) (way better than mine). Thank you, Mark. Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Assignee: Mark Miller Priority: Minor Fix For: 4.2, 5.0 I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588416#comment-13588416 ] Commit Tag Bot commented on SOLR-4507: -- [trunk commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revisionrevision=1450800 SOLR-4507: The Cloud tab does not show up in the Admin UI if you set zkHost in solr.xml. Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Assignee: Mark Miller Priority: Minor Fix For: 4.2, 5.0 I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588427#comment-13588427 ] Commit Tag Bot commented on SOLR-4507: -- [branch_4x commit] Mark Robert Miller http://svn.apache.org/viewvc?view=revisionrevision=1450801 SOLR-4507: The Cloud tab does not show up in the Admin UI if you set zkHost in solr.xml. Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Assignee: Mark Miller Priority: Minor Fix For: 4.2, 5.0 I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4507) Cloud option not showing in admin UI when not using -DzkHost command line option
[ https://issues.apache.org/jira/browse/SOLR-4507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13588432#comment-13588432 ] Alfonso Presa commented on SOLR-4507: - Wow that was fast :-). Thank you Mark! Cloud option not showing in admin UI when not using -DzkHost command line option Key: SOLR-4507 URL: https://issues.apache.org/jira/browse/SOLR-4507 Project: Solr Issue Type: Bug Components: SolrCloud Affects Versions: 4.1 Environment: Linux Reporter: Alfonso Presa Assignee: Mark Miller Priority: Minor Fix For: 4.2, 5.0 I've found out that in Solr 4.1, when using the zkHost attribute of the solr tag in solr.xml, instead of the -DzkHost command line option, SolrCloud works perfectly but the cloud option in the admin UI doesn't appear. Bug seems to be on app.js file in lines 316-322 in Solr 4.1 (406-412 in current trunk) when the UI tries to guess if SolrCloud is enabled. Not sure about the correct way of detecting if cloud is active but the current implementation is inconsistent with the funtionality available in solr.xml to provide the list of zkHosts. Afected snippet from app.js: {quote} if( response.jvm response.jvm.jmx response.jvm.jmx.commandLineArgs ) { var command_line_args = response.jvm.jmx.commandLineArgs.join( ' | ' ); environment_args = command_line_args.match( /-Dsolr.environment=((dev|test|prod)?[\w\d]*)/i ); cloud_args = command_line_args.match( /-Dzk/i ); } {quote} *How to reproduce* In a Solr ensemble using zookeeper, start up a node specifing the list of hosts in the zkHost attribute of the solr tag of solr.xml file and do not provide the -DzkHost atribute. *Result* The cloud option is not available on the admin UI for that node. Though the node is registered correctly as client in the zk ensemble and is working as expected. In fact if you directly access the 'htt://host:port/solr/#/~cloud' url the cloud info is shown, but the option is still hidden. *Excepted result* When accesing the solr admin UI of the node the cloud menu option should be visible. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org