<?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: How can I delete Records in Hbase and SolR that is 2 hours ago? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142285#M104878</link>
    <description>&lt;P&gt;Solr also supports TTL, although I think if the docs are deleted from HBase they should be deleted in Solr automatically.&lt;/P&gt;&lt;P&gt;In case you are interested in the Solr TTL feature, it's done through an UpdateRequestProcessor (URP). It's currently only documented in Solr's Javadocs: &lt;A href="http://lucene.apache.org/solr/6_4_0/solr-core/org/apache/solr/update/processor/DocExpirationUpdateProcessorFactory.html" target="_blank"&gt;http://lucene.apache.org/solr/6_4_0/solr-core/org/apache/solr/update/processor/DocExpirationUpdateProcessorFactory.html&lt;/A&gt; (replace the '6_4_0' part of that URL to get to the javadocs for your version; this URP has existed since Solr 4.8.0).&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 02:57:20 GMT</pubDate>
    <dc:creator>cassandra</dc:creator>
    <dc:date>2017-03-08T02:57:20Z</dc:date>
    <item>
      <title>How can I delete Records in Hbase and SolR that is 2 hours ago?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142283#M104876</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im using NiFi here and the data flow is running every minute. Im fetching csvs from a web service and put it in hdfs.&lt;/P&gt;&lt;P&gt;Now every file inserted in HDFS, i need to save it to HBASE. But I need to delete rows that is over 2 hours ago. For example the time now is 11:03AM and i have a records/rows that is inserted at 9:03 AM, when the time became 11:04AM i need to delete the records that was insert at 9:03AM. This process of deleting records should also run every minute. And this deleted records also need to be deleted in SOLR+Banana UI.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 15:00:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142283#M104876</guid>
      <dc:creator>regie_canada</dc:creator>
      <dc:date>2017-03-07T15:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete Records in Hbase and SolR that is 2 hours ago?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142284#M104877</link>
      <description>&lt;P&gt;Deleting rows in HBase is a heavy operation, instead of managing deletions yourself, let HBase handle it via TTL. Basically you can set expiration on a row or alternatively cell and it will be marked as deleted once time to live expires, time is in UTC. &lt;A href="https://hbase.apache.org/book.html#ttl" target="_blank"&gt;https://hbase.apache.org/book.html#ttl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once row has a delete market it will be cleaned up by a standard compaction mechanism.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 20:29:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142284#M104877</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-03-07T20:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete Records in Hbase and SolR that is 2 hours ago?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142285#M104878</link>
      <description>&lt;P&gt;Solr also supports TTL, although I think if the docs are deleted from HBase they should be deleted in Solr automatically.&lt;/P&gt;&lt;P&gt;In case you are interested in the Solr TTL feature, it's done through an UpdateRequestProcessor (URP). It's currently only documented in Solr's Javadocs: &lt;A href="http://lucene.apache.org/solr/6_4_0/solr-core/org/apache/solr/update/processor/DocExpirationUpdateProcessorFactory.html" target="_blank"&gt;http://lucene.apache.org/solr/6_4_0/solr-core/org/apache/solr/update/processor/DocExpirationUpdateProcessorFactory.html&lt;/A&gt; (replace the '6_4_0' part of that URL to get to the javadocs for your version; this URP has existed since Solr 4.8.0).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 02:57:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142285#M104878</guid>
      <dc:creator>cassandra</dc:creator>
      <dc:date>2017-03-08T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete Records in Hbase and SolR that is 2 hours ago?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142286#M104879</link>
      <description>&lt;P&gt;Thanks sir &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; i'll try this one.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 11:02:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-can-I-delete-Records-in-Hbase-and-SolR-that-is-2-hours/m-p/142286#M104879</guid>
      <dc:creator>regie_canada</dc:creator>
      <dc:date>2017-03-08T11:02:53Z</dc:date>
    </item>
  </channel>
</rss>

