oozie+yarn:获取连接失败异常

falq053o  于 2021-06-01  发布在  Hadoop
关注(0)|答案(1)|浏览(285)

在我们的应用程序中,我们希望一次只能运行一个oozie工作流。我们面临的问题是,与第一个工作流的连接中断,而由于第二个工作流的启动。第一个工作流仍在运行。
我们收到以下错误消息:

E0603 : E0603: SQL error in operation, The last packet successfully received from the server was 94,669,212 milliseconds ago.  The last packet sent successfully to the server was 94,669,212 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
        at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:628)
        at org.apache.oozie.client.OozieClient$JobInfo.call(OozieClient.java:980)
        at org.apache.oozie.client.OozieClient$JobInfo.call(OozieClient.java:964)
        at org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:576)
        at org.apache.oozie.client.OozieClient.getJobInfo(OozieClient.java:1055)
        at org.apache.oozie.client.OozieClient.getJobInfo(OozieClient.java:1033

)
不确定在哪里设置'wait\u timeout'/'autoreconnect'属性。它是在oozie工作流xml中的每个操作级别设置的吗?
敬阿努杰·迈赫拉

v7pvogib

v7pvogib1#

根据mapr技术支持工程师prakharverma的说法,您可以忽略代码中这些无害的异常。请重新编写java代码。

相关问题