Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

HIVE/HBASE/SOLR

avatar
Super Collaborator

Hi,

I have a fundamental question related to these storage engine (HIVE/HBASE/SOLR) options on HDFS

Q1. If we ingest data to HDFS and then build SOLR index - is it same as directly ingesting the data into SOLR? In terms of storage usage and lay out.

Q2. Is there any approach on how to ingest once and may be have all 3 different data-access options optimally to use - HIVE for faster scan, HBASE gives for bulk retrieval, SOLR for record level search.

Thanks,

Avijeet

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hi @Avijeet Dash,

The Solr index requires persistent storage as well.

There are several options to read Hbase from Hive and Solr from Hive and they all include storage handlers and SerDes such as https://github.com/lucidworks/hive-solr and https://github.com/chimpler/hive-solr.

Also for Hive/Hbase integration there is https://cwiki.apache.org/confluence/display/Hive/StorageHandlers

Hope this helps.

/Best regards, Mats

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

Hi @Avijeet Dash,

The Solr index requires persistent storage as well.

There are several options to read Hbase from Hive and Solr from Hive and they all include storage handlers and SerDes such as https://github.com/lucidworks/hive-solr and https://github.com/chimpler/hive-solr.

Also for Hive/Hbase integration there is https://cwiki.apache.org/confluence/display/Hive/StorageHandlers

Hope this helps.

/Best regards, Mats

avatar
Master Guru

You can use hbase lily indexer, which will atomically index data from hbase into solr.

You can also use apache nifi, ingest once, and fork to solr, hbase, hdfs, and hive. highly flexible implemenation model