Uh oh!
There was an error while loading. Please reload this page.
[BEAM-362] Move aggregator scraping API onto Pipeline, make the support code private - #699
Conversation
3230461 to
cfe0276Comparekennknowles
commented
Jul 20, 2016
R: @dhalperi note added dependency for Dataflow runner |
fef52dd to
dacf275Compareamitsela
commented
Jul 20, 2016
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. |
kennknowles
commented
Jul 20, 2016
kennknowles
commented
Jul 20, 2016
@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
0869ab5Comparekennknowles
commented
Jul 20, 2016
Discussed offline a bit, with these conclusions:
I'll update this PR accordingly. |
kennknowles
commented
Jul 20, 2016
Based on comments here, I am going to cherry-pick the os-maven-plugin thing. |
0869ab5 to
a01444cComparekennknowles
commented
Jul 21, 2016
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
5700c5eComparelukecwik
commented
Jul 21, 2016
Ken, I just merged pr/701 so you should be able to drop the OS detection plugin now. |
6aa9ebc to
8f67ae9Comparekennknowles
commented
Jul 22, 2016
@lukecwik |
kennknowles
commented
Jul 22, 2016
Travis failure is the issue in the Mac infrastructure. |
8f67ae9 to
52e5814Comparekennknowles
commented
Jul 25, 2016
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
570aa11Comparekennknowles
commented
Jul 28, 2016
R: -@amitsela (no longer relevant to Spark or particularly interesting in any way) |
kennknowles
commented
Jul 28, 2016
@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. |
dhalperi
commented
Jul 29, 2016
Sorry -- I've just been busy. Will TAL tomorrow. |
570aa11 to
f0b4b33Comparekennknowles
commented
Jul 29, 2016
It passed for a second :-) But it had conflicts. I've rebased and pushed. Crossing fingers... |
51d858c to
02e6bfdCompare52ea6d6 to
7f32d0eComparekennknowles
commented
Aug 8, 2016
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
e018b9eCompare| } | ||
| } | ||
| /** |
dhalperi
commented
Aug 10, 2016
LGTM, please self-merge. |
e018b9e to
adec254Compareuse 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.