开发者

Hive with Lucene

Is it possible 开发者_StackOverflow中文版to use Hive for querying Lucene index which is distributed over Hadoop???


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.


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!


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜