栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

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

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

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

联系

欢迎关注我的公众号:大数据与数字化转型

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/828392.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号