hadoop - Oozie + YARN:获取连接失败异常
问题描述
在我们的应用程序中,我们希望一次只运行一个 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 中的每个操作级别设置的吗?
问候 Anuj Mehra
解决方案
根据 MapR 技术支持工程师 Prakhar Verma 的说法,您可以忽略代码中这些无害的异常。请重新编写您的java代码。
推荐阅读
- python - 您如何访问由其他模块用户输入定义的变量?
- angular - jsPlumbBrowserUI.getInstance 不是函数
- batch-file - 如何对 %%a 或 %1 等变量使用延迟扩展?
- javascript - 用于从 Gmail 中提取数据并在 Google 表格中填写多个匹配行的 Google Apps 脚本
- google-cloud-dataflow - Dataflow Prime 作业因内部问题 (4bcbd7ff0cd1a2c2) 失败:62242584:26
- javascript - 如果在javascript中打开ios低功耗模式会触发什么javascript事件?
- c++ - 将指向成员的类型转换为简单的指针类型
- mysql - 用最大和最小标记更新每一行
- javascript - 如何停止监听 Firebase Firestore 中的数据库更改?
- google-people-api - 是否可以通过 Apps 脚本删除 Google 其他联系人?