[
https://issues.apache.org/jira/browse/BEAM-6103?focusedWorklogId=168062&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-168062
]
ASF GitHub Bot logged work on BEAM-6103:
----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Nov/18 00:17
Start Date: 21/Nov/18 00:17
Worklog Time Spent: 10m
Work Description: chamikaramj commented on issue #7097: [BEAM-6103] Adds
support for setting a HTTP write timeout for BigQueryIO
URL: https://github.com/apache/beam/pull/7097#issuecomment-440478072
Run Java PostCommit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 168062)
Time Spent: 40m (was: 0.5h)
> Allow setting a HTTP write timeout to requests to BigQuery
> ----------------------------------------------------------
>
> Key: BEAM-6103
> URL: https://issues.apache.org/jira/browse/BEAM-6103
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Affects Versions: Not applicable
> Reporter: Chamikara Jayalath
> Assignee: Chamikara Jayalath
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Several users have reported that very occasionally some of the streaming
> insert requests to BigQuery are getting stuck.
>
> This can be mitigated by setting a write timeout for sockets and allowing
> runners to retry. But Java does not support setting write timeouts for
> non-NIO sockets [1] and this bug affects Google HTTP client library used by
> GCP IO.
>
> Google HTTP library was recently updated to support write timeouts [2]. So we
> can update BigQueryIO to utilize this feature and allow setting a write
> timeout. Setting write timeout results in more threads being created. So this
> path can be slightly expensive and hence should not be made the default path.
> [1] [https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4031100]
> [2]
> [https://github.com/googleapis/google-http-java-client/releases/tag/v1.27.0]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)