使用Simba ODBC驱动程序连接Azure HDInsight中的Hbase

时间:2014-10-10 21:51:30

标签: azure odbc hbase hdinsight

我在Azure HDInsight中运行HBase,可以通过https://my_claster_name.azurehdinsight.net/hbaserest在我的浏览器中访问HBase Rest API。尝试配置Simba HBase ODBC驱动程序以连接到我总是得到的HBase安装

失败:[Simba] [HBase](20)HTTP API出错:无法连接服务器

对于主持人,我尝试了my_claster_name.azurehdinsight.net/hbaserest和my_claster_name.azurehdinsight.net我也尝试了8080和80端口。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

根据Simba的说法,它需要您提供其余服务器的http://host:port。但是,对于hdinsight群集,它是https,所有请求都需要通过网关并重新路由到群集内的任何一个其余服务器。

解决此问题的一种方法是创建一个VNET,并在其中包含您的HBase群集和您自己的计算机。这样您就不需要访问网关,可以直接命中任​​何所需的休息服务器。网址为http://workernode{N}:8090。 N取决于你有多少个工人节点。