I fixed it, it was due to "hbase.rootdir" in hbase-site.xml having "hdfs://localhost:9000/hbase" instead "hdfs://my_hostname:9000/hbase"
I was struggling to find a docker image with Phoenix 4.10 so I decided to make one, there it is for anyone who needs one Regards, Cheyenne O. Forbes On Mon, May 1, 2017 at 7:54 PM, Cheyenne Forbes < [email protected]> wrote: > I see "master.HMaster: Failed to become active master > java.net.ConnectException: Call From 7a2df40d1596/172.17.0.2 to > localhost:9000 failed on connection exception: java.net.ConnectException: > Connection refused; For more details see: http://wiki.apache.org/hadoop/ > ConnectionRefused" > > Regards, > > Cheyenne O. Forbes > > Chief Executive Officer > Avapno Omnitech, Limited > > Chief Operating Officer > Avapno Solutions Co. Limited > > Chief Technology Officer > ZirconOne Corperation > > Chairman > Avapno Assets, LLC > > Bethel Town P.O > Westmoreland > Jamaica > > Email: [email protected] > Mobile: +1 (876) 881-7889 <876-881-7889> > Landline: +1 (876) 957-1821 <%28876%29%20957-1821> > skype: cheyenne.forbes1 > > > On Mon, May 1, 2017 at 6:55 PM, York, Zach <[email protected]> wrote: > >> 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 <[email protected]> >> *Reply-To: *"[email protected]" <[email protected]> >> *Date: *Monday, May 1, 2017 at 4:26 PM >> *To: *"[email protected]" <[email protected]> >> *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 < >> [email protected]> 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. >> apache.http.conn.HttpHostConnectException: Connect to localhost:8765 >> [localhost/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 <[email protected]> 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 <[email protected]> >> *Reply-To: *"[email protected]" <[email protected]> >> *Date: *Saturday, April 29, 2017 at 1:35 PM >> *To: *"[email protected]" <[email protected]> >> *Subject: *I cant get the latest phoenix to work in docker >> >> >> >> docker file and other files: https://github.com/CheyenneFor >> bes/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 >> >> >> >> >> > >
