NiFi PutKudu错误:the number of replicas does not equal the number of servers解决方案

背景

使用NiFi 1.15.2 的PutKudu操作Kudu表(1.4.0-1.cdh5.12.2.p0.8)时,出现:the number of replicas does not equal the number of servers错误。

错误配置

在这里插入图片描述
在这里插入图片描述
kudu master:在10.10.135.35服务器。
执行写入报错:the number of replicas does not equal the number of servers。通过impala-shell执行同样的插入,更新无错误。
根据:KUDU-3295: Fix the number of replicas does not equal the number of servers。怀疑NiFi集群找不到Tablets服务器节点。于是使用域名方式,并在NiFi集群节点/etc/hosts路径下,把所有CDH的域名配置上面。测试OK。
配置中的另外一个小错误:注意:表名必须使用impala::前缀,否则会出现:The table does not exist: table_name: “default.my_first_kudu_str1”。

正常配置

在这里插入图片描述
NiFi集群节点都配置/etc/hosts
在这里插入图片描述

联系

欢迎关注我的公众号:大数据与数字化转型.欢迎加微信讨论DawSongZhao

猜你喜欢

转载自blog.csdn.net/zdsx1104/article/details/124307164