-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-362] Move aggregator scraping API onto Pipeline, make the support code private #699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3230461 to
cfe0276
Compare
|
R: @dhalperi note added dependency for Dataflow runner |
fef52dd to
dacf275
Compare
|
Though I'm not sure what's the issue with Travis. I'll take a look once I'm near a computer. |
|
Ken, I commented on PR/681 that we can use a jar that contains all native library variants since only depending on one means that if the client that builds the application is running on an OS which is different than what the runner executes on it will fail to load the native library when executing. Once PR/681 is fixed up, I don't think you'll need to have the maven OS detection plugin. |
|
@amitsela Travis did pass prior to my opening the PR. Seems there was a Travis timeout/hang in the Mac build. "No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself." I'll go ahead and rebase to kick Travis and see if it was an infrastructure issue. |
dacf275 to
0869ab5
Compare
|
Discussed offline a bit, with these conclusions:
I'll update this PR accordingly. |
|
Based on comments here, I am going to cherry-pick the os-maven-plugin thing. |
0869ab5 to
a01444c
Compare
|
PTAL @dhalperi. It isn't perfect, but the support classes are now package-private. They were previously public and in a namespace we want to remove. Could move the |
ff464ea to
5700c5e
Compare
|
Ken, I just merged pr/701 so you should be able to drop the OS detection plugin now. |
6aa9ebc to
8f67ae9
Compare
|
@lukecwik |
|
Travis failure is the issue in the Mac infrastructure. |
8f67ae9 to
52e5814
Compare
|
Rebased again - same result. The Mac build hangs while fetching deps. Note that the pre-merge build of kennknowles/incubator-beam passed. So either it is infrastructural, nondeterministic, or there's some Mac-facing bug in mainline. Or some combination. Note that other PRs eventually get past this by repeatedly retrying. I'd rather not bother with that, but don't want to ignore a flaky issue either. Either way, not related to this change. |
66c996c to
570aa11
Compare
|
R: -@amitsela (no longer relevant to Spark or particularly interesting in any way) |
|
@dhalperi every failure for the last few rebases has been timeouts or hangs in Travis, various platforms, most recently all of them. There haven't been any code changes in a while. Jenkins has been happy all along. Do you have any comments about the code itself? I'll keep prodding the infrastructure to see if it passes or uncovers a real issue. |
|
Sorry -- I've just been busy. Will TAL tomorrow. |
570aa11 to
f0b4b33
Compare
|
It passed for a second :-) But it had conflicts. I've rebased and pushed. Crossing fingers... |
51d858c to
02e6bfd
Compare
52ea6d6 to
7f32d0e
Compare
|
R: @tgroh maybe a first pass would be good |
This class is trivial. Adding it to the public API of the SDK is not desirable, since it is just for runners. Adding it to runners-core would be OK but is really overkill for a glorified Map.
7f32d0e to
e018b9e
Compare
| } | ||
| } | ||
|
|
||
| /** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/between/from/ ?
|
LGTM, please self-merge. |
e018b9e to
adec254
Compare
use the pytest.mark.xfail decorator
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull requestmvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
<Jira issue #>in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
This moves out aggregators from where they are into various places where they belong. Notes:
to
runners-core. It could reasonably live in the SDK if it had any other use. It isalways easier to re-introduce it that to remove it, so I have removed it for now.
runners-core.This is a private implementation detail dependency. But it cannot be shaded until
we move packages so everything is under
org.apache.beam.runners.core.sdk.runnersnamespace tolive alongside
PipelineResult, of which is it a sub-part. We might consider allof these living in a namespace having to do with interacting with a "job", but that
is future work. For now this is internally consistent. We have a thought/goal that
the
sdk.runnersnamespace can go away.