我在cdh6.x中使用oozie(5.1)。当我尝试提交具有“user.name”属性的oozie配置单元代理作业时,它返回错误-
{
"errorMessage": "E0803: IO error, E0808: Disallowed user property [user.name]",
"httpStatusCode": 400
}
如果我删除“user.name”属性,它将返回错误-
{
"errorMessage": "E0401: Missing configuration property [user.name]",
"httpStatusCode": 400
}
这是我的作业配置-
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://hdfs-host:8020</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>yarn-host:8032</value>
</property>
<property>
<name>oozie.hive.script</name>
<value>select * from sampletable limit 10</value>
</property>
<property>
<name>oozie.hive.script.params.size</name>
<value>0</value>
</property>
<property>
<name>user.name</name>
<value>user1</value>
</property>
<property>
<name>oozie.libpath</name>
<value>hdfs://hdfs-host:8020//user/oozie/share/lib/lib_20200116013502/hive</value>
</property>
<property>
<name>oozie.proxysubmission</name>
<value>true</value>
</property>
</configuration>
暂无答案!
目前还没有任何答案,快来回答吧!