gpt4 book ai didi

Apache Falcon 无法提交集群定义

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

<分区>

我正在尝试向正在运行的 Apache falcon 服务器提交集群定义。服务器在分布式节点中运行,前面有一个 Prism 实例。两者都在我的机器上通过 http 和本地运行。我正在执行以下命令

falcon entity -type cluster -submit -file /projects/falcon/examples/primary-cluster.xml

结果是:

 Client Response POST http://localhost:16000/api/entities/submit/cluster returned a response status of 400 Bad RequestError: Bad Request;local/Current colo (default) is not local

So I guess my question here would be what does local/Current colo (default) is not local means I think it's an xml error but I can't be 100%. I've run a unit test parsing the file I am submitting against the appropriate xsd and it parsed it just fine.

Here is the xml I am sending (primary-cluster.xml)

<cluster colo="default" description="Primary Cluster"
name="local-cluster"
xmlns="uri:falcon:cluster:0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<tags>class=dev,site=local</tags>
<interfaces>
<interface type="readonly" endpoint="hftp://localhost:50010" version="1.1.2"/>
<interface type="write" endpoint="hdfs://localhost:9000" version="2.4.0"/>
<interface type="execute" endpoint="localhost:9001" version="2.4.0"/>
<interface type="workflow" endpoint="http://localhost:11000/oozie/" version="4.0.1"/>
<interface type="messaging" endpoint="tcp://localhost:61616?daemon=true" version="5.4.3"/>
</interfaces>
<locations>
<location name="staging" path="/staging"/>
<location name="temp" path="/tmp"/>
<location name="working" path="/working"/>
</locations>


可以找到 xml xsd here

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