Ishan Chattopadhyaya created SOLR-8320: ------------------------------------------
Summary: Cloud example throws 404 for config handler Key: SOLR-8320 URL: https://issues.apache.org/jira/browse/SOLR-8320 Project: Solr Issue Type: Bug Reporter: Ishan Chattopadhyaya Tried to run the cloud example with basic_configs, 1 shard, 1 replica. I got a 404 as below. Everything works as normal, though. {noformat} [ishan@x230 solr]$ bin/solr -c -e cloud Welcome to the SolrCloud example! This interactive session will help you launch a SolrCloud cluster on your local workstation. To begin, how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]: 2 Ok, let's start up 2 Solr nodes for your example SolrCloud cluster. Please enter the port for node1 [8983]: Please enter the port for node2 [7574]: Creating Solr home directory /home/ishan/code/lucene-solr-svn/solr/example/cloud/node1/solr Cloning /home/ishan/code/lucene-solr-svn/solr/example/cloud/node1 into /home/ishan/code/lucene-solr-svn/solr/example/cloud/node2 Starting up Solr on port 8983 using command: bin/solr start -cloud -p 8983 -s "example/cloud/node1/solr" Waiting up to 30 seconds to see Solr running on port 8983 [-] Started Solr server on port 8983 (pid=31876). Happy searching! Starting up Solr on port 7574 using command: bin/solr start -cloud -p 7574 -s "example/cloud/node2/solr" -z localhost:9983 Waiting up to 30 seconds to see Solr running on port 7574 [/] Started Solr server on port 7574 (pid=32270). Happy searching! Now let's create a new collection for indexing documents in your 2-node cluster. Please provide a name for your new collection: [gettingstarted] How many shards would you like to split gettingstarted into? [2] 1 How many replicas per shard would you like to create? [2] 1 Please choose a configuration for the gettingstarted collection, available options are: basic_configs, data_driven_schema_configs, or sample_techproducts_configs [data_driven_schema_configs] basic_configs Connecting to ZooKeeper at localhost:9983 ... Uploading /home/ishan/code/lucene-solr-svn/solr/server/solr/configsets/basic_configs/conf for config gettingstarted to ZooKeeper at localhost:9983 Creating new collection 'gettingstarted' using command: http://localhost:8983/solr/admin/collections?action=CREATE&name=gettingstarted&numShards=1&replicationFactor=1&maxShardsPerNode=1&collection.configName=gettingstarted { "responseHeader":{ "status":0, "QTime":23616}, "success":{"":{ "responseHeader":{ "status":0, "QTime":23273}, "core":"gettingstarted_shard1_replica1"}}} Enabling auto soft-commits with maxTime 3 secs using the Config API POSTing request to Config API: http://localhost:8983/solr/gettingstarted/config {"set-property":{"updateHandler.autoSoftCommit.maxTime":"3000"}} ERROR: Error from server at http://localhost:8983/solr: Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /solr/gettingstarted/config. Reason: <pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html> SolrCloud example running, please visit: http://localhost:8983/solr {noformat} Haven't yet looked into what is happening here. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org