[GitHub] samza pull request #829: SAMZA-2012: Add API for wiring an external context ...

2018-12-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/samza/pull/829


---


[GitHub] samza pull request #846: SAMZA-2019: for 1 partition broadcast topic generat...

2018-12-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/samza/pull/846


---


[GitHub] samza pull request #846: SAMZA-2019: for 1 partition broadcast topic generat...

2018-12-05 Thread sborya
GitHub user sborya opened a pull request:

https://github.com/apache/samza/pull/846

SAMZA-2019: for 1 partition broadcast topic generate topic#0 config

+ address few review comments

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/sborya/samza isBroadcast1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/samza/pull/846.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #846


commit a31a7aa29b7be4bb46f8e651b6b8fa46a65b48e2
Author: Boris Shkolnik 
Date:   2017-10-16T22:25:49Z

reduce debugging from info to debug in KafkaCheckpointManager.java

commit 410ce78ba1ff8dafa2587481473e62ac9cfa6f4f
Author: Boris S 
Date:   2017-10-17T01:20:04Z

Merge branch 'master' of https://github.com/apache/samza

commit d4620d6690f74cad9472d0e27a1b31aeb4156c54
Author: Boris S 
Date:   2017-10-25T00:11:48Z

Merge branch 'master' of https://github.com/apache/samza

commit bbffb79b8b9799a41e8e82ded60f83550736886b
Author: Boris S 
Date:   2017-10-25T00:54:20Z

Merge branch 'master' of https://github.com/apache/samza

commit 010fa168ee2a290b93f5a3b0908709b2c19044ec
Author: Boris S 
Date:   2017-10-25T01:33:03Z

Merge branch 'master' of https://github.com/apache/samza

commit 5e6f5fb5f9a9ee12ce35ee8eb1836a058521df20
Author: Boris Shkolnik 
Date:   2017-10-25T16:50:37Z

Merge branch 'master' of https://github.com/apache/samza

commit 06b1ac36e9c67a3bd558a0fa592639b16fcbfda9
Author: Boris Shkolnik 
Date:   2017-10-25T16:50:55Z

Merge branch 'master' of https://github.com/sborya/samza

commit 1ad58d43fbe00a57054cb85b0be2eef6ee6470a6
Author: Boris S 
Date:   2017-10-31T19:46:53Z

Merge branch 'master' of https://github.com/apache/samza

commit dd39d089437905abb93aa1074474b28a18292a54
Author: Boris S 
Date:   2017-11-22T19:46:37Z

Merge branch 'master' of https://github.com/apache/samza

commit 67e611ee47f0747b81c0de5d061f9888145b605a
Author: Boris S 
Date:   2018-01-10T17:50:40Z

Merge branch 'master' of https://github.com/apache/samza

commit 0edf343b8c5360437fa10cc5a543696a4edcc319
Author: Boris S 
Date:   2018-06-08T17:15:36Z

Merge branch 'master' of https://github.com/apache/samza

commit 88f855954e4d98aa3bdd3a3a778eb699a13ff659
Author: Boris S 
Date:   2018-08-02T20:29:58Z

Merge branch 'master' of https://github.com/apache/samza

commit 78ad578cc022af3f9c5f9a15826a9dc010502a89
Author: Boris S 
Date:   2018-08-08T02:04:17Z

Merge branch 'master' of https://github.com/apache/samza

commit 7887d884e8a062563a7e4b8b418d817828f51f23
Author: Boris S 
Date:   2018-08-13T06:48:39Z

Merge branch 'master' of https://github.com/apache/samza

commit afb34d916b435c1c08fe80009cc7d47d8287e27f
Author: Boris S 
Date:   2018-08-13T06:48:54Z

Merge branch 'master' of https://github.com/sborya/samza

commit 57fca52cc48a37622aa6b8b1f71a37733c378524
Author: Boris S 
Date:   2018-08-15T19:13:37Z

Merge branch 'master' of https://github.com/apache/samza

commit 7f7b5594c21e9e3ebf25d243cbf078dbf6201a0f
Author: Boris S 
Date:   2018-08-22T18:31:26Z

Merge branch 'master' of https://github.com/apache/samza

commit 8ab04b209eec4d035f126259305ae84318737d2e
Author: Boris S 
Date:   2018-08-30T18:43:21Z

Merge branch 'master' of https://github.com/apache/samza

commit add733b85f78046badd9af36ebf533d19388151c
Author: Boris S 
Date:   2018-09-05T00:23:06Z

Merge branch 'master' of https://github.com/apache/samza

commit 728dc18143618b80df6e74a373c0024ced34544b
Author: Boris S 
Date:   2018-09-07T22:17:47Z

Merge branch 'master' of https://github.com/apache/samza

commit 952dbbe20a23fc318589b62a044ac7e2cc944fc0
Author: Boris S 
Date:   2018-09-11T02:06:24Z

Merge branch 'master' of https://github.com/apache/samza

commit 927adff0b1d65baec79d8b1ca8b8e4cce63be032
Author: Boris S 
Date:   2018-09-20T16:38:51Z

Merge branch 'master' of https://github.com/apache/samza

commit ceebdc3be011d2e5e503c9fcbd9a9038feadafd2
Author: Boris S 
Date:   2018-09-25T00:07:30Z

Merge branch 'master' of https://github.com/apache/samza

commit 4f0a7460d09c8819e2e3bf4fa590942a4e70615d
Author: Boris S 
Date:   2018-09-26T01:09:00Z

Merge branch 'master' of https://github.com/apache/samza

commit cdd811d3ba874f5b370f4d3352917b2ed2f4cd23
Author: Boris S 
Date:   2018-09-26T17:16:01Z

Merge branch 'master' of https://github.com/apache/samza

commit f6966a8bf8802d8d547b62c53ea280f292694c34
Author: Boris S 
Date:   2018-09-27T21:26:25Z

Merge branch 'master' of https://github.com/apache/samza

commit 450ea2eaf411672fe72f681f9c3348c94363a577
Author: Boris S 
Date:   2018-10-01T15:53:45Z

Merge branch 'master' of https://github.com/apache/samza

commit 5f5d7a3e0531c9bf901685046a0f8fcf94596667
Author: Boris S 
Date:   2018-10-02T19:18:57Z

Merge branch 'master' of ht

[GitHub] samza pull request #837: SAMZA-2019: add Is broadcast per stream config

2018-12-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/samza/pull/837


---


[GitHub] samza pull request #790: SAMZA-1973: Unify the TaskNameGrouper interface for...

2018-12-05 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/samza/pull/790


---


[GitHub] samza pull request #622: [EXPERIMENTAL] : Handle Repartitioning of Streams

2018-12-05 Thread MayureshGharat
Github user MayureshGharat closed the pull request at:

https://github.com/apache/samza/pull/622


---


[GitHub] samza pull request #845: Supports environment variables for SqlExecutors.

2018-12-05 Thread weiqingy
GitHub user weiqingy opened a pull request:

https://github.com/apache/samza/pull/845

Supports environment variables for SqlExecutors. 

## What changes were proposed in this pull request?
1. User can now set environment variables for the shell itself and for any 
SqlExecutor, by executing the 'SET' command in the shell or by using a 
configuration file. User can also choose to use any SqlExecutor they want in 
the same way. 

2. Refine the abstraction of environment variables. New interfaces and 
abstract classes are added so the shell itself and any SqlExecutor can now give 
a specification about what variables they support, what the possible values 
are, the default value, and whether they accept unknown variables or not. The 
shell and SqlExecutors now handle environment variables in a consistent way.

## How was this patch tested?
Tested in Samza SQL shell.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/weiqingy/samza samza-shell-setdev

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/samza/pull/845.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #845


commit eda1f9219dd896b164fdadd03c75919c4d5936cb
Author: Weiqing Yang 
Date:   2018-12-05T07:16:02Z

Supports environment variables for SqlExecutors. Also refines the way of 
managing environment variables and configurations.




---


[GitHub] samza pull request #844: SAMZA-1835: Consolidate all processorId generation ...

2018-12-05 Thread shanthoosh
GitHub user shanthoosh opened a pull request:

https://github.com/apache/samza/pull/844

SAMZA-1835: Consolidate all processorId generation code.

Currently, the processorId creation function createProcessorId() is 
repeated in three different implementation of `JobCoordinator` viz 
`ZkJobCoordinator`, `PassthroughJobCoordinator`, and `AzureJobCoordinator`.  
Here're the few problems that stems from this duplication.

1. `ProcessorId` is passed into the `MetricsReporterFactory` through the 
factory create method: `MetricsReporter getMetricsReporter(String name, String 
processorId, Config config);`. Custom `MetricsReporter` implementations 
currently use the processorId as a component in the generated metric names. 
Metrics reporters are instantiated from `LocalApplicationRunner` 
and`processorId` is currently passed in as null to 
`MetricsReporterFactory.getMetricsReporter`. This corrupts the generated 
metrics names.
2. `ZkJobCoordinator`, `ZkUtils`,  `ZkLeaderElector` and different 
downstream components of `LocalApplicationRunner` currently instantiate and 
manage their private reporters, rather than the sharing common 
`MetricsRegistry` managed by `LocalApplicationRunner`. Since there is no common 
namespace and reporter shared between reported metrics,  generating metrics 
dashboards for standalone is kind of a hassle.

This PR is comprised of the following changes:

1. Moved the processorId generation to `LocalApplicationRunner` and injects 
the generated identifier to all the downstream layers.
2. Deprecated the getProcessorId API in JobCoordinator interface.
3. Add the `processorId` and `metricsRegistry` arguments to the 
`getJobCoordinator` method of `JobCoordinatorFactory` t
4. Fixed the unit tests and added unit tests for 
`LocalApplicationRunner.createProcessorId`.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/shanthoosh/samza SAMZA-1835

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/samza/pull/844.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #844


commit 6afe2b27c595b2870cc979f2f48c0af47b0fde84
Author: Shanthoosh Venkataraman 
Date:   2018-11-30T20:11:26Z

SAMZA-1835: Consolidate all processorId generation code.




---