PacktPublishing / Hands-On-Industrial-Internet-of-Things

Hands-On Industrial Internet of Things, published by Packt
MIT License
62 stars 39 forks source link

Chapter 07 OpenTSDB issues: python & hbase dependencies #31

Open patrickdurrmann opened 2 years ago

patrickdurrmann commented 2 years ago

Looks like github code is not up to date - Chapter07 as such doesn't start.

python issues: I modified manually the Dockerfile to declare the python version used as part of the packages e.g.:

Modified as well Hbase and the TSDB version used + corresponding jdk version (from 7 to 8):

ENV TSDB_VERSION 2.4.1
ENV HBASE_VERSION 2.4.12
ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
ENV PATH $PATH:/usr/lib/jvm/java-1.8-openjdk/bin/
ENV ALPINE_PACKAGES "rsyslog bash openjdk8 make wget gnuplot"

I sill have an issue not resolved with zookeeper error - I didn't have a chance to dig more into it yet :(

2022-05-17 16:34:58,182 INFO [main-SendThread(127.0.0.1:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2022-05-17 16:34:58,182 INFO [main-SendThread(127.0.0.1:2181)] zookeeper.ClientCnxn: Socket error occurred: localhost/127.0.0.1:2181: Connection refused

Can you please check ?

jhagege commented 1 year ago

Hi did you find a solution? Thanks!