【问题标题】:Oozie + YARN : getting connection failure exceptionOozie + YARN:获取连接失败异常
【发布时间】:2018-10-23 05:33:40
【问题描述】:

在我们的应用程序中,我们希望一次只运行一个 oozie 工作流。 我们面临与第一个工作流中断连接的问题,并且由于第二个工作流开始。在 YARN 上,第一个工作流仍在运行。

我们收到以下错误消息:

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_timeout”/“autoReconnect”属性。 是否在 oozie 工作流 xml 中的每个操作级别设置?

问候 阿努杰·梅赫拉

【问题讨论】:

    标签: hadoop hadoop-yarn oozie mapr


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-06-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-04
      • 2016-02-28
      • 1970-01-01
      相关资源
      最近更新 更多