Dear all, I am using KNOX and its plugin in Ranger for authorization. I restarted KNOX and Ranger and then executed the following command: ----------------------------- curl -ik -u admin:<PASS> https:// <SERVER>:8443/gateway/dsgdev/livy/v1/sessions -----------------------------
I got the http error 500 -------------------------------- <body><h2>HTTP ERROR 500</h2> <p>Problem accessing /gateway/dsgdev/livy/v1/sessions. Reason: <pre> Server Error</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.12.v20180830</a><hr/></body> ------------------------------- The gateway.log file shows two errors 2020-12-29 08:03:42,348 ERROR config.RangerConfiguration (RangerConfiguration.java:addResourceIfReadable(63)) - addResourceIfReadable(ranger-knox-dsgdev_knox-policymgr-ssl.xml): couldn't find resource file location 2020-12-29 08:03:43,131 ERROR knox.gateway (AbstractGatewayFilter.java:doFilter(69)) - Failed to execute filter: java.lang.NoClassDefFoundError: com/kstruct/gethostname4j/Hostname Would you please help me what should I do for this problem? Ebrahim