NiXuebing commented on issue #206: FLUME-2956 - hive sink not sending heartbeat 
correctly
URL: https://github.com/apache/flume/pull/206#issuecomment-465391257
 
 
   
我看HiveSink.java里`setupHeartBeatTimer()`的作用也仅仅是将`timeToSendHeartBeat`设置为`true`,实际触发心跳还是得等消息来时的flush。如果长时间没有消息,事务还是会自动断开。
   我的处理是`HiveSink.setupHeartBeatTimer()`里直接加上`writer.heartBeat()`,不知道这样有没有问题

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to