msemn / bd-infra

90 stars 66 forks source link

zeppelin | Apache Zeppelin requires either Java 8 update 151 or newer #1

Open arboledasaa opened 3 years ago

arboledasaa commented 3 years ago

zeppelin | - Setting hadoop.proxyuser.hue.groups=*

zeppelin | Configuring hdfs

zeppelin | - Setting dfs.webhdfs.enabled=true

zeppelin | - Setting dfs.permissions.enabled=false

zeppelin | Configuring yarn

zeppelin | - Setting yarn.timeline-service.enabled=true

zeppelin | - Setting yarn.resourcemanager.system-metrics-publisher.enabled=true

zeppelin | - Setting yarn.resourcemanager.store.class=org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore

zeppelin | - Setting yarn.log.server.url=http://historyserver:8188/applicationhistory/logs/

zeppelin | - Setting yarn.resourcemanager.fs.state-store.uri=/rmstate

zeppelin | - Setting yarn.timeline-service.generic-application-history.enabled=true

zeppelin | - Setting yarn.log-aggregation-enable=true

zeppelin | - Setting yarn.resourcemanager.hostname=resourcemanager

zeppelin | - Setting yarn.resourcemanager.resource.tracker.address=resourcemanager:8031

zeppelin | - Setting yarn.timeline-service.hostname=historyserver

zeppelin | - Setting yarn.resourcemanager.scheduler.address=resourcemanager:8030

zeppelin | - Setting yarn.resourcemanager.address=resourcemanager:8032

zeppelin | - Setting yarn.nodemanager.remote-app-log-dir=/app-logs

zeppelin | - Setting yarn.resourcemanager.recovery.enabled=true

zeppelin | Configuring httpfs

zeppelin | Configuring kms

zeppelin | Configuring mapred

zeppelin | Configuring hive

zeppelin | - Setting datanucleus.autoCreateSchema=false

zeppelin | sed: can't read /opt/hive/conf/hive-site.xml: No such file or directory

zeppelin | - Setting javax.jdo.option.ConnectionPassword=hive

zeppelin | sed: can't read /opt/hive/conf/hive-site.xml: No such file or directory

zeppelin | - Setting hive.metastore.uris=thrift://hive-metastore:9083

zeppelin | sed: can't read /opt/hive/conf/hive-site.xml: No such file or directory

zeppelin | - Setting javax.jdo.option.ConnectionURL=jdbc:postgresql://hive-metastore-postgresql/metastore

zeppelin | sed: can't read /opt/hive/conf/hive-site.xml: No such file or directory

zeppelin | - Setting javax.jdo.option.ConnectionUserName=hive

zeppelin | sed: can't read /opt/hive/conf/hive-site.xml: No such file or directory

zeppelin | - Setting javax.jdo.option.ConnectionDriverName=org.postgresql.Driver

zeppelin | sed: can't read /opt/hive/conf/hive-site.xml: No such file or directory

zeppelin | Configuring for multihomed network

zeppelin | Apache Zeppelin requires either Java 8 update 151 or newer

zeppelin exited with code 1

rogeriomm commented 3 years ago

Solved Add "RUN apt-get upgrade -y" at line 59 of

https://github.com/DrSnowbird/docker-spark-bde2020-zeppelin/blob/1a1ff9b478dcc4c1f98ed6dc722b75a1865a536d/Dockerfile#L59

"apt upgrade" updates the JAVA runtime to version "build 1.8.0_275-8u275-b01-1~deb9u1-b01"(Feb/2021), so zeppellin can run smoothly

Build docker image, see: https://github.com/DrSnowbird/docker-spark-bde2020-zeppelin/blob/master/README.md

drosanda commented 2 years ago

any suggestion again?