java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at org.apache.livy.shaded.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139) at org.apache.livy.shaded.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155) at org.apache.livy.shaded.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284) at org.apache.livy.shaded.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) at org.apache.livy.shaded.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) at org.apache.livy.shaded.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261) at org.apache.livy.shaded.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165) at org.apache.livy.shaded.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272) at org.apache.livy.shaded.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) at org.apache.livy.shaded.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) at org.apache.livy.shaded.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) at org.apache.livy.shaded.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) at org.apache.livy.shaded.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.livy.shaded.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.livy.shaded.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at org.apache.livy.client.http.LivyConnection.sendRequest(LivyConnection.java:218) at org.apache.livy.client.http.LivyConnection.sendJSONRequest(LivyConnection.java:203) at org.apache.livy.client.http.LivyConnection.get(LivyConnection.java:166) at org.apache.livy.client.http.JobHandleImpl$JobPollTask.run(JobHandleImpl.java:228) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)