[ https://issues.apache.org/jira/browse/OODT-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15214221#comment-15214221 ]
Lewis John McGibbney commented on OODT-925: ------------------------------------------- OK so I can reproduce this issue no problem with Solr 5.4.0 After copying the file manager Solr schema.xml over to the basic configs directory of my local Solr instance, I get issues when attempting to deploy a Solr cloud setup {code} lmcgibbn@LMC-032857 /usr/local/solr-5.4.0 $ ./bin/solr -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]: Solr home directory /usr/local/solr-5.4.0/example/cloud/node1/solr already exists. /usr/local/solr-5.4.0/example/cloud/node2 already exists. 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=1938). 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=2052). 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] Collection 'gettingstarted' already exists! Do you want to re-use the existing collection or create a new one? Enter 1 to reuse, 2 to create new [1]: 2 Please provide a name for your new collection: [gettingstarted] Collection 'gettingstarted' already exists! Do you want to re-use the existing collection or create a new one? Enter 1 to reuse, 2 to create new [1]: 2 Please provide a name for your new collection: [gettingstarted] oodt_test How many shards would you like to split oodt_test into? [2] How many replicas per shard would you like to create? [2] Please choose a configuration for the oodt_test 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 /usr/local/solr-5.4.0/server/solr/configsets/basic_configs/conf for config oodt_test to ZooKeeper at localhost:9983 Creating new collection 'oodt_test' using command: http://localhost:8983/solr/admin/collections?action=CREATE&name=oodt_test&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=oodt_test ERROR: Failed to create collection 'oodt_test' due to: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at http://192.168.1.66:7574/solr: Error CREATEing SolrCore 'oodt_test_shard2_replica2': Unable to create core [oodt_test_shard2_replica2] Caused by: solr.IntField ERROR: Failed to create collection using command: [-name, oodt_test, -shards, 2, -replicationFactor, 2, -confname, oodt_test, -confdir, basic_configs, -configsetsDir, /usr/local/solr-5.4.0/server/solr/configsets, -solrUrl, http://localhost:8983/solr] {code} ... patch'ing and retrying > Update schema.xml field definitions for SOLR 5.X > ------------------------------------------------- > > Key: OODT-925 > URL: https://issues.apache.org/jira/browse/OODT-925 > Project: OODT > Issue Type: Improvement > Components: file manager > Affects Versions: 0.12 > Environment: Any > Reporter: Konstantinos Mavrommatis > Fix For: 0.12 > > > Update the File Manager > [schema.xml|https://github.com/apache/oodt/blob/master/filemgr/src/main/resources/schema.xml] > to match the definitions and requirements of SOLR 5. > The current version of schema.xml is suitable for the 4.X generation of SOLR -- This message was sent by Atlassian JIRA (v6.3.4#6332)