本文介绍了通过java jdbc连接HBase的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题。我想用java连接到hbase。我发现了一些关于连接java的东西,比如datanocleos。我想用java jdbc连接,但我认为没有任何hbase jdbc驱动程序。
任何人都可以知道如何去做?请帮助我。

解决方案

这就是你需要的东西





Phoenix:HBase上的SQL皮肤
'我们把SQL放回到NoSQL'
中Phoenix是HBase上的SQL皮肤,作为客户端嵌入式JDBC驱动程序交付,为HBase使用案例提供动力Salesforce.com。 Phoenix针对低延迟查询(毫秒),而不是通过map / reduce进行批量操作。要查看支持的内容,请参阅我们的语言参考指南,在我们的wiki上阅读更多内容,并下载它。


I have a problem. I want to connect to hbase with java. I found some things about connecting to java, as datanocleos. I want to connect with java jdbc but I think there is not any hbase jdbc driver.can anyone know how to do it? help me please..

解决方案

this is what you need

https://github.com/forcedotcom/phoenix

Phoenix: A SQL skin over HBase'We put the SQL back in NoSQL'Phoenix is a SQL skin over HBase, delivered as a client-embedded JDBC driver, powering the HBase use cases at Salesforce.com. Phoenix targets low-latency queries (milliseconds), as opposed to batch operation via map/reduce. To see what's supported, go to our language reference guide, read more on our wiki, and download it.

这篇关于通过java jdbc连接HBase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 08:08