開啓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