NiFi 常见错误提示 博客分类: NiFi NiFijava
程序员文章站
2024-03-20 08:15:10
...
1、transfer relationship not specified
当在Processor的onTrigger中添加好业务代码后,需要指定 Relationship,及数据将从哪个 Relationship流动,代码如下
如果没有指定话,则会报transfer relationship not specified的错误提示。
2、为processor添加service时,报 No controller service types found that are applicable for this property.
在processor所在的nar包中,MANIFEST.MF中未添加依赖的service
当在Processor的onTrigger中添加好业务代码后,需要指定 Relationship,及数据将从哪个 Relationship流动,代码如下
session.transfer(flowFile, REL_SUCCESS);
如果没有指定话,则会报transfer relationship not specified的错误提示。
2、为processor添加service时,报 No controller service types found that are applicable for this property.
在processor所在的nar包中,MANIFEST.MF中未添加依赖的service
Nar-Dependency-Id: nifi-XXX-api-nar