Support Questions
Find answers, ask questions, and share your expertise

Livy unable to connect the cluster

Livy unable to connect the cluster



I am trying to use Livy command execute the jar file in the cluster. Before that i am using the below command to check the whether LIVY is working or not.

curl -k --user "admin:admin" -v -X GET ""

But getting the below Message . Please look in to this issue.



* Hostname was NOT found in DNS cache * Trying * Connected to ( port 8080 (#0) * Server auth using Basic with user 'admin' > GET /livy/batches HTTP/1.1 > Authorization: Basic YWRtaW46YWRtaW4= > User-Agent: curl/7.35.0 > Host: > Accept: */* > < HTTP/1.1 404 Not Found < X-Frame-Options: DENY < X-XSS-Protection: 1; mode=block < Content-Type: text/plain;charset=ISO-8859-1 < Content-Length: 45 * Server Jetty(8.1.17.v20150415) is not blacklisted < Server: Jetty(8.1.17.v20150415) < { "status": 404, "message": "Not Found" * Connection #0 to host left intact


Re: Livy unable to connect the cluster

Rising Star

@narender pasunooti livy rest api is most likely using port 8998. For example, http:// . This brings up a basic menu for livy such as healthcheck and metrics. It looks like you may have the wrong port. Verify the port you are using and the server to make sure it is correct. Finally, start with a call to just the port to see if you get a response as I showed above.

Hope this helps.