<?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: Key-Value Store Indexer for NRT with number of morphline configs in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29289#M6487</link>
    <description>The SOLR_LOCATOR is a variable that works via simple text substitution (ala unix shell scripts). You can define as many variables as you like within the same morphline config file. For example along these lines:&lt;BR /&gt;&lt;BR /&gt;SOLR_LOCATOR_1 : { collection : collection1, zkHost : ${ZK_HOST} }&lt;BR /&gt;SOLR_LOCATOR_2 : { collection : collection2, zkHost : ${ZK_HOST} }&lt;BR /&gt;&lt;BR /&gt;morphlines : [&lt;BR /&gt;{&lt;BR /&gt;id : morphline1&lt;BR /&gt;...&lt;BR /&gt;{ loadSolr { solrLocator : ${SOLR_LOCATOR_1} } }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;id : morphline2&lt;BR /&gt;...&lt;BR /&gt;{ loadSolr { solrLocator : ${SOLR_LOCATOR_2} } }&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Jul 2015 17:40:55 GMT</pubDate>
    <dc:creator>whosch</dc:creator>
    <dc:date>2015-07-06T17:40:55Z</dc:date>
    <item>
      <title>Key-Value Store Indexer for NRT with number of morphline configs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29273#M6486</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Presently, I'm using Solr batch indexing on hbase tables to create solr documents. I have to enable NRT feature on 3 hbase tables. How to handle multiple morphlines for "Key-Value Store Indexer" service? I know, Morphlines file holds an array of 'id's, but how do we handle the SOLR_LOCATOR section where we have to specify the collection name? can we give a comma seperated list of collection names?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using CDH 5.3.1 and CM 5.3.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Presently I have 3 morphline files say morphlineX.conf,&amp;nbsp;&lt;SPAN&gt;morphlineY.conf and&amp;nbsp;morphlineZ.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;YBSNR&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:33:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29273#M6486</guid>
      <dc:creator>YBSNR</dc:creator>
      <dc:date>2022-09-16T09:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Key-Value Store Indexer for NRT with number of morphline configs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29289#M6487</link>
      <description>The SOLR_LOCATOR is a variable that works via simple text substitution (ala unix shell scripts). You can define as many variables as you like within the same morphline config file. For example along these lines:&lt;BR /&gt;&lt;BR /&gt;SOLR_LOCATOR_1 : { collection : collection1, zkHost : ${ZK_HOST} }&lt;BR /&gt;SOLR_LOCATOR_2 : { collection : collection2, zkHost : ${ZK_HOST} }&lt;BR /&gt;&lt;BR /&gt;morphlines : [&lt;BR /&gt;{&lt;BR /&gt;id : morphline1&lt;BR /&gt;...&lt;BR /&gt;{ loadSolr { solrLocator : ${SOLR_LOCATOR_1} } }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;id : morphline2&lt;BR /&gt;...&lt;BR /&gt;{ loadSolr { solrLocator : ${SOLR_LOCATOR_2} } }&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;Wolfgang&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2015 17:40:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29289#M6487</guid>
      <dc:creator>whosch</dc:creator>
      <dc:date>2015-07-06T17:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Key-Value Store Indexer for NRT with number of morphline configs</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29437#M6488</link>
      <description>&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After I enable&amp;nbsp;Key-Value Store Indexer service and edit service wide morphline (textbox) config as you suggested above, should I maintain the morphlines.conf file in /etc/hbase-solr/conf directory where I have created for the batch indexing purpose?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words, if I create morphlinesX.conf,&amp;nbsp;&lt;SPAN&gt;morphlinesY.conf and&amp;nbsp;morphlinesZ.conf, should I update the service wide morphline configuration on KV Store Indexer also?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My observation is, when I have those 3 morphlines files in /etc/hbase-solr/conf directory, and enable KV Store indexer service with default configuration, the corresponding 3 collections are active and started generating solr index documents.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Further, after updating the KV Store indexer service --&amp;gt; configuration --&amp;gt; servicewide --&amp;gt; morphlines --&amp;gt; morphlines file (textbox), and deploy the client configuration, where it will be updated? Where could I verify the deployed configuraiton from CM admin console?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please clarify.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 13:03:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Key-Value-Store-Indexer-for-NRT-with-number-of-morphline/m-p/29437#M6488</guid>
      <dc:creator>YBSNR</dc:creator>
      <dc:date>2015-07-09T13:03:34Z</dc:date>
    </item>
  </channel>
</rss>

