[ https://issues.apache.org/jira/browse/HIVE-20561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616385#comment-16616385 ]
Hive QA commented on HIVE-20561: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12939753/HIVE-20561.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14940 tests executed *Failed tests:* {noformat} org.apache.hive.service.auth.TestCustomAuthentication.org.apache.hive.service.auth.TestCustomAuthentication (batchId=247) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13808/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13808/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13808/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12939753 - PreCommit-HIVE-Build > Use the position of the Kafka Consumer to track progress instead of Consumer > Records offsets > -------------------------------------------------------------------------------------------- > > Key: HIVE-20561 > URL: https://issues.apache.org/jira/browse/HIVE-20561 > Project: Hive > Issue Type: Bug > Affects Versions: 4.0.0 > Reporter: slim bouguerra > Assignee: slim bouguerra > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-20561.patch > > > Kafka Partitions with transactional messages (post 0.11) will include commit > or abort markers which indicate the result of a transaction. The markers are > not returned to applications, yet have an offset in the log. Therefore the > end of Stream position can be the offset of a control message. > This Patch change the way how we keep track of the consumer position by using > {code} consumer.position(topicP) {code} as oppose to using the offset of the > consumed messages. > Also I have done some refactoring to help code readability hopefully. -- This message was sent by Atlassian JIRA (v7.6.3#76005)