Instead, try running the following command: pio-shell --with-spark --driver-class-path /path/to/hbase/conf
On Tue, Feb 12, 2019 at 8:15 PM Makan Ghahari <[email protected]> wrote: > > thanks for your reply, i already set this configuration. attach my env and > my hbase configuration. i used docker swarm for implementing fully > distributed architecture so zookeeper node host name is zoo1, zoo2 but as i > said before i jus have this problem in shell. > > On Tue, Feb 12, 2019 at 1:52 PM takako shimamoto <[email protected]> wrote: >> >> Hi Makan, >> >> HBase configuration must be done through hbase-site.xml pointed by the >> HBASE_CONF_DIR configuration variable. I guess you need to add the >> following configuration variables in conf/pio-env.sh >> >> HBASE_CONF_DIR=path/your/hbase/conf >> >> Let's see if you can do this. >> >> On Tue, Feb 12, 2019 at 5:51 PM Makan Ghahari <[email protected]> wrote: >> > >> > hi, when i was in standalone mode everything was ok. now i switch to fully >> > distributed mode. but when run >> > PEventStore.aggregateProperties(appName=appName, >> > entityType="user")(sc).collect() >> > get this error: >> > >> > hconnection-0x5a35ae82, quorum=localhost:2181, baseZNode=/hbase Unable to >> > set watcher on znode (/hbase/hbaseid) >> > >> > org.apache.zookeeper.KeeperException$ConnectionLossException: >> > KeeperErrorCode = ConnectionLoss for /hbase/hbaseid >> > >> > zookeeper is running on another server and pio status works well, but in >> > shell i don't know why zookeeper address is localhost. how can i configure >> > zookeeper address in shell?
