hudi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-hudi] lamber-ken opened a new pull request #1369: [HUDI-553] Building/Running Hudi on higher java versions
Date Tue, 03 Mar 2020 06:23:03 GMT
lamber-ken opened a new pull request #1369: [HUDI-553] Building/Running Hudi on higher java
   ## What is the purpose of the pull request
   Support building/running Hudi on higher java versions (8 & 11).
   ## Brief change log
   1. `package javax.xml.bind does not exist`
     - sun.misc.BASE64Encoder/Decoder (JDK 6,7,8)
     - javax.xml.bind.DatatypeConverter (JDK 6,7,8)
     - java.util.Base64.{Encoder, Decoder} (JDK 8,9,11)
   2. Need upgrade to `scala-2.11.12`
   [ERROR] error: scala.reflect.internal.MissingRequirementError: object java.lang.Object
in compiler mirror not found.
   [ERROR]    at scala.reflect.internal.MissingRequirementError$.signal(MissingRequirementError.scala:17)
   [ERROR]    at scala.reflect.internal.MissingRequirementError$.notFound(MissingRequirementError.scala:18)
   [ERROR]    at scala.reflect.internal.Mirrors$RootsBase.getModuleOrClass(Mirrors.scala:53)
   3. `java.lang.NoClassDefFoundError: javax/tools/ToolProvider`
   [ERROR] error: java.lang.NoClassDefFoundError: javax/tools/ToolProvider
   [INFO]  at
   [INFO]  at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
   [INFO]  at
   [INFO]  at
   [INFO]  at$15$lzycompute(ClassPath.scala:299)
   [INFO]  at$15(ClassPath.scala:299)
   ## Verify this pull request
   `Spark-2.4.4` doesn't support JDK 9
   Using `spark-3.0.0-preview2-bin-hadoop2.7` and `hudi - 2.12`
   mvn clean package -DskipTests -Dscala-2.12
   /bin/spark-shell \
     --packages org.apache.spark:spark-avro_2.12:2.4.4 \
     --jars `ls packaging/hudi-spark-bundle/target/hudi-spark-bundle_*.*-*.*.*-SNAPSHOT.jar`
     --conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer'
   ## Committer checklist
    - [X] Has a corresponding JIRA in PR title & commit
    - [X] Commit message is descriptive of the change
    - [ ] CI is green
    - [ ] Necessary doc changes done or have another open PR
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message