繁体   English   中英

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

[英]OOZIE : Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]

我正在尝试通过URL执行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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM