Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start byzer-lang when using jdk17 #1900

Open
chncaesar opened this issue Feb 2, 2023 · 0 comments
Open

Failed to start byzer-lang when using jdk17 #1900

chncaesar opened this issue Feb 2, 2023 · 0 comments

Comments

@chncaesar
Copy link
Contributor

Issue Description

Build binary tar ball from master branch, untar it, config file is not changed, start byzer-lang :

$BYZER_LANG/bin/byzer.sh restart

Received error message:

Starting Byzer engine in WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
server mode...

[Java Env]
JAVA_HOME: /Library/Java/JavaVirtualMachines/microsoft-17.jdk/Contents/Home
JAVA: /Library/Java/JavaVirtualMachines/microsoft-17.jdk/Contents/Home/bin/java
Byzer engine start failed, check via log: /Users/zhujiachuan/server/byzer-lang-3.3.0-2.4.0-SNAPSHOT/logs/byzer-lang.log.

The root cause should be env-var ALL_PROP is corrupted.

+ ALL_PROP='WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
-spark.kryoserializer.buffer.max 1024m -streaming.name byzer-lang -streaming.platform spark -byzer.server.mode server -spark.sql.hive.thriftServer.singleSession true -streaming.thrift false -streaming.enableHiveSupport false -spark.scheduler.mode FAIR -streaming.rest true -spark.kryoserializer.buffer 256k -spark.serializer org.apache.spark.serializer.KryoSerializer -streaming.driver.port 9003 -streaming.spark.service true '

Env

java : openjdk 17

java -version
openjdk version "17.0.6" 2023-01-17 LTS
OpenJDK Runtime Environment Microsoft-7209853 (build 17.0.6+10-LTS)
OpenJDK 64-Bit Server VM Microsoft-7209853 (build 17.0.6+10-LTS, mixed mode)

OS: MacOS 13.0
byzer-lang commitId : e373adf
spark: spark-3.3.1-bin-hadoop3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant