JohnSnowLabs/spark-nlp-workshop

ShowStopper. New Docker File has Java 11 which is incompatible

Chertushkin opened this issue · 1 comments

New DockerFile with Java 11 does not allow to launch any example.

Steps to Reproduce

  1. Try to launch any notebook that loads pre-trained pipeline or model, both in strata dir or in jupyter/annotation dir.

  2. After some time you will get the exception unsupported version class 55.
    image

  3. This is due to Java 11 version in new Docker image. More about this here: https://stackoverflow.com/questions/53583199/pyspark-error-unsupported-class-file-major-version-55

Even notebooks that were successfully launched by me inside Docker few days ago are now cannot be launched.
I cloned repository locally on my host machine and installed there Java 8. It works fine locally but does not work in the Docker at all.
This is probably the consequence of the DockerFile update in #37.

Your Environment

  • Spark-NLP version: 2.0.3
  • Apache Spark version: 2.4.1
  • Operating System and version: 2 configurations - Ubuntu 18.04(local) and Docker
  • Deployment (Docker, Jupyter, Scala, pip, conda, etc.): Docker container with Java 11 does not work with any example. My host config with Java 8 and cloned repository works ok.

This has been fixed in the new latest image.
back to Java 8 but with OpenJDK