scylladb / scylla-code-samples

Code samples for working with ScyllaDB
Apache License 2.0
245 stars 131 forks source link

Cannot make Presto work #85

Open gfelot opened 5 years ago

gfelot commented 5 years ago

Following the day 3 tutorial of scylla I got an error when I want to start presto's container after building it.

cd scylla-code-samples/mms
git pull
cd presto
docker build -t presto .
docker run --name presto --network mms_web -p 8080:8080 -d presto

Then I got the error for presto :

2019-03-26T14:03:08.977Z    ERROR   main    com.facebook.presto.server.PrestoServer null
java.lang.ExceptionInInitializerError
at sun.security.ssl.SSLSessionImpl.<init>(SSLSessionImpl.java:188)
[...] // hundred of line of at ...

I cannot launch the service on the web page.

I have docker on MacOS.

EDIT : I updated the Presto's version from 0.190 to 0.218 but nothing is working. Everywhere I'm searching for this error it's pointed to OpenJDK 1.8.0. I try to base the image on woahbase/alpine-openjdk8:x86_64 but still the same issue.

lapnapra commented 5 years ago

This was the one I encountered. Fixed it by installing the package nss that provides /usr/lib/libnss3.so.