[BEAM-775] Remove Aggregators from PipelineResults and Examples in Java SDK#2184
[BEAM-775] Remove Aggregators from PipelineResults and Examples in Java SDK#2184pabloem wants to merge 3 commits intoapache:masterfrom
Conversation
|
r: @bjchambers |
|
Refer to this link for build results (access rights to CI server needed): Failed Tests: 1beam_PreCommit_Java_MavenInstall/org.apache.beam:beam-runners-spark: 1--none-- |
|
Relaunching tests with PR close/reopen. |
|
Refer to this link for build results (access rights to CI server needed): |
There was a problem hiding this comment.
live this as "unmatchedWords"
| } | ||
|
|
||
| @Test | ||
| public void testGetAggregatorValuesWhenClientThrowsExceptionThrowsAggregatorRetrievalException() |
There was a problem hiding this comment.
We may want to keep first refactor the aggregator querying code for use to query metrics, and just convert these tests to metrics?
There was a problem hiding this comment.
You mean keep getAggregatorValues functions, and tests? We may leave as-is and have another PR (right away : )) to add metrics querying and tests. What do you think about that?
There was a problem hiding this comment.
PR 2223 adds querying for metrics.
|
Refer to this link for build results (access rights to CI server needed): |
7b7ab3b to
5eecd36
Compare
|
Refer to this link for build results (access rights to CI server needed): |
|
@bjchambers can we get this in and I'll do independent PRs for the other runners? |
|
@pabloem, is there something blocking this PR? If so, it would be good to have a list of those things given that this is blocking the first stable release? |
5eecd36 to
7e4d798
Compare
7275266 to
a0d1175
Compare
a0d1175 to
1c4ccc1
Compare
|
@bjchambers can we move forward with this? I can remove the latest commit (Removing Aggregators from PipelineResults and subclasses.) and make that change later, but removing from tests and examples should be okay no? |
1c4ccc1 to
5752b24
Compare
|
Fyi, you'll have to rebase this PR to resolve a conflict looks like. |
0f75d28 to
0fcc8f6
Compare
ba1466b to
790ce0b
Compare
|
Please rebase/squash/clean-up commit message? |
790ce0b to
33c90bc
Compare
|
Done. Just need to wait for tests. |
79da0eb to
714f2a2
Compare
|
After running |
714f2a2 to
74c2664
Compare
|
I believe if you remove your ~/.m2 directory you'll get rid of the Apex
runner errors.
…On Mon, Apr 24, 2017, 5:02 PM Pablo ***@***.***> wrote:
After running mvn clean verify there's nullpointer failures in the Apex
runner. I believe these were already happenning?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2184 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACMeGZkGVcsEE591oJsO3KM3lkdGcfRks5rzTgagaJpZM4MWCkp>
.
|
|
@pabloem I was using |
|
Hey! Yes, the way to do that now is by using `Metrics.counter`. Gald to
help further if you have questions!
On Thu, Jun 7, 2018, 7:18 PM Abdul Qadeer ***@***.***> wrote:
@pabloem <https://github.com/pabloem> I was using Aggregator to keep
counter across each InputT bundles. What should be used now? Does Counter
work in my case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2184 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABPc7M90BseuIpJleYyt1zKUQa0mJanLks5t6d8KgaJpZM4MWCkp>
.
--
Got feedback? go/pabloem-feedback
|
|
Thanks. What about calculating mean values?
…On Thu, 7 Jun 2018 at 21:31, Pablo ***@***.***> wrote:
Hey! Yes, the way to do that now is by using `Metrics.counter`. Gald to
help further if you have questions!
On Thu, Jun 7, 2018, 7:18 PM Abdul Qadeer ***@***.***>
wrote:
> @pabloem <https://github.com/pabloem> I was using Aggregator to keep
> counter across each InputT bundles. What should be used now? Does Counter
> work in my case?
>
> —
> You are receiving this because you were mentioned.
>
>
> Reply to this email directly, view it on GitHub
> <#2184 (comment)>, or
mute
> the thread
> <
https://github.com/notifications/unsubscribe-auth/ABPc7M90BseuIpJleYyt1zKUQa0mJanLks5t6d8KgaJpZM4MWCkp
>
> .
>
--
Got feedback? go/pabloem-feedback
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2184 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGmMs9Tpe52MuTSNA7dhJUJ_ftfchobmks5t6f4wgaJpZM4MWCkp>
.
|
|
For that you can use Metrics.distribution objects, which will track
minimum, maximum, count and average.
On Sat, Jun 9, 2018, 12:54 PM Abdul Qadeer ***@***.***> wrote:
Thanks. What about calculating mean values?
On Thu, 7 Jun 2018 at 21:31, Pablo ***@***.***> wrote:
> Hey! Yes, the way to do that now is by using `Metrics.counter`. Gald to
> help further if you have questions!
>
> On Thu, Jun 7, 2018, 7:18 PM Abdul Qadeer ***@***.***>
> wrote:
>
> > @pabloem <https://github.com/pabloem> I was using Aggregator to keep
> > counter across each InputT bundles. What should be used now? Does
Counter
> > work in my case?
> >
> > —
> > You are receiving this because you were mentioned.
> >
> >
> > Reply to this email directly, view it on GitHub
> > <#2184 (comment)>, or
> mute
> > the thread
> > <
>
https://github.com/notifications/unsubscribe-auth/ABPc7M90BseuIpJleYyt1zKUQa0mJanLks5t6d8KgaJpZM4MWCkp
> >
> > .
> >
> --
> Got feedback? go/pabloem-feedback
<https://goto.google.com/pabloem-feedback>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#2184 (comment)>, or
mute
> the thread
> <
https://github.com/notifications/unsubscribe-auth/AGmMs9Tpe52MuTSNA7dhJUJ_ftfchobmks5t6f4wgaJpZM4MWCkp
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2184 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABPc7BbfzRu52PdbK00IHBRgavkCeoq2ks5t7Cf1gaJpZM4MWCkp>
.
--
Got feedback? go/pabloem-feedback
|
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.