NIFI PutHiveStreaming 开启HDFS HA后没法写入问题

开启HDFS HA后,NIFI puthiveStreaming没法写入问题,报错apache

org.apache.nifi.processors.hive.PutHiveStreaming$ShouldRetryException: Hive Streaming connect/write error, flow file will be penalized and routed to retry. org.apache.nifi.util.hive.HiveWriter$ConnectFailure: Failed connecting to EndPoint {metaStoreUri='thrift://10.0.1.22:9083,thrift://packone23:9083', database='origin', table='test1', partitionVals=[] }xml

解决方法以下:同步

1. 清空 Hive Configuration Resourcesit

2.  将配置文件 (core-site.xml, hdfs-site.xml, and hive-site.xml)  同步到 /etc/nifi/conf下io

3. 重启nifitable

相关文章
相关标签/搜索