title: The mr task of hql cannot be submitted to the hadoop cluster, and the timeout error occurs
body: <p>When I submit a hive statement, the error is as follows. I cannot submit it to the cluster. The cluster resources are sufficient, but it keeps reporting a timeout. I don't know why? I have set these parameters</p>
  <p>Similar errors have occurred before, but they are all because the hadoop cluster has no resources and the job cannot be submitted, but now the cluster has resources</p>
  <pre><code>set mapreduce.job.reduces=-1
  set mapreduce.input.fileinputformat.split.maxsize=256000000
  set hive.exec.parallel=true
  set hive.exec.reducers.max=300
  set hive.exec.reducers.bytes.per.reducer=256000000
  set hive.vectorized.execution.enabled=false
  set hive.metastore.client.socket.timeout=1800000
  set mapred.task.timeout=600000000;
  set hive.client.thrift.socket.timeout=1800000
  set hive.stats.jdbc.timeout=1800000
  </code></pre>
  <pre><code>2021-10-11 02:26:17.550-07:00 [Website-15] java.sql.SQLException: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
      at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:252)
      at com.jacob.test.common.hive.HiveDao.execute(HiveDao.java:303)
      at com.jacob.test.common.hive.HiveDao.execute(HiveDao.java:73)
      at com.jacob.test.common.hive.HiveTemplate.executeHqls(HiveTemplate.java:191)
      at com.jacob.test.business.website.WebsiteTemplate.executeScript(WebsiteTemplate.java:383)
      at com.jacob.test.business.website.WebsiteTemplate.execute(WebsiteTemplate.java:129)
      at com.jacob.test.plugin.website.WebsitePlugin.start(WebsitePlugin.java:31)
      at com.jacob.test.flow.core.Plugin.execute(Plugin.java:63)
      at com.jacob.test.flow.core.Task.execute(Task.java:97)
      at com.jacob.test.flow.core.Task.execute(Task.java:80)
      at com.jacob.test.flow.core.ExecuteResult.lambda$new$0(ExecuteResult.java:22)
      at java.lang.Thread.run(Thread.java:748)
      Suppressed: java.sql.SQLException: Error while cleaning up the server resources
          at org.apache.hive.jdbc.HiveConnection.close(HiveConnection.java:640)
          at com.jacob.test.common.hive.HiveDao.execute(HiveDao.java:68)
          ... 9 more
      Caused by: org.apache.thrift.TApplicationException: CloseSession failed: out of sequence response
          at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:84)
          at org.apache.hive.service.cli.thrift.TCLIService$Client.recv_CloseSession(TCLIService.java:179)
          at org.apache.hive.service.cli.thrift.TCLIService$Client.CloseSession(TCLIService.java:166)
          at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1299)
          at com.sun.proxy.$Proxy220.CloseSession(Unknown Source)
          at org.apache.hive.jdbc.HiveConnection.close(HiveConnection.java:638)
          ... 10 more
  Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
      at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:129)
      at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
      at org.apache.thrift.transport.TSaslTransport.readLength(TSaslTransport.java:376)
      at org.apache.thrift.transport.TSaslTransport.readFrame(TSaslTransport.java:453)
      at org.apache.thrift.transport.TSaslTransport.read(TSaslTransport.java:435)
      at org.apache.thrift.transport.TSaslClientTransport.read(TSaslClientTransport.java:37)
      at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
      at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
      at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
      at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
      at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:77)
      at org.apache.hive.service.cli.thrift.TCLIService$Client.recv_ExecuteStatement(TCLIService.java:225)
      at org.apache.hive.service.cli.thrift.TCLIService$Client.ExecuteStatement(TCLIService.java:212)
      at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.hive.jdbc.HiveConnection$SynchronizedHandler.invoke(HiveConnection.java:1299)
      at com.sun.proxy.$Proxy220.ExecuteStatement(Unknown Source)
      at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:243)
      ... 11 more
  Caused by: 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 java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
      at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
      ... 29 more
  </code></pre>