OOZIE:发生连接异常[java.net.ConnectException连接被拒绝(连接被拒绝)]

编程入门 行业动态 更新时间:2024-10-27 14:31:27
本文介绍了OOZIE:发生连接异常[java.ConnectException连接被拒绝(连接被拒绝)]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

I'm trying to execute Oozie job with the help of URL: www.safaribooksonline/library/view/apache-oozie/9781449369910/ch05.html

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

获取错误为:

Connection exception has occurred [ java.ConnectException Connection refused (Connection refused) ]. Trying after 1 sec. Retry count = 1 Connection exception has occurred [ java.ConnectException Connection refused (Connection refused) ]. Trying after 2 sec. Retry count = 2 Connection exception has occurred [ java.ConnectException Connection refused (Connection refused) ]. Trying after 4 sec. Retry count = 3 Connection exception has occurred [ java.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)

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

Any idea; why connection is getting refused?

推荐答案

它无法从Oozie客户端(命令行)连接到Oozie服务器.找到Oozie服务器的URL,然后执行以下操作之一:

It is not able to connect to the Oozie server from Oozie client (command line). Find the Oozie server url and do one of the following:

  • 将Oozie服务器设置(导出)为环境变量export OOZIE_URL=hostname:11000/oozie
  • 在oozie命令中使用-oozie参数. oozie job -oozie hostname:11000/oozie -run -config target/example/job.properties
  • Set (export) the Oozie server as environment variable export OOZIE_URL=hostname:11000/oozie
  • Use the -oozie parameter into the oozie command. oozie job -oozie hostname:11000/oozie -run -config target/example/job.properties

更多推荐

OOZIE:发生连接异常[java.net.ConnectException连接被拒绝(连接被拒绝)]

本文发布于:2023-10-16 10:11:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1497270.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:被拒   异常   发生   OOZIE   ConnectException

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!