[
https://issues.apache.org/jira/browse/BEAM-3934?focusedWorklogId=248282&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-248282
]
ASF GitHub Bot logged work on BEAM-3934:
----------------------------------------
Author: ASF GitHub Bot
Created on: 24/May/19 20:50
Start Date: 24/May/19 20:50
Worklog Time Spent: 10m
Work Description: angoenka commented on issue #8648: [BEAM-3934] Use try
with resources to close the reader on JavaReadViaImpulse
URL: https://github.com/apache/beam/pull/8648#issuecomment-495784380
I think the failure is caused by missmatch in class version of Flink Job
Server and Extension service.
Checking how we build the extension service
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 248282)
Time Spent: 1h 40m (was: 1.5h)
> BoundedReader should be closed in JavaReadViaImpulse#ReadFromBoundedSourceFn
> ----------------------------------------------------------------------------
>
> Key: BEAM-3934
> URL: https://issues.apache.org/jira/browse/BEAM-3934
> Project: Beam
> Issue Type: Bug
> Components: runner-core
> Reporter: Ted Yu
> Assignee: Ismaël Mejía
> Priority: Minor
> Labels: usability
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> {code}
> public void readSoruce(ProcessContext ctxt) throws IOException {
> BoundedSource.BoundedReader<T> reader =
> ctxt.element().createReader(ctxt.getPipelineOptions());
> for (boolean more = reader.start(); more; more = reader.advance()) {
> ctxt.outputWithTimestamp(reader.getCurrent(),
> reader.getCurrentTimestamp());
> }
> }
> {code}
> The BoundedSource.BoundedReader instance should be closed before returning
> from the method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)