Re: Precommit Jenkins Linkage Broken

2017-06-02 Thread Jean-Baptiste Onofré

Hi guys,

just a quick update about Jenkins and GitHub integration.

After working with INFRA, the issue has been identified and fixed (the 
permissions got a bit messed up in the last week which is why it stopped 
working). We fixed the credentials with INFRA and now, all is back to normal.


We have the notification in GitHub, and we can use "retest this please" and 
other keyword comments.


Regards
JB

On 05/30/2017 11:59 PM, Jason Kuster wrote:

Hey folks,

Just wanted to mention on the dev list that Jenkins precommit breakage is a
known issue and has been escalated to Infra (thanks JB!)[1]. I'm monitoring
the issue and will ping back here with any updates and when it starts
working again.

Best,

Jason

[1] https://issues.apache.org/jira/browse/INFRA-14247



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [DISCUSS] Source Watermark Metrics

2017-06-02 Thread Ben Chambers
I think having runners report important, general properties such as the
source watermark is great. It is much easier than requiring every source to
expose it.

I'm not sure how we would require this or do so in a general way. Each
runner has seperate code for handling the watermark as well as different
ways information should be reported.

Where would the runner do this? Where would the runner.put these values?
Maybe this is just part of the documentation about what we would like
runners to do?

On Fri, Jun 2, 2017, 3:09 AM Aljoscha Krettek  wrote:

> Hi,
>
> Thanks for reviving this thread. I think having the watermark is very
> good. Some runners, for example Dataflow and Flink have their own internal
> metric for the watermark but having it cross-runner seems beneficial (if
> maybe a bit wasteful).
>
> Best,
> Aljoscha
>
> > On 2. Jun 2017, at 03:52, JingsongLee  wrote:
> >
> > @Aviem Zur @Ben Chambers What do you think about the value of
> METRIC_MAX_SPLITS?
> >
> >
> --From:JingsongLee
> Time:2017 May 11 (Thu)
> 16:37To:dev@beam.apache.org Subject:[DISCUSS] Source
> Watermark Metrics
> > Hi everyone,
> >
> > The source watermark metrics show the consumer latency of Source.
> > It allows the user to know the health of the job, or it can be used to
> >  monitor and alarm.
> > We should have the runner report the watermark metricsrather than
> >  having the source report it using metrics. This addresses the fact that
> even
> > if the source has advanced to 8:00, the runner may still know about
> buffered
> >  elements at 7:00, and so not advance the watermark all the way to 8:00.
> > The metrics Includes:
> > 1.Source watermark (`min` amongst all splits):
> > type = Gauge, namespace = io, name = source_watermark
> > 2.Source watermark per split:
> > type = Gauge, namespace = io.splits, name = .source_watermark
> >
> > Min Source watermark amongst all splits seems difficult to implement
> since
> > some runners(like FlinkRunner) can't access to all the splits to
> aggregate
> > and there is no such AggregatorMetric.
> >
> > So We could report watermark per split and users could use a `min`
> > aggregation on this in their metrics backends. However, as was mentioned
> > in the IO metrics proposal by several people this could be problematic in
> > sources with many splits.
> >
> > So we do a check when report metrics to solve the problem of too many
> splits.
> > {code}
> > if (splitsNum <= METRIC_MAX_SPLITS) {
> >   // set the sourceWatermarkOfSplit
> > }
> > {code}
> >
> > So I'd like to take a discussion to the implement of source watermark
> metrics
> >  and specific how many splits is too many. (the value of
> METRIC_MAX_SPLITS)
> >
> > JIRA:
> > IO metrics (https://issues.apache.org/jira/browse/BEAM-1919)
> > Source watermark (https://issues.apache.org/jira/browse/BEAM-1941)
> >
>
>


Re: [DISCUSS] Source Watermark Metrics

2017-06-02 Thread Aljoscha Krettek
Hi,

Thanks for reviving this thread. I think having the watermark is very good. 
Some runners, for example Dataflow and Flink have their own internal metric for 
the watermark but having it cross-runner seems beneficial (if maybe a bit 
wasteful).

Best,
Aljoscha

> On 2. Jun 2017, at 03:52, JingsongLee  wrote:
> 
> @Aviem Zur @Ben Chambers What do you think about the value of 
> METRIC_MAX_SPLITS?
> 
> --From:JingsongLee
>  Time:2017 May 11 (Thu) 16:37To:dev@beam.apache.org 
> Subject:[DISCUSS] Source Watermark Metrics
> Hi everyone,
> 
> The source watermark metrics show the consumer latency of Source. 
> It allows the user to know the health of the job, or it can be used to
>  monitor and alarm.
> We should have the runner report the watermark metricsrather than
>  having the source report it using metrics. This addresses the fact that even
> if the source has advanced to 8:00, the runner may still know about buffered
>  elements at 7:00, and so not advance the watermark all the way to 8:00. 
> The metrics Includes:
> 1.Source watermark (`min` amongst all splits):
> type = Gauge, namespace = io, name = source_watermark
> 2.Source watermark per split:
> type = Gauge, namespace = io.splits, name = .source_watermark
> 
> Min Source watermark amongst all splits seems difficult to implement since 
> some runners(like FlinkRunner) can't access to all the splits to aggregate 
> and there is no such AggregatorMetric.
> 
> So We could report watermark per split and users could use a `min` 
> aggregation on this in their metrics backends. However, as was mentioned 
> in the IO metrics proposal by several people this could be problematic in 
> sources with many splits.
> 
> So we do a check when report metrics to solve the problem of too many splits.
> {code} 
> if (splitsNum <= METRIC_MAX_SPLITS) {
>   // set the sourceWatermarkOfSplit
> }
> {code}
> 
> So I'd like to take a discussion to the implement of source watermark metrics
>  and specific how many splits is too many. (the value of METRIC_MAX_SPLITS)
> 
> JIRA: 
> IO metrics (https://issues.apache.org/jira/browse/BEAM-1919)
> Source watermark (https://issues.apache.org/jira/browse/BEAM-1941)
>