[ https://issues.apache.org/jira/browse/HIVE-17523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165433#comment-16165433 ]
Hive QA commented on HIVE-17523: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12886768/HIVE-17523.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 11041 tests executed *Failed tests:* {noformat} TestAccumuloCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=230) TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=230) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_view] (batchId=39) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=61) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=156) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[drop_table_failure2] (batchId=89) org.apache.hadoop.hive.ql.TestAcidOnTez.testCtasTezUnion (batchId=215) org.apache.hadoop.hive.ql.TestAcidOnTez.testNonStandardConversion01 (batchId=215) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6804/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6804/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6804/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase 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: 12886768 - PreCommit-HIVE-Build > Insert into druid table hangs Hive server2 in an infinit loop > -------------------------------------------------------------- > > Key: HIVE-17523 > URL: https://issues.apache.org/jira/browse/HIVE-17523 > Project: Hive > Issue Type: Bug > Components: Druid integration > Reporter: slim bouguerra > Assignee: Nishant Bangarwa > Labels: pull-request-available > Attachments: HIVE-17523.patch > > > Inserting data via insert into table backed by druid can lead to a Hive > server hang. > This is due to some bug in the naming of druid segments partitions. > To reproduce the issue > {code} > drop table login_hive; > create table login_hive(`timecolumn` timestamp, `userid` string, `num_l` > double); > insert into login_hive values ('2015-01-01 00:00:00', 'user1', 5); > insert into login_hive values ('2015-01-01 01:00:00', 'user2', 4); > insert into login_hive values ('2015-01-01 02:00:00', 'user3', 2); > insert into login_hive values ('2015-01-02 00:00:00', 'user1', 1); > insert into login_hive values ('2015-01-02 01:00:00', 'user2', 2); > insert into login_hive values ('2015-01-02 02:00:00', 'user3', 8); > insert into login_hive values ('2015-01-03 00:00:00', 'user1', 5); > insert into login_hive values ('2015-01-03 01:00:00', 'user2', 9); > insert into login_hive values ('2015-01-03 04:00:00', 'user3', 2); > insert into login_hive values ('2015-03-09 00:00:00', 'user3', 5); > insert into login_hive values ('2015-03-09 01:00:00', 'user1', 0); > insert into login_hive values ('2015-03-09 05:00:00', 'user2', 0); > drop table login_druid; > CREATE TABLE login_druid > STORED BY 'org.apache.hadoop.hive.druid.DruidStorageHandler' > TBLPROPERTIES ("druid.datasource" = "druid_login_test_tmp", > "druid.segment.granularity" = "DAY", "druid.query.granularity" = "HOUR") > AS > select `timecolumn` as `__time`, `userid`, `num_l` FROM login_hive; > select * FROM login_druid; > insert into login_druid values ('2015-03-09 05:00:00', 'user4', 0); > {code} > This patch unifies the logic of pushing and segments naming by using Druid > data segment pusher as much as possible. > This patch also has some minor code refactoring and test enhancements. > -- This message was sent by Atlassian JIRA (v6.4.14#64029)