Hadoop OOZIE:发生连接异常[java.net.ConnectException连接被拒绝(连接被拒绝)]
我正试图在他的帮助下执行Oozie的工作 网址: 执行时Hadoop OOZIE:发生连接异常[java.net.ConnectException连接被拒绝(连接被拒绝)],hadoop,httpurlconnection,cloudera,oozie,oozie-workflow,Hadoop,Httpurlconnection,Cloudera,Oozie,Oozie Workflow,我正试图在他的帮助下执行Oozie的工作 网址: 执行时 oozie作业-run-config目标/example/job.properties 将错误获取为: Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 1 sec. Retry count = 1 Connection exception has occ
oozie作业-run-config目标/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\u URL=http://hostname:11000/oozie
- 在oozie命令中使用
参数<代码>oozie作业-ooziehttp://hostname:11000/oozie -运行-config target/example/job.properties-oozie