我试图从https://oozie.apache.org/docs/3.1.3-incubating/DG_Examples.html运行oozie示例 然后,将job.properties从examples / apps / aggregator复制到本地文件系统中的主字典中,并进行如下编辑:
nameNode=hdfs://localhost:9000
jobTracker=localhost:8032
queueName=default
examplesRoot=examples
oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/aggregator
start=2010-01-01T01:00Z end=2010-01-01T03:00Z
我确定端口正确。原因hadoop fs -ls hdfs://localhost:9000
返回了hdfs中的文件。
然后我在终端中输入:
oozie job -oozie http://127.0.0.1:11000/oozie -config ~/job.properties -run
,但返回:
Error: E0501 : E0501: Could not perform authorization operation, Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status; Host Details : local host is: "Master/x.x.x.x"; destination host is: "localhost":9000
任何帮助将不胜感激。