[
https://issues.apache.org/jira/browse/HIVE-20349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613173#comment-16613173
]
Hive QA commented on HIVE-20349:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12939424/HIVE-20349.3.patch
{color:green}SUCCESS:{color} +1 due to 3 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 14938 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test_alter]
(batchId=193)
org.apache.hadoop.hive.cli.TestMiniDruidKafkaCliDriver.testCliDriver[druidkafkamini_basic]
(batchId=264)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testComplexQuery (batchId=251)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testDataTypes (batchId=251)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testEscapedStrings (batchId=251)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testLlapInputFormatEndToEnd
(batchId=251)
org.apache.hive.jdbc.TestJdbcWithMiniLlapArrow.testNonAsciiStrings (batchId=251)
org.apache.hive.jdbc.miniHS2.TestHs2ConnectionMetricsBinary.testOpenConnectionMetrics
(batchId=255)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/13752/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13752/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13752/
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: 8 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12939424 - PreCommit-HIVE-Build
> Implement Retry Logic in HiveDruidSplit for Scan Queries
> --------------------------------------------------------
>
> Key: HIVE-20349
> URL: https://issues.apache.org/jira/browse/HIVE-20349
> Project: Hive
> Issue Type: Bug
> Components: Druid integration
> Reporter: Nishant Bangarwa
> Assignee: Nishant Bangarwa
> Priority: Major
> Attachments: HIVE-20349.1.patch, HIVE-20349.2.patch,
> HIVE-20349.3.patch, HIVE-20349.patch
>
>
> while distributing druid scan query we check where the segments are loaded
> and then each HiveDruidSplit directly queries the historical node.
> There are few cases when we need to retry and refetch the segments.
> # The segment is loaded on multiple historical nodes and one of them went
> down. in this case when we do not get response from one segment, we query the
> next replica.
> # The segment was loaded onto a realtime task and was handed over, when we
> query the realtime task has already finished. In this case there is no
> replica. The Split needs to query the broker again for the location of the
> segment and then send the query to correct historical node.
> This is also the root cause of failure of druidkafkamini_basic.q test, where
> the segment handover happens before the scan query is executed.
> Note: This is not a problem when we are directly querying Druid brokers as
> the broker handles the retry logic.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)