<?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 Could not create instance directory. Check if [indexer] solr_zk_ in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21182#M3559</link>
    <description>&lt;P&gt;I have installed a single node instance on a m3.2xlarge AWS EC2 Instance with EBS so I can stop and start it (using the very nice &lt;A href="http://gethue.com/hadoop-tutorial-how-to-create-a-real-hadoop-cluster-in-10-minutes/).&amp;nbsp;" target="_blank"&gt;http://gethue.com/hadoop-tutorial-how-to-create-a-real-hadoop-cluster-in-10-minutes/).&amp;nbsp;&lt;/A&gt; I am trying to use it to test a solr implementation that I have.&amp;nbsp; I have used the CDH 5.2 (Cloudera Express) &amp;nbsp;installer my cluster is all green.&amp;nbsp; I can launch Solr and it seems good though no clusters are installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive the following error message when I try to install the Hue - Quick Start application samples for Solr Search on the Hue Quick Start Tab Step 2 Examples.&amp;nbsp; "&lt;STRONG&gt;Could not create instance directory. Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to changing the Hue configuration with the Hu&lt;SPAN style="font-weight: bold;"&gt;e Server Configuration Advanced Configuration Snippet for hue_safety_valve_server.ini&lt;/SPAN&gt; to:&lt;/P&gt;&lt;P&gt;[search]&lt;BR /&gt;## URL of the Solr Server&lt;BR /&gt;solr_url=&lt;A href="http://SOLR_HOST:8983/solr" target="_blank"&gt;http://SOLR_HOST:8983/solr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I get the following message:&amp;nbsp; &lt;STRONG&gt;[Errno 13] Permission denied: '/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/desktop/libs/indexer/src/indexer/../data/collections'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried using&lt;/P&gt;&lt;P&gt;## URL of the Solr Server&lt;BR /&gt;solr_url=http://&amp;lt;AWS Public DNS&amp;gt;&amp;nbsp;SOLR_HOST:8983/solr&lt;/P&gt;&lt;P&gt;in the Hue configuration and I get the following: "&lt;STRONG&gt;Could not create instance directory. Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info&lt;/STRONG&gt;" the same as not configuring this parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to install this on Ubantu 14 Trusty and somehow was able to get it to install but I could not stop and start the AWS instance... it trashed the HDFS service so that it was unusable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 14:00:04 GMT</pubDate>
    <dc:creator>scottolle</dc:creator>
    <dc:date>2026-04-21T14:00:04Z</dc:date>
    <item>
      <title>Could not create instance directory. Check if [indexer] solr_zk_</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21182#M3559</link>
      <description>&lt;P&gt;I have installed a single node instance on a m3.2xlarge AWS EC2 Instance with EBS so I can stop and start it (using the very nice &lt;A href="http://gethue.com/hadoop-tutorial-how-to-create-a-real-hadoop-cluster-in-10-minutes/).&amp;nbsp;" target="_blank"&gt;http://gethue.com/hadoop-tutorial-how-to-create-a-real-hadoop-cluster-in-10-minutes/).&amp;nbsp;&lt;/A&gt; I am trying to use it to test a solr implementation that I have.&amp;nbsp; I have used the CDH 5.2 (Cloudera Express) &amp;nbsp;installer my cluster is all green.&amp;nbsp; I can launch Solr and it seems good though no clusters are installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive the following error message when I try to install the Hue - Quick Start application samples for Solr Search on the Hue Quick Start Tab Step 2 Examples.&amp;nbsp; "&lt;STRONG&gt;Could not create instance directory. Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to changing the Hue configuration with the Hu&lt;SPAN style="font-weight: bold;"&gt;e Server Configuration Advanced Configuration Snippet for hue_safety_valve_server.ini&lt;/SPAN&gt; to:&lt;/P&gt;&lt;P&gt;[search]&lt;BR /&gt;## URL of the Solr Server&lt;BR /&gt;solr_url=&lt;A href="http://SOLR_HOST:8983/solr" target="_blank"&gt;http://SOLR_HOST:8983/solr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I get the following message:&amp;nbsp; &lt;STRONG&gt;[Errno 13] Permission denied: '/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/desktop/libs/indexer/src/indexer/../data/collections'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried using&lt;/P&gt;&lt;P&gt;## URL of the Solr Server&lt;BR /&gt;solr_url=http://&amp;lt;AWS Public DNS&amp;gt;&amp;nbsp;SOLR_HOST:8983/solr&lt;/P&gt;&lt;P&gt;in the Hue configuration and I get the following: "&lt;STRONG&gt;Could not create instance directory. Check if [indexer] solr_zk_ensemble is correct in Hue config and look at the Solr error logs for more info&lt;/STRONG&gt;" the same as not configuring this parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to install this on Ubantu 14 Trusty and somehow was able to get it to install but I could not stop and start the AWS instance... it trashed the HDFS service so that it was unusable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 14:00:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21182#M3559</guid>
      <dc:creator>scottolle</dc:creator>
      <dc:date>2026-04-21T14:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create instance directory. Check if [indexer] solr_zk_</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21183#M3560</link>
      <description>&lt;P&gt;I can manually create instances and collections using the linux command line from the Deploying Cloudera Search &amp;nbsp;e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;solrctl instancedir --generate $HOME/solr_configs&lt;/P&gt;&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="p"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="p"&gt;I can create a collection and query it through the Solr Admin pannel, but I still can't install the samples.&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Nov 2014 20:13:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21183#M3560</guid>
      <dc:creator>scottolle</dc:creator>
      <dc:date>2014-11-04T20:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create instance directory. Check if [indexer] solr_zk_</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21235#M3561</link>
      <description>&lt;P&gt;I found a work around...&lt;/P&gt;&lt;P&gt;I went to the parcels directory and found the installation script and ran it in the server comman window&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$cd /opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/search/examples/bin&lt;/P&gt;&lt;P&gt;$sudo ./create_collections.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still don't understand why it is failing when running from Hue, but this is an acceptable workaround&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 18:28:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/21235#M3561</guid>
      <dc:creator>scottolle</dc:creator>
      <dc:date>2014-11-05T18:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create instance directory. Check if [indexer] solr_zk_</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/22725#M3562</link>
      <description>&lt;P&gt;Tried to do the same thing but it didn't work for me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/lib/hue/apps/search/examples/bin$ sudo ./create_collections.sh&lt;/P&gt;&lt;P&gt;on CDH5.2.1 on HUE 3.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating collection twitter_demo&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Uploading configs from ../collections/solr_configs_twitter_demo/conf to . This may take up to a minute.&lt;BR /&gt;Error: can't upload configuration&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Error: can't discover Solr URI. Please specify it explicitly via --solr.&lt;/P&gt;&lt;P&gt;Creating collection yelp_demo&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Uploading configs from ../collections/solr_configs_yelp_demo/conf to . This may take up to a minute.&lt;BR /&gt;Error: can't upload configuration&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Error: can't discover Solr URI. Please specify it explicitly via --solr.&lt;/P&gt;&lt;P&gt;Creating collection log_analytics_demo&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Uploading configs from ../collections/solr_configs_log_analytics_demo/conf to . This may take up to a minute.&lt;BR /&gt;Error: can't upload configuration&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Error: can't discover Solr URI. Please specify it explicitly via --solr.&lt;/P&gt;&lt;P&gt;Creating collection jobs_demo&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Uploading configs from ../collections/solr_configs_jobs_demo/conf to . This may take up to a minute.&lt;BR /&gt;Error: can't upload configuration&lt;BR /&gt;Warning: Non-SolrCloud mode has been completely deprecated&lt;BR /&gt;Please configure SolrCloud via SOLR_ZK_ENSEMBLE setting in&lt;BR /&gt;/opt/cloudera/parcels/CDH-5.2.1-1.cdh5.2.1.p0.12/bin/../etc/default/solr&lt;BR /&gt;If you running remotely, please use --zk zk_ensemble.&lt;BR /&gt;Error: can't discover Solr URI. Please specify it explicitly via --solr.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 19:08:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Could-not-create-instance-directory-Check-if-indexer-solr-zk/m-p/22725#M3562</guid>
      <dc:creator>scratch28</dc:creator>
      <dc:date>2014-12-16T19:08:40Z</dc:date>
    </item>
  </channel>
</rss>

