Nageswaran
Nageswaran

Reputation: 7671

Hive with Lucene

Is it possible to use Hive for querying Lucene index which is distributed over Hadoop???

Upvotes: 1

Views: 1352

Answers (4)

Pranab
Pranab

Reputation: 663

You could write a custom input format for Hive to access lucene index in Hadoop.

Upvotes: 0

Vinayak Ponangi
Vinayak Ponangi

Reputation: 430

I know this is a fairly old post, but thought I could offer a better alternative.

In your case, instead of going through the hassle of mapping your HDFS Lucene index to hive schema, it's better to push them into pig, because pig can read flat files. Unless you want a Relational way of storing your data, you could probably process them through Pig and use, Hbase as your DB.

Upvotes: 0

Emil Sit
Emil Sit

Reputation: 23542

Hadapt is a startup whose software bridges Hadoop with a SQL front-end (like Hive) and hybrid storage engines. They offer a archival text search capability that may meet your needs.

Disclaimer: I work for Hadapt.

Upvotes: 1

Andrew McKnight
Andrew McKnight

Reputation: 644

As far as I know you can essentially write custom "row-extraction" code in Hive so I would guess that you could. I've never used Lucene and barely used Hive, so I can't be sure. If you find a more conclusive answer to your question, please post it!

Upvotes: 0

Related Questions