[ https://issues.apache.org/jira/browse/HIVE-21146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942404#comment-16942404 ]
Hive QA commented on HIVE-21146: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12981893/HIVE-21146.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 22 failed/errored test(s), 17015 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.majorCompactAfterAbortNew (batchId=247) org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.majorCompactWhileStreaming (batchId=247) org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.majorCompactWhileStreamingForSplitUpdateNew (batchId=247) org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.minorCompactAfterAbortNew (batchId=247) org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.minorCompactWhileStreaming (batchId=247) org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.minorCompactWhileStreamingWithSplitUpdate (batchId=247) org.apache.hadoop.hive.ql.txn.compactor.TestCompactor.minorCompactWhileStreamingWithSplitUpdateNew (batchId=247) org.apache.hive.streaming.TestStreaming.testAllTypesDelimitedWriter (batchId=360) org.apache.hive.streaming.TestStreaming.testAllTypesDelimitedWriterInputStream (batchId=360) org.apache.hive.streaming.TestStreaming.testAutoRollTransactionBatch (batchId=360) org.apache.hive.streaming.TestStreaming.testCommitWithKeyValue (batchId=360) org.apache.hive.streaming.TestStreaming.testErrorHandling (batchId=360) org.apache.hive.streaming.TestStreaming.testFileDumpCorruptDataFiles (batchId=360) org.apache.hive.streaming.TestStreaming.testFileDumpCorruptSideFiles (batchId=360) org.apache.hive.streaming.TestStreaming.testHeartbeat (batchId=360) org.apache.hive.streaming.TestStreaming.testInterleavedTransactionBatchCommits (batchId=360) org.apache.hive.streaming.TestStreaming.testMultipleTransactionBatchCommits (batchId=360) org.apache.hive.streaming.TestStreaming.testNoBuckets (batchId=360) org.apache.hive.streaming.TestStreaming.testTransactionBatchAbortAndCommit (batchId=360) org.apache.hive.streaming.TestStreaming.testTransactionBatchCommitDelimited (batchId=360) org.apache.hive.streaming.TestStreaming.testTransactionBatchCommitJson (batchId=360) org.apache.hive.streaming.TestStreaming.testTransactionBatchCommitRegex (batchId=360) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18817/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18817/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18817/ 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: 22 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12981893 - PreCommit-HIVE-Build > Enforce TransactionBatch size=1 for blob stores > ----------------------------------------------- > > Key: HIVE-21146 > URL: https://issues.apache.org/jira/browse/HIVE-21146 > Project: Hive > Issue Type: Bug > Components: Streaming, Transactions > Affects Versions: 3.0.0 > Reporter: Eugene Koifman > Assignee: David Lavati > Priority: Major > Labels: pull-request-available > Attachments: HIVE-21146.patch > > Time Spent: 10m > Remaining Estimate: 0h > > Streaming Ingest API supports a concept of {{TransactionBatch}} where N > transactions can be opened at once and the data in all of them will be > written to the same delta_x_y directory where each transaction in the batch > can be committed/aborted independently. The implementation relies on > {{FSDataOutputStream.hflush()}} (called from OrcRecordUpdater}} which is > available on HDFS but is often implemented as no-op in Blob store backed > {{FileSystem}} objects. > Need to add a check to {{HiveStreamingConnection()}} constructor to raise an > error if {{builder.transactionBatchSize > 1}} and the target table/partitions > are backed by something that doesn't support {{hflush()}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)