[ 
https://issues.apache.org/jira/browse/HIVE-16576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995651#comment-15995651
 ] 

Hive QA commented on HIVE-16576:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12866249/HIVE-16576.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 10638 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_index] 
(batchId=225)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr]
 (batchId=143)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_join30]
 (batchId=148)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/5027/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/5027/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-5027/

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: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12866249 - PreCommit-HIVE-Build

> Fix encoding of intervals when fetching select query candidates from druid
> --------------------------------------------------------------------------
>
>                 Key: HIVE-16576
>                 URL: https://issues.apache.org/jira/browse/HIVE-16576
>             Project: Hive
>          Issue Type: Bug
>          Components: Druid integration
>            Reporter: Nishant Bangarwa
>            Assignee: Nishant Bangarwa
>         Attachments: HIVE-16576.patch
>
>
> Debug logs on HIVE side - 
> {code}
> 2017-05-03T23:49:00,672 DEBUG [HttpClient-Netty-Worker-0] 
> client.NettyHttpClient: [GET 
> http://localhost:8082/druid/v2/datasources/cmv_basetable_druid/candidates?intervals=1900-01-01T00:00:00.000+05:53:20/3000-01-01T00:00:00.000+05:30]
>  Got response: 500 Server Error
> {code}
> Druid exception stack trace - 
> {code}
> 2017-05-03T18:56:58,928 WARN [qtp1651318806-158] 
> org.eclipse.jetty.servlet.ServletHandler - 
> /druid/v2/datasources/cmv_basetable_druid/candidates
> java.lang.IllegalArgumentException: Invalid format: ""1900-01-01T00:00:00.000 
> 05:53:20"
>       at 
> org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:899)
>  ~[joda-time-2.8.2.jar:2.8.2]
>       at 
> org.joda.time.convert.StringConverter.setInto(StringConverter.java:212) 
> ~[joda-time-2.8.2.jar:2.8.2]
>       at org.joda.time.base.BaseInterval.<init>(BaseInterval.java:200) 
> ~[joda-time-2.8.2.jar:2.8.2]
>       at org.joda.time.Interval.<init>(Interval.java:193) 
> ~[joda-time-2.8.2.jar:2.8.2]
>       at org.joda.time.Interval.parse(Interval.java:69) 
> ~[joda-time-2.8.2.jar:2.8.2]
>       at 
> io.druid.server.ClientInfoResource.getQueryTargets(ClientInfoResource.java:320)
>  ~[classes/:?]
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ~[?:1.8.0_92]
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_92]
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_92]
>       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_92]
> {code}
> Note that intervals being sent as part of the HTTP request URL are not 
> encoded properly when not using UTC timezone.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to