<?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 Partition Hive Table to Hbase Handler ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Hive-Table-to-Hbase-Handler/m-p/61478#M70669</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I use CDH&lt;/P&gt;
&lt;P&gt;I have a partition table in Hive . Its a date partition. Its a month data. So there will be 30 to 31 partitions in hive.&lt;/P&gt;
&lt;P&gt;Now the same table in hive can i move to Hbase?&lt;/P&gt;
&lt;P&gt;I know to create a external table in hive which points to Hbase. and I know to create a partition table in Hive. Now how to integrate both. Partition I must use static partition for this use case? . any other suggestions?&lt;/P&gt;
&lt;P&gt;I have a 100 millions records for a month data and i want to move to hbase and write a impala query for retrieval for good performance.&lt;/P&gt;
&lt;P&gt;What i do is i create a staging table in hive and move to hbase .&lt;/P&gt;
&lt;P&gt;Now i need to have partitions in hive. In this case how can i proceed.&lt;/P&gt;
&lt;P&gt;For my use case i want to move the data and select it for display. I m not going to do any sort of processing.&lt;/P&gt;
&lt;P&gt;Since i have millions of records in a month i wan to go for daily partitions and move records to date partitions so when i write a select query my response time would be fast.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 12:29:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2022-09-16T12:29:04Z</dc:date>
    <item>
      <title>Partition Hive Table to Hbase Handler ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Hive-Table-to-Hbase-Handler/m-p/61478#M70669</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I use CDH&lt;/P&gt;
&lt;P&gt;I have a partition table in Hive . Its a date partition. Its a month data. So there will be 30 to 31 partitions in hive.&lt;/P&gt;
&lt;P&gt;Now the same table in hive can i move to Hbase?&lt;/P&gt;
&lt;P&gt;I know to create a external table in hive which points to Hbase. and I know to create a partition table in Hive. Now how to integrate both. Partition I must use static partition for this use case? . any other suggestions?&lt;/P&gt;
&lt;P&gt;I have a 100 millions records for a month data and i want to move to hbase and write a impala query for retrieval for good performance.&lt;/P&gt;
&lt;P&gt;What i do is i create a staging table in hive and move to hbase .&lt;/P&gt;
&lt;P&gt;Now i need to have partitions in hive. In this case how can i proceed.&lt;/P&gt;
&lt;P&gt;For my use case i want to move the data and select it for display. I m not going to do any sort of processing.&lt;/P&gt;
&lt;P&gt;Since i have millions of records in a month i wan to go for daily partitions and move records to date partitions so when i write a select query my response time would be fast.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:29:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Hive-Table-to-Hbase-Handler/m-p/61478#M70669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2022-09-16T12:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Partition Hive Table to Hbase Handler ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Hive-Table-to-Hbase-Handler/m-p/61490#M70670</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The concept of Hive partition do not map to HBase tables.&lt;/P&gt;&lt;P&gt;So if you want to have HBase as the storage then you will need to workaround your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could try to use "one HBase table" having a row key constructed with the partition value. That way you should be able to query your HBase table using the row key and avoid a full scan of the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you could have one HBase table per "partition" (this also mean one hive table per partition).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you could see that HBase do not answer your need and stay in Hive ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 13:18:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Partition-Hive-Table-to-Hbase-Handler/m-p/61490#M70670</guid>
      <dc:creator>mathieu.d</dc:creator>
      <dc:date>2017-11-03T13:18:33Z</dc:date>
    </item>
  </channel>
</rss>

