Hi All,
We migrated our Zeppelin to use EMR Zeppelin. It's straight forward and we
were happy with the migration till we found out that something isn't
working well with the rest API.

Calling to the interpreter API:
http://<my-server>:8890/api/interpreter
and this:
http://<my-server>:8890/api/interpreter/setting
Returns results as expected.

When trying to access the notebooks:
http://<my-server>:8890/api/notebook
Or a specific notebook:
http://<my-server>:8890/api/notebook/2A94M5J1Z
It fails with HTTP 500 error.

The error I can see in the logs is NoSuchMethodError (see below) which
suggests we might have here 'jar-hell' and the wrong (probably old) jar
loaded instead of the need one - but I can't figure that out.
Thanks!

The exception:
WARN [2016-01-13 07:47:11,690] ({qtp716961517-38}
ServletHandler.java[doHandle]:590) - Error for /api/notebook/2A94M5J1Z
java.lang.NoSuchMethodError:
javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response;
        at
javax.ws.rs.ClientErrorException.<init>(ClientErrorException.java:88)
        at
org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:503)
        at
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:207)

Reply via email to