gpt4 book ai didi

hadoop - OOZIE : Connection exception has occurred [ java.net.ConnectException 连接被拒绝(连接被拒绝)]

转载 作者:可可西里 更新时间:2023-11-01 16:39:20 25 4
gpt4 key购买 nike

我正在尝试在以下工具的帮助下执行 Oozie 作业网址:https://www.safaribooksonline.com/library/view/apache-oozie/9781449369910/ch05.html

执行时oozie job -run -config target/example/job.properties

获取错误为:

Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 1 sec. Retry count = 1
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 2 sec. Retry count = 2
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 4 sec. Retry count = 3
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 8 sec. Retry count = 4
Error: IO_ERROR : java.io.IOException: Error while connecting Oozie server. No of retries = 4. Exception = Connection refused (Connection refused)

任何想法;为什么连接被拒绝?

最佳答案

无法从 Oozie 客户端(命令行)连接到 Oozie 服务器。找到 Oozie 服务器 url 并执行以下操作之一:

  • 将 Oozie 服务器设置(导出)为环境变量 export OOZIE_URL=http://hostname:11000/oozie
  • 在 oozie 命令中使用 -oozie 参数。 oozie job -oozie http://hostname:11000/oozie -run -config target/example/job.properties

关于hadoop - OOZIE : Connection exception has occurred [ java.net.ConnectException 连接被拒绝(连接被拒绝)],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44839025/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com