<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Not able create SOLR COLLECTION NAMED in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125254#M34525</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt; - Since this example is using the Sandbox zookeeper rather than embedded zk, try adding /solr to the end of your zookeeper entry in the create command like this &lt;A href="http://sandbox.hortonworks.com/"&gt;sandbox.hortonworks.com&lt;/A&gt;:2181/solr. I'm not sure if that will solve the issue but when Solr runs in cloud mode with an external zookeeper it makes /solr the zookeeper root to keep it's data separate from other services.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2016 19:11:53 GMT</pubDate>
    <dc:creator>james_jones</dc:creator>
    <dc:date>2016-07-13T19:11:53Z</dc:date>
    <item>
      <title>Not able create SOLR COLLECTION NAMED</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125251#M34522</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;I am getting below error when I am trying to create collection,So can you please help me to solve it.&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# /opt/lucidworks-hdpsearch/solr/bin/solr create -c labs -d /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs/conf/ -n labs -s 1 -rf 1&lt;/P&gt;&lt;P&gt;Connecting to ZooKeeper at sandbox.hortonworks.com:2181&lt;/P&gt;&lt;P&gt;Re-using existing configuration directory labs&lt;/P&gt;&lt;P&gt;Creating new collection 'labs' using command:&lt;/P&gt;&lt;P&gt;&lt;A href="http://172.16.162.136:8983/solr/admin/collections?action=CREATE&amp;amp;name=labs&amp;amp;numShards=1&amp;amp;replicationFactor=1&amp;amp;maxShardsPerNode=1&amp;amp;collection.configName=labs" target="_blank"&gt;http://172.16.162.136:8983/solr/admin/collections?action=CREATE&amp;amp;name=labs&amp;amp;numShards=1&amp;amp;replicationFactor=1&amp;amp;maxShardsPerNode=1&amp;amp;collection.configName=labs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "responseHeader":{&lt;/P&gt;&lt;P&gt;    "status":0,&lt;/P&gt;&lt;P&gt;    "QTime":1136},&lt;/P&gt;&lt;P&gt;  "failure":{"":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at &lt;A href="http://172.16.162.136:8983/solr:" target="_blank"&gt;http://172.16.162.136:8983/solr:&lt;/A&gt; Error CREATEing SolrCore 'labs_shard1_replica1': Unable to create core [labs_shard1_replica1] Caused by: Can't find resource 'solrconfig.xml' in classpath or '/configs/labs', cwd=/opt/lucidworks-hdpsearch/solr/server"}}&lt;/P&gt;&lt;P&gt;I am following up following reference url :&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/searching-data-solr/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/searching-data-solr/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 20:46:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125251#M34522</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-07-12T20:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not able create SOLR COLLECTION NAMED</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125252#M34523</link>
      <description>&lt;P&gt;It's telling you that it cannot find the file in your confdir (the directory after -d in your command). Do an ls on the directory and either the directory is missing or the solrconfig.xml is missing from /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs/conf. You may have overlooked a step in the setup (Step 2). It includes creating the conf directory and modifying the solrconfig.xml file...&lt;/P&gt;&lt;P&gt; cp -R /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs  /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 01:39:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125252#M34523</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-07-13T01:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able create SOLR COLLECTION NAMED</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125253#M34524</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2229/jamesjones.html" nodeid="2229"&gt;@james.jones&lt;/A&gt;&lt;P&gt;I followed all steps and changed solrconfig.xml file as well. But still getting below error. &lt;/P&gt;&lt;P&gt;[solr@sandbox ~]$ /opt/lucidworks-hdpsearch/solr/bin/solr create -c labs -d /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs/conf -n labs -s 2 -rf 2&lt;/P&gt;&lt;P&gt;Connecting to ZooKeeper at sandbox.hortonworks.com:2181&lt;/P&gt;&lt;P&gt;Re-using existing configuration directory labs&lt;/P&gt;&lt;P&gt;Creating new collection 'labs' using command:&lt;/P&gt;&lt;P&gt;&lt;A href="http://172.16.162.136:8983/solr/admin/collections?action=CREATE&amp;amp;name=labs&amp;amp;numShards=2&amp;amp;replicationFactor=2&amp;amp;maxShardsPerNode=2&amp;amp;collection.configName=labs" target="_blank"&gt;http://172.16.162.136:8983/solr/admin/collections?action=CREATE&amp;amp;name=labs&amp;amp;numShards=2&amp;amp;replicationFactor=2&amp;amp;maxShardsPerNode=2&amp;amp;collection.configName=labs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;  "responseHeader":{&lt;/P&gt;&lt;P&gt;    "status":0,&lt;/P&gt;&lt;P&gt;    "QTime":1284},&lt;/P&gt;&lt;P&gt;  "failure":{"":"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error from server at &lt;A href="http://172.16.162.136:8983/solr:" target="_blank"&gt;http://172.16.162.136:8983/solr:&lt;/A&gt; Error CREATEing SolrCore 'labs_shard1_replica2': Unable to create core [labs_shard1_replica2] Caused by: Can't find resource 'solrconfig.xml' in classpath or '/configs/labs', cwd=/opt/lucidworks-hdpsearch/solr/server"}}&lt;/P&gt;&lt;P&gt;[solr@sandbox ~]$ ll /opt/lucidworks-hdpsearch/solr/server/solr/configsets/data_driven_schema_configs_hdfs/conf&lt;/P&gt;&lt;P&gt;total 148&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr  3974 2016-07-13 08:05 currency.xml&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr  1348 2016-07-13 08:05 elevate.xml&lt;/P&gt;&lt;P&gt;drwxr-xr-x 2 solr solr  4096 2016-07-13 08:05 lang&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr 55543 2016-07-13 08:05 managed-schema&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr   308 2016-07-13 08:05 params.json&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr   873 2016-07-13 08:05 protwords.txt&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr 62754 2016-07-13 08:08 solrconfig.xml&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr   781 2016-07-13 08:05 stopwords.txt&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 solr solr  1119 2016-07-13 08:05 synonyms.txt&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 15:52:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125253#M34524</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-07-13T15:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not able create SOLR COLLECTION NAMED</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125254#M34525</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt; - Since this example is using the Sandbox zookeeper rather than embedded zk, try adding /solr to the end of your zookeeper entry in the create command like this &lt;A href="http://sandbox.hortonworks.com/"&gt;sandbox.hortonworks.com&lt;/A&gt;:2181/solr. I'm not sure if that will solve the issue but when Solr runs in cloud mode with an external zookeeper it makes /solr the zookeeper root to keep it's data separate from other services.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 19:11:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125254#M34525</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-07-13T19:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not able create SOLR COLLECTION NAMED</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125255#M34526</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/2229/jamesjones.html" nodeid="2229"&gt;@james.jones&lt;/A&gt;, I would do that, but if I don't mentioned it then where exactly zookeeper will save solr configuration(solrconfig.xml). &lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:11:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125255#M34526</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-07-20T14:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Not able create SOLR COLLECTION NAMED</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125256#M34527</link>
      <description>&lt;P&gt;This will upload your config directory to a configset named "testcoll". The default configset name is the same as your collection&lt;/P&gt;&lt;PRE&gt;./zkcli.sh -zkhost localhost:2181 -cmd upconfig -confdir ../../solr/configsets/data_driven_schema_configs/conf -confname testcoll.&lt;/PRE&gt;&lt;P&gt;If your configset is called testcoll, then do this to show the contents of the solrconfig.xml in zookeeper:&lt;/P&gt;&lt;PRE&gt;./zkcli.sh -zkhost localhost:2181 -cmd get /configs/testcoll/solrconfig.xml&lt;/PRE&gt;&lt;P&gt;I recommend running the list command which will dump everything in zookeeper, not just listing files but will print the contents of the files. That's a bit too much, so just pipe it to "less" and then search for your collection name as you would with vi (with / and ? to search). Then you'll see the path to your configs.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 19:59:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Not-able-create-SOLR-COLLECTION-NAMED/m-p/125256#M34527</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-07-20T19:59:02Z</dc:date>
    </item>
  </channel>
</rss>

