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

Brian Hulette edited comment on BEAM-12258 at 5/5/21, 7:34 PM:
---------------------------------------------------------------

My journey into this failure is nearing its end. A couple of things going wrong:
- A timeout had reversed logic, so the test hung indefinitely rather than 
failing fast (fix: pr/14732)
- testSQLLimit was throwing an exception inside a forked thread, so we hit the 
above timeout rather than seeing the exception

The actual exception is related to the new resource hint pipelineOption. It 
seems we're incorrectly sending the default value (null) over JdbcConnection as 
a List with a single element "null". We get an IllegalArgumentException when 
parsing that, here: 
https://github.com/apache/beam/blob/2d253f915003279878b77827301428649881bec7/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/resourcehints/ResourceHints.java#L96


was (Author: bhulette):
My journey into this failure is nearing its end. A couple of things going wrong:
- A timeout had reversed logic, so the test hung indefinitely rather than 
failing fast (fix: go/beampr/14732)
- testSQLLimit was throwing an exception inside a forked thread, so we hit the 
above timeout rather than seeing the exception

The actual exception is related to the new resource hint pipelineOption. It 
seems we're incorrectly sending the default value (null) over JdbcConnection as 
a List with a single element "null". We get an IllegalArgumentException when 
parsing that, here: 
https://github.com/apache/beam/blob/2d253f915003279878b77827301428649881bec7/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/resourcehints/ResourceHints.java#L96

> SQL postcommit timing out
> -------------------------
>
>                 Key: BEAM-12258
>                 URL: https://issues.apache.org/jira/browse/BEAM-12258
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql, test-failures
>            Reporter: Kyle Weaver
>            Assignee: Brian Hulette
>            Priority: P1
>
> SQL postcommit ([https://ci-beam.apache.org/job/beam_PostCommit_SQL/)] is 
> timing out (and the timeout is already 4 hours!). Looks like it's stuck on 
> "Task :sdks:java:extensions:sql:integrationTest". 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to