简体   繁体   English

通过java jdbc连接HBase

[英]connect HBase via java jdbc

I have a problem. 我有个问题。 I want to connect to hbase with java. 我想用Java连接到hbase。 I found some things about connecting to java, as datanocleos. 我发现了一些有关连接到Java的东西,例如datanocleos。 I want to connect with java jdbc but I think there is not any hbase jdbc driver. 我想与java jdbc连接,但我认为没有任何hbase jdbc驱动程序。 can anyone know how to do it? 有人知道怎么做吗? help me please.. 请帮帮我..

this is what you need 这就是你所需要的

https://github.com/forcedotcom/phoenix 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:基于HBase的SQL外观“我们将SQL放回NoSQL中” Phoenix是基于HBase的SQL外观,作为客户端嵌入式JDBC驱动程序提供,在Salesforce.com上为HBase用例提供了支持。 Phoenix targets low-latency queries (milliseconds), as opposed to batch operation via map/reduce. Phoenix的目标是低延迟查询(毫秒),而不是通过map / reduce进行批处理操作。 To see what's supported, go to our language reference guide, read more on our wiki, and download it. 要查看支持的内容,请转到我们的语言参考指南,在我们的Wiki上阅读更多内容,然后下载。

You may use 3rd party clients like Playorm which has just started supporting Hbase. 您可以使用刚开始支持Hbase的第三方客户(例如Playorm)。 Visit http://buffalosw.com/products/playorm/ 造访http://buffalosw.com/products/playorm/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM