Member since
11-10-2017
10
Posts
0
Kudos Received
0
Solutions
11-10-2017
08:09 PM
I have a local windows machine where I have installed oracle Virtual box. On the Virtual Box, I have installed hortonworks sandbox. The sandbox is running fine. Now I want to query, insert etc on HBase(present in VirtualBox) using phoenix(on local machine). The issue is that I am not able to connect to the HBase(via zookeeper). I do not have the option of creating bridge in my environment. I am using NAT in the networks option of virtual box. I am constantly getting timeout while connecting the alias. The phoenix set up is correct as I am able to connect phoenix with hbase on another linux box. I feel I am not entering the correct IP for connecting the alias with hbase. While adding alias I have tried the below entries as URL-: jdbc:phoenix:sandbox.hortonworks.com:2181:/hbase-unsecure jdbc:phoenix:172.x.x.1:2181:/hbase-unsecure jdbc:phoenix:127.0.0.1:2181:/hbase-unsecure jdbc:phoenix:10.x.x.2:/hbase-unsecure Also, I will mention the versions currently I am using-: HDFS 2.7.3 HBase 1.1.2 Zookeeper 3.4.6 Squirrel 3.8.0 phoenix-4.12.0-HBase-1.2-client Any help or correct link will really help. Please let me know if the question is not clear or require any more information. Thanks.
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Phoenix