Skip to content

[BEAM-1065] FileBasedSource: replace SeekableByteChannel with open(spec, startingPosition).#1426

Closed
peihe wants to merge 1 commit intoapache:masterfrom
peihe:io-channel-open-channel
Closed

[BEAM-1065] FileBasedSource: replace SeekableByteChannel with open(spec, startingPosition).#1426
peihe wants to merge 1 commit intoapache:masterfrom
peihe:io-channel-open-channel

Conversation

@peihe
Copy link
Copy Markdown
Contributor

@peihe peihe commented Nov 23, 2016

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

@peihe peihe force-pushed the io-channel-open-channel branch from 714a813 to 25e4834 Compare November 23, 2016 05:29
@peihe peihe changed the title FileBasedSource: replace SeekableByteChannel with open with startingPosition. FileBasedSource: replace SeekableByteChannel with open(spec, startingPosition). Nov 23, 2016
@peihe peihe force-pushed the io-channel-open-channel branch from 25e4834 to 8e8a4c9 Compare November 23, 2016 18:16
@peihe
Copy link
Copy Markdown
Contributor Author

peihe commented Nov 23, 2016

R: @dhalperi

@peihe peihe force-pushed the io-channel-open-channel branch from 8e8a4c9 to 2354183 Compare November 29, 2016 01:59
@peihe peihe force-pushed the io-channel-open-channel branch from 2354183 to 9131cdb Compare December 1, 2016 01:33
@peihe peihe changed the title FileBasedSource: replace SeekableByteChannel with open(spec, startingPosition). [BEAM-1065] FileBasedSource: replace SeekableByteChannel with open(spec, startingPosition). Dec 1, 2016
@asfbot
Copy link
Copy Markdown

asfbot commented Dec 1, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/5384/
--none--

@dhalperi
Copy link
Copy Markdown
Contributor

dhalperi commented Dec 3, 2016

Please see feedback on https://issues.apache.org/jira/browse/BEAM-1065.

In short, I think that the change to let source implementations specify their starting offset is awesome. But it's probably worth it's own separate PR.

As for dropping seekability, for reasons in the JIRA I think seekability is very useful and should stay.

@peihe
Copy link
Copy Markdown
Contributor Author

peihe commented Dec 7, 2016

closing, will address this in IOChannelFactory redesign.

@peihe peihe closed this Dec 7, 2016
@peihe peihe deleted the io-channel-open-channel branch August 15, 2017 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants