You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by GitBox <gi...@apache.org> on 2019/02/20 02:13:33 UTC

[GitHub] NiXuebing edited a comment on issue #206: FLUME-2956 - hive sink not sending heartbeat correctly

NiXuebing edited a comment 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()`,不知道这样有没有问题 @hejiang2000 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services