This means that the HBase Master can’t connect to ZooKeeper. Can you check the 
HBase logs to see any exceptions there?

From: Cheyenne Forbes <cheyenne.osanu.for...@gmail.com>
Reply-To: "user@phoenix.apache.org" <user@phoenix.apache.org>
Date: Monday, May 1, 2017 at 4:26 PM
To: "user@phoenix.apache.org" <user@phoenix.apache.org>
Subject: Re: I cant get the latest phoenix to work in docker

Also when I run "list" in "hbase shell" I get "ERROR: Can't get master address 
from ZooKeeper; znode data == null"

Regards,

Cheyenne O. Forbes


On Mon, May 1, 2017 at 4:30 PM, Cheyenne Forbes 
<cheyenne.osanu.for...@gmail.com<mailto:cheyenne.osanu.for...@gmail.com>> wrote:
I see [zookeeper, hbase] but when I try to use 
"$PHOENIX_HOME/bin/sqlline-thin.py localhost" I am gettng 
java.lang.RuntimeException: 
org.apache.phoenix.shaded.org<http://org.apache.phoenix.shaded.org>.apache.http.conn.HttpHostConnectException:
 Connect to localhost:8765 [localhost/127.0.0.1<http://127.0.0.1>, 
localhost/0:0:0:0:0:0:0:1] failed: Connection refused

Regards,

Cheyenne O. Forbes


On Mon, May 1, 2017 at 12:25 PM, Will Xu 
<w...@hortonworks.com<mailto:w...@hortonworks.com>> wrote:
If you run
$> hbase zkcli
$>ls /

You should be able to see [zookeeper, hbase]
If you don’t see this, then it means hbase service is not started or did not 
properly register with zookeeper.

Best thing to do would be remove the images of avapno/apache-phoenix and try 
pulling the docker image again.

I used this command and it worked
docker run -it --name phoenix -p 8765:8765 avapno/apache-phoenix

Regards,
Will
From: Cheyenne Forbes 
<cheyenne.osanu.for...@gmail.com<mailto:cheyenne.osanu.for...@gmail.com>>
Reply-To: "user@phoenix.apache.org<mailto:user@phoenix.apache.org>" 
<user@phoenix.apache.org<mailto:user@phoenix.apache.org>>
Date: Saturday, April 29, 2017 at 1:35 PM
To: "user@phoenix.apache.org<mailto:user@phoenix.apache.org>" 
<user@phoenix.apache.org<mailto:user@phoenix.apache.org>>
Subject: I cant get the latest phoenix to work in docker

docker file and other files: 
https://github.com/CheyenneForbes/docker-apache-phoenix
the connection just hangs when I try to use the query server and if I run any 
command in hbase shell I get "ERROR: Can't get master address from ZooKeeper; 
znode data == null"

Regards,

Cheyenne O. Forbes


Reply via email to