Re: Review Request 39806: SAMZA-798 : Performance and stability issue after combining checkpoint and coordinator stream

2015-10-30 Thread Xinyu Liu
123) <https://reviews.apache.org/r/39806/#comment162817> I think scala prefers to use the companion object as the factory to create new instance (code before change). Is there any reason for this change? - Xinyu Liu On Oct. 30, 2015, 7:09 a.m., N

Re: Review Request 39806: SAMZA-798 : Performance and stability issue after combining checkpoint and coordinator stream

2015-11-02 Thread Xinyu Liu
> On Oct. 30, 2015, 6:06 p.m., Xinyu Liu wrote: > > samza-core/src/main/scala/org/apache/samza/checkpoint/CheckpointTool.scala, > > line 132 > > <https://reviews.apache.org/r/39806/diff/1/?file=1112956#file1112956line132> > > > > I think scala pre

Review Request 41071: SAMZA-843: fix heap usage increase caused by container timer change

2015-12-07 Thread Xinyu Liu
ing --- Thanks, Xinyu Liu

Re: [VOTE] Samza 0.10.0 Release Candidate 2

2015-12-09 Thread xinyu liu
+1 on my side. I also ran the gradle build and unit tests without failure. Thanks, Xinyu On Wed, Dec 9, 2015 at 9:54 AM, Tao Feng wrote: > +1 from my side(non-binding). I download the package and successfully run > all the unit tests without failure. > > On Tue, Dec 8, 2015 at 3:38 PM, Yi Pan

Review Request 41912: SAMZA-850: Yarn Job Validation Tool

2016-01-04 Thread Xinyu Liu
org/r/41912/diff/ Testing --- Unit tests added to cover all the new methods/classes. Thanks, Xinyu Liu

Re: Review Request 43053: allow warning instead of fail in case of invalid num of partitions in the checkpoint partition

2016-02-01 Thread Xinyu Liu
-kafka/src/main/scala/org/apache/samza/util/KafkaUtil.scala (line 162) <https://reviews.apache.org/r/43053/#comment178367> nitpick: the var name of "msg1" seems not very well chosen. Shall we do warn(msg + "...") instead? - Xinyu Liu On Feb. 1, 2016, 6:25

Re: Review Request 43350: SAMZA-867 Fix job restart/shutdown in the event of a node outage.

2016-02-23 Thread Xinyu Liu
ception.java (line 27) <https://reviews.apache.org/r/43350/#comment181838> is serialVersionUID needed here? If so please use the autogenerated one. - Xinyu Liu On Feb. 23, 2016, 9:43 p.m., Jake Maes wrote: > > --- &g

Re: Understand Samza default metrics

2016-02-23 Thread xinyu liu
Hi, David, I didn't find a wiki page that contains the descriptions of all Samza metrics. You can find the basic metrics by googling the following classes: SamzaContainerMetrics, TaskInstanceMetrics, SystemConsumersMetrics and SystemProducersMetrics. For your example, you can use the "process-call

Re: Understand Samza default metrics

2016-02-24 Thread Xinyu Liu
ss null > messages. So I don't trust the accuracy of that metric. > > Each metric emitted by Samza contains a header which includes job name, > job > id, container name and metric timestamp. You can use it to calculate > messages per second values. > > If you are using K

Re: [DISCUSS] Re-thinking the Samza Job Coordinator

2016-03-02 Thread xinyu liu
This is awesome! Samza will be able to run standalone or on different kinds of clusters, which can serve a wide range of applications. Glad to see this is happening. Thanks, Xinyu On Tue, Mar 1, 2016 at 8:48 AM, Jagadish Venkatraman wrote: > Hi all, > > Currently, the only way to run distribute

Review Request 48182: SAMZA-958: Make store/cache thread safe

2016-06-02 Thread Xinyu Liu
/scala/org/apache/samza/storage/kv/TestKeyValueStores.scala 23f8a1a6bee8ef38e0640a4e90778e53d982deeb Diff: https://reviews.apache.org/r/48182/diff/ Testing --- Unit tests and local deployment. Thanks, Xinyu Liu

Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-03 Thread Xinyu Liu
/TestKafkaSystemProducer.scala 8e32bba6ced090f0fc8d4e5176fe0788df36981d Diff: https://reviews.apache.org/r/48213/diff/ Testing --- Unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48182: SAMZA-958: Make store/cache thread safe

2016-06-03 Thread Xinyu Liu
Unit tests and local deployment. Thanks, Xinyu Liu

Re: Review Request 48182: SAMZA-958: Make store/cache thread safe

2016-06-03 Thread Xinyu Liu
-- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48182/#review136075 ------- On June 3, 2016, 9:30 p.m., Xinyu Liu wrote: > > ---

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-03 Thread Xinyu Liu
.java 04c9113fd6c3dd56c49ff46c8c1c0ff12f68e5e2 samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemProducer.scala 8e32bba6ced090f0fc8d4e5176fe0788df36981d Diff: https://reviews.apache.org/r/48213/diff/ Testing --- Unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-03 Thread Xinyu Liu
g the producer will get the error of closed producer, instead of NPE. - Xinyu --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48213/#review136097 ----------

Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-06-03 Thread Xinyu Liu
/scala/org/apache/samza/system/TestSystemConsumers.scala 09da62e0f9a10f7c3683345a309c6278ff01fb4b Diff: https://reviews.apache.org/r/48243/diff/ Testing --- unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-07 Thread Xinyu Liu
of volatile reads you need to make. Right, a simple null check should do it. Thanks for the suggestion. - Xinyu --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48213/#review136338 --- On June

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-07 Thread Xinyu Liu
04c9113fd6c3dd56c49ff46c8c1c0ff12f68e5e2 samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemProducer.scala 8e32bba6ced090f0fc8d4e5176fe0788df36981d Diff: https://reviews.apache.org/r/48213/diff/ Testing --- Unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-08 Thread Xinyu Liu
/org/apache/samza/system/kafka/TestKafkaSystemProducer.scala 8e32bba6ced090f0fc8d4e5176fe0788df36981d Diff: https://reviews.apache.org/r/48213/diff/ Testing --- Unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-06-08 Thread Xinyu Liu
- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48213/#review136654 --- On June 8, 2016, 11:53 p.m., Xinyu Liu wrote: > > ---

Re: Review Request 48182: SAMZA-958: Make store/cache thread safe

2016-06-08 Thread Xinyu Liu
Unit tests and local deployment. Thanks, Xinyu Liu

Re: Review Request 48182: SAMZA-958: Make store/cache thread safe

2016-06-08 Thread Xinyu Liu
To reply, visit: https://reviews.apache.org/r/48182/#review136335 ------- On June 9, 2016, 12:33 a.m., Xinyu Liu wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 48182: SAMZA-958: Make store/cache thread safe

2016-06-08 Thread Xinyu Liu
2/?file=1406146#file1406146line109> > > > > nit: unused variable? Good catch! Removed it. - Xinyu --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48182/#

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-06-09 Thread Xinyu Liu
28e78 samza-core/src/test/scala/org/apache/samza/system/TestSystemConsumers.scala 09da62e0f9a10f7c3683345a309c6278ff01fb4b Diff: https://reviews.apache.org/r/48243/diff/ Testing --- unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-06-09 Thread Xinyu Liu
rc/main/scala/org/apache/samza/container/RunLoop.scala, lines > > 73-77 > > <https://reviews.apache.org/r/48243/diff/1/?file=1406265#file1406265line73> > > > > Same comment as for the async run loop. Fixed. As commented above. - Xinyu -

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-06-15 Thread Xinyu Liu
ystem/TestSystemConsumers.scala 09da62e0f9a10f7c3683345a309c6278ff01fb4b Diff: https://reviews.apache.org/r/48243/diff/ Testing --- unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-06-15 Thread Xinyu Liu
omatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48243/#review137543 ------- On June 15, 2016, 11:41 p.m., Xinyu Liu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-06-15 Thread Xinyu Liu
same comment on the last pass. I don't understand how this is > supposed to work. Might be worth discussing this in person with Xinyu and > then either fixing the code or the doc as appropriate. Thanks both of you to catch this. I messed up the code during the task state refactoring. Now the lo

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-07-11 Thread Xinyu Liu
/ Testing --- unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 49877: SAMZA-972: Holistic memory monitoring for SamzaContainer

2016-07-11 Thread Xinyu Liu
/samza/container/host/ProcfsBasedStatisticsMonitor.java (line 177) <https://reviews.apache.org/r/49877/#comment207134> Do you think we should catch all the throwable here to prevent the thread being killed? - Xinyu Liu On July 11, 2016, 6:57 a.m., Jagadish Venkatraman

Re: Review Request 48243: SAMZA-961: Async tasks and multithreading model

2016-07-12 Thread Xinyu Liu
-core/src/test/scala/org/apache/samza/system/TestSystemConsumers.scala 09da62e0f9a10f7c3683345a309c6278ff01fb4b Diff: https://reviews.apache.org/r/48243/diff/ Testing --- unit tests and local testing. Thanks, Xinyu Liu

Re: Review Request 48213: SAMZA-960: Make system producer thread safe

2016-07-13 Thread Xinyu Liu
/samza/system/kafka/TestKafkaSystemProducer.scala 8e32bba6ced090f0fc8d4e5176fe0788df36981d Diff: https://reviews.apache.org/r/48213/diff/ Testing --- Unit tests and local testing. Thanks, Xinyu Liu

Review Request 50056: Multithreading changes

2016-07-14 Thread Xinyu Liu
96eb5faf5c2a6f8b4271a5ed16e709015d78bab0 samza-test/src/test/scala/org/apache/samza/storage/kv/TestKeyValueStores.scala fd4e7624afced0df104d4a90539149197b93808b Diff: https://reviews.apache.org/r/50056/diff/ Testing --- Tested in yarn. Thanks, Xinyu Liu

Re: Review Request 50082: SAMZA-973: Disk Quotas: clamp max delay, better measure processing time

2016-07-15 Thread Xinyu Liu
/samza/container/RunLoop.scala (line 79) <https://reviews.apache.org/r/50082/#comment208023> Shall we move this line in the process() function? - Xinyu Liu On July 15, 2016, 7:59 p.m., Chris Pettitt wrote: > > ---

Re: Review Request 50143: Support the notion of 'end-of-stream' in Samza when consuming from finite sources

2016-07-18 Thread Xinyu Liu
is thread safe since we might have multiple threads for a task. - Xinyu Liu On July 18, 2016, 4:29 p.m., Jagadish Venkatraman wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 50056: Multithreading changes

2016-07-18 Thread Xinyu Liu
/TestKeyValueStores.scala fd4e7624afced0df104d4a90539149197b93808b Diff: https://reviews.apache.org/r/50056/diff/ Testing --- Tested in yarn. Thanks, Xinyu Liu

Re: Review Request 50056: SAMZA-863: Multithreading changes

2016-07-18 Thread Xinyu Liu
/ Testing --- Tested in yarn. Thanks, Xinyu Liu

Re: Review Request 50056: SAMZA-863: Multithreading changes

2016-07-18 Thread Xinyu Liu
--- Tested in yarn. Thanks, Xinyu Liu

Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-07-18 Thread Xinyu Liu
116238312df7071747cbbc14bc9c46f558755195 docs/learn/documentation/versioned/jobs/configuration-table.html 54c52981c3055b398ee60af50eeaf2592ed0e64f Diff: https://reviews.apache.org/r/50174/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 50056: SAMZA-863: Multithreading changes

2016-07-19 Thread Xinyu Liu
--- Tested in yarn. Thanks, Xinyu Liu

Review Request 50318: SAMZA-979: Fix for KafkaCheckpointMigration not registering source correctly

2016-07-21 Thread Xinyu Liu
5d2641ab1e54d49f7b983bc526762cfb50f2911b Diff: https://reviews.apache.org/r/50318/diff/ Testing --- Tested by locally deployed jobs. Passed gradle tests. Thanks, Xinyu Liu

Re: Review Request 50318: SAMZA-979: Remove KafkaCheckpointMigration

2016-07-25 Thread Xinyu Liu
/50318/diff/ Testing --- Tested by locally deployed jobs. Passed gradle tests. Thanks, Xinyu Liu

Re: Review Request 50318: SAMZA-979: Remove KafkaCheckpointMigration

2016-07-26 Thread Xinyu Liu
To reply, visit: https://reviews.apache.org/r/50318/#review143446 ------- On July 25, 2016, 9:29 p.m., Xinyu Liu wrote: > > --- > This is an automatically generated e-mail.

Review Request 50451: SAMZA-981: Set consistent Kafka clientId for a job instance

2016-07-26 Thread Xinyu Liu
--- gradle build & tests Thanks, Xinyu Liu

Re: Review Request 50451: SAMZA-981: Set consistent Kafka clientId for a job instance

2016-07-26 Thread Xinyu Liu
-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemConsumer.scala ece0359d1a31e65113f4832dd3baddb788cecef4 Diff: https://reviews.apache.org/r/50451/diff/ Testing --- gradle build & tests Thanks, Xinyu Liu

Re: Review Request 50451: SAMZA-981: Set consistent Kafka clientId for a job instance

2016-07-26 Thread Xinyu Liu
onfig/TestKafkaConfig.scala c4a83f60cf049e6fd65f940b69674895d07ab871 samza-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemConsumer.scala ece0359d1a31e65113f4832dd3baddb788cecef4 Diff: https://reviews.apache.org/r/50451/diff/ Testing --- gradle build & tests Thanks, Xinyu Liu

Re: Review Request 50451: SAMZA-981: Set consistent Kafka clientId for a job instance

2016-07-26 Thread Xinyu Liu
-kafka/src/test/scala/org/apache/samza/system/kafka/TestKafkaSystemConsumer.scala ece0359d1a31e65113f4832dd3baddb788cecef4 Diff: https://reviews.apache.org/r/50451/diff/ Testing --- gradle build & tests Thanks, Xinyu Liu

Re: 0.10.1 Release

2016-07-27 Thread xinyu liu
Yes, it is undergoing. We were blocked by the integration tests ( https://issues.apache.org/jira/browse/SAMZA-970) and other issues for a while. Now we got a fix for the tests and I will submit a patch today. The rest of release should be quick. I will sync with Navina with an ETA. Sorry about the

Review Request 50527: SAMZA-970: fix integration tests

2016-07-27 Thread Xinyu Liu
/samza_job_yarn_deployer.py 38635ca5899c43fb61d6b4042e8543f0508fd41b Diff: https://reviews.apache.org/r/50527/diff/ Testing --- run integration tests and now they work fine. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-07-27 Thread Xinyu Liu
/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-07-27 Thread Xinyu Liu
. True, my doc was overly simplified. I added more details. Please take a look. - Xinyu ------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50174/#review142985 --- On July 27, 2016, 11:05 p.m., X

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-07-27 Thread Xinyu Liu
9> Please take a look at this again. - Xinyu Liu On July 27, 2016, 11:05 p.m., Xinyu Liu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 50583: SAMZA-954 Improve logging for Samza

2016-07-28 Thread Xinyu Liu
#x27;s better to have: Logging.info((message, startupLog:boolean=false) => Any) That way we can use info log for both startup and non startup logging, and potentially adding it for debug and error in the future too. - Xinyu Liu On July 28, 2016, 8:

Review Request 50588: SAMZA-982: Add null check for offset update in OffsetManager

2016-07-28 Thread Xinyu Liu
scala 75ba8af7cdda6b297abaa3dbb99c98b406e31f88 Diff: https://reviews.apache.org/r/50588/diff/ Testing --- tested by unit tests and verifed also in hello-samza jobs. Thanks, Xinyu Liu

Review Request 50590: Update jackson version in hello-samza to match samza

2016-07-28 Thread Xinyu Liu
://reviews.apache.org/r/50590/diff/ Testing --- Tested by running hello-world and check the output. Thanks, Xinyu Liu

Re: Review Request 50527: SAMZA-970: fix integration tests

2016-07-29 Thread Xinyu Liu
/diff/ Testing --- run integration tests and now they work fine. Thanks, Xinyu Liu

Re: [DISCUSS] [VOTE] Apache Samza 0.10.1 RC0

2016-08-01 Thread xinyu liu
+1 (non-binding). Thanks, Xinyu On Mon, Aug 1, 2016 at 11:41 AM, Jagadish Venkatraman < jagadish1...@gmail.com> wrote: > Thanks for driving this release.+1 approve (non-binding) > > Thanks, > Jagadish > > On Mon, Aug 1, 2016 at 11:39 AM, Navina Ramesh > > wrote: > > > Hey all, > > > > This is a

Re: Review Request 50670: SAMZA-991: Continue to report SamzaAppMasterMetrics

2016-08-01 Thread Xinyu Liu
ations. Could you please take a look? Thanks. - Xinyu Liu On Aug. 1, 2016, 9:07 p.m., Jagadish Venkatraman wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 50670: SAMZA-991: Continue to report SamzaAppMasterMetrics

2016-08-01 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50670/#review144393 --- Ship it! +1 - Xinyu Liu On Aug. 1, 2016, 10:21 p.m

Re: Review Request 50682: SAMZA-993 Fix logging bug for some scala versions

2016-08-01 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50682/#review144417 --- Ship it! +1. thanks for the quick fix! - Xinyu Liu On Aug

Review Request 51225: SAMZA-1003: Restore lazy init for kafka system producer

2016-08-18 Thread Xinyu Liu
/diff/ Testing --- Tested in local deployment and the system producer defined but not used was not be inited. Thanks, Xinyu Liu

Review Request 51252: SAMZA-1004: Fix some logging and javadoc issues for AsyncStreamTask

2016-08-19 Thread Xinyu Liu
/SamzaContainer.scala f786fc08c8f7eced4f4084dc8326b28b6422 Diff: https://reviews.apache.org/r/51252/diff/ Testing --- Thanks, Xinyu Liu

Re: Review Request 51252: SAMZA-1004: Fix some logging and javadoc issues for AsyncStreamTask

2016-08-19 Thread Xinyu Liu
/apache/samza/container/SamzaContainer.scala f786fc08c8f7eced4f4084dc8326b28b6422 Diff: https://reviews.apache.org/r/51252/diff/ Testing (updated) --- gradlew clean build. Thanks, Xinyu Liu

[DISCUSS] Samza 0.11.0 release

2016-08-22 Thread xinyu liu
Hi, All, There have been quite a lot of new features added to master since 0.10 release to warrant a new major release. At LinkedIn, we've done functional and performance testing against master in the past weeks, and deployed jobs with the latest build in production. We will continue to test for s

Re: Review Request 51346: SAMZA-974 - Support finite datasources in Samza that have a notion of End-Of-Stream

2016-08-24 Thread Xinyu Liu
syncRunLoop.java (line 605) <https://reviews.apache.org/r/51346/#comment213289> if(endOfStream) ... samza-core/src/main/scala/org/apache/samza/system/SystemConsumers.scala (line 355) <https://reviews.apache.org/r/51346/#comment213294> No need for this logic since AsyncRunLoop won&#x

Re: Review Request 51346: SAMZA-974 - Support finite datasources in Samza that have a notion of End-Of-Stream

2016-08-26 Thread Xinyu Liu
eam. Let's chat offline. - Xinyu Liu On Aug. 25, 2016, 11:52 p.m., Jagadish Venkatraman wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 51346: SAMZA-974 - Support finite datasources in Samza that have a notion of End-Of-Stream

2016-08-29 Thread Xinyu Liu
ed since no invoke anymore, right? - Xinyu Liu On Aug. 29, 2016, 11:47 p.m., Jagadish Venkatraman wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-08-29 Thread Xinyu Liu
/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-08-29 Thread Xinyu Liu
1 once AsyncRunLoop is fully stablized. - Xinyu Liu On Aug. 30, 2016, 12:49 a.m., Xinyu Liu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-08-29 Thread Xinyu Liu
use AsyncStreamTask by default? > > Esp. on jobs that don't need any async processing. > > Why is the default value false? > > > > If users upgrade to the new version and automatically start using > > multithreaded execution, will they see any performance impact? The default of new AsyncRunLoop is still

Re: Review Request 51252: SAMZA-1004: Fix some logging and javadoc issues for AsyncStreamTask

2016-08-30 Thread Xinyu Liu
/main/scala/org/apache/samza/container/SamzaContainer.scala f786fc08c8f7eced4f4084dc8326b28b6422 Diff: https://reviews.apache.org/r/51252/diff/ Testing --- gradlew clean build. Thanks, Xinyu Liu

Re: [DISCUSS] End of Stream Feature in Samza

2016-08-30 Thread xinyu liu
It's very exciting that Samza is adding support of bounded input streams. Nice write-up of different scenarios and options. Look forward to having this feature work with the upcoming HDFS consumer! Thanks, Xinyu On Tue, Aug 30, 2016 at 12:09 PM, Jagadish Venkatraman < jagadish1...@gmail.com> wrot

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-07 Thread Xinyu Liu
r job.container.thread.pool.size, task.callback.timeout.ms and > > task.max.concurrency This config is pretty awkward (so is the name). It's just for fallback to old runloop if there is any issue with the new AsyncRunLoop. So I don't expect users to set it no

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-07 Thread Xinyu Liu
/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 51346: SAMZA-974 - Support finite datasources in Samza that have a notion of End-Of-Stream

2016-09-08 Thread Xinyu Liu
1) <https://reviews.apache.org/r/51346/#comment215659> seems this is only needed for unit test. Please move the code to scala test. - Xinyu Liu On Sept. 6, 2016, 4:02 p.m., Jagadish Venkatraman wrote: > > --- > This is an

Re: Review Request 51346: SAMZA-974 - Support finite datasources in Samza that have a notion of End-Of-Stream

2016-09-08 Thread Xinyu Liu
/SystemConsumers.scala (line 207) <https://reviews.apache.org/r/51346/#comment215701> nit: no ";" at the end for scala - Xinyu Liu On Sept. 6, 2016, 4:02 p.m., Jagadish Venkatraman wrote: > > --- > This is an automatic

Re: Review Request 51819: SAMZA-1015 Add support for streams, Lambdas and other JDK 8 like features in checkstyle

2016-09-12 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51819/#review148585 --- Ship it! Ship It! - Xinyu Liu On Sept. 12, 2016, 7:28 p.m

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-13 Thread Xinyu Liu
sting --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-13 Thread Xinyu Liu
Good catch! Thanks! - Xinyu --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50174/#review148041 --- On Sept

Re: Review Request 51934: reopen a Kafka system producer if send called again

2016-09-15 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51934/#review149131 --- Ship it! Thanks for the fix! - Xinyu Liu On Sept. 15, 2016

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-16 Thread Xinyu Liu
.html 54c52981c3055b398ee60af50eeaf2592ed0e64f docs/learn/tutorials/versioned/index.md b4d687a63638aca4f876af88556de9973acfd718 docs/learn/tutorials/versioned/samza-async-user-guide.md PRE-CREATION Diff: https://reviews.apache.org/r/50174/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-16 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50174/#review148826 ----------- On Sept. 16, 2016, 5:33 p.m., Xinyu Liu wrote: > > --- > This

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-16 Thread Xinyu Liu
sit: https://reviews.apache.org/r/50174/#review148824 --- On Sept. 16, 2016, 5:33 p.m., Xinyu Liu wrote: > > --- > This is an automatically generated e-mail. To re

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-16 Thread Xinyu Liu
b4d687a63638aca4f876af88556de9973acfd718 docs/learn/tutorials/versioned/samza-async-user-guide.md PRE-CREATION Diff: https://reviews.apache.org/r/50174/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Review Request 51962: SAMZA-1021 Remove the redundent poll waiting inside AsyncRunLoop blockIfBusy

2016-09-16 Thread Xinyu Liu
.java a510bb0c5914c772438930d27f100b4d360c1296 Diff: https://reviews.apache.org/r/51962/diff/ Testing --- Tested by yarn job. Thanks, Xinyu Liu

Re: Review Request 51962: SAMZA-1021 Remove the redundent poll waiting inside AsyncRunLoop blockIfBusy

2016-09-16 Thread Xinyu Liu
ck_ns are high at the same time. Diffs - samza-core/src/main/java/org/apache/samza/task/AsyncRunLoop.java a510bb0c5914c772438930d27f100b4d360c1296 Diff: https://reviews.apache.org/r/51962/diff/ Testing --- Tested by yarn job. Thanks, Xinyu Liu

Re: Review Request 51962: SAMZA-1021 Remove the redundent poll waiting inside AsyncRunLoop blockIfBusy

2016-09-16 Thread Xinyu Liu
block_ns are high at the same time. Diffs - samza-core/src/main/java/org/apache/samza/task/AsyncRunLoop.java a510bb0c5914c772438930d27f100b4d360c1296 Diff: https://reviews.apache.org/r/51962/diff/ Testing --- Tested by yarn job. Thanks, Xinyu Liu

Re: Review Request 51962: SAMZA-1021 Remove the redundent poll waiting inside AsyncRunLoop blockIfBusy

2016-09-16 Thread Xinyu Liu
/main/java/org/apache/samza/task/AsyncRunLoop.java a510bb0c5914c772438930d27f100b4d360c1296 Diff: https://reviews.apache.org/r/51962/diff/ Testing --- Tested by yarn job. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-19 Thread Xinyu Liu
.html 54c52981c3055b398ee60af50eeaf2592ed0e64f docs/learn/tutorials/versioned/index.md b4d687a63638aca4f876af88556de9973acfd718 docs/learn/tutorials/versioned/samza-async-user-guide.md PRE-CREATION Diff: https://reviews.apache.org/r/50174/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-19 Thread Xinyu Liu
() will always be invoked from a single thread (for all tasks). The reason being asynchronous calls will not require threads blocking on the calls. The callback can be invoked from multiple threads. Samza controls when to invoke processAsync()/window()/commit() for each task. - Xinyu -

Re: Review Request 52133: reopen a Kafka system producer if send called again

2016-09-21 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52133/#review149925 --- Ship it! Ship It! - Xinyu Liu On Sept. 21, 2016, 8:36 p.m

Re: Review Request 52140: added docs for split deployment

2016-09-21 Thread Xinyu Liu
ease, can we use 0.11.0 acrose all examples here? docs/learn/documentation/versioned/operations/split-deployment.md (line 113) <https://reviews.apache.org/r/52140/#comment217715> I think we need to mention the framework libraries needed to be placed to each node in the cluster. -

Re: Review Request 50174: SAMZA-977: User doc for samza multithreading

2016-09-22 Thread Xinyu Liu
docs/learn/tutorials/versioned/index.md ca2b08fb02a83f72f804c4059f258253c046a1b6 docs/learn/tutorials/versioned/samza-async-user-guide.md PRE-CREATION Diff: https://reviews.apache.org/r/50174/diff/ Testing --- Test the web pages locally. Thanks, Xinyu Liu

Re: Review Request 52140: added docs for split deployment

2016-09-22 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52140/#review150101 --- Ship it! Ship It! - Xinyu Liu On Sept. 22, 2016, 11:38 p.m

Re: Review Request 52140: added docs for split deployment

2016-09-26 Thread Xinyu Liu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/52140/#review150500 --- Ship it! Ship It! - Xinyu Liu On Sept. 27, 2016, 12:58 a.m

Review Request 52400: SAMZA-995: Remove configs deprecated in 0.10.* release and update configs

2016-09-29 Thread Xinyu Liu
/learn/tutorials/versioned/remote-debugging-samza.md ad1d04d835f10aeb6996d2ecbee1d0ae65eb98e9 Diff: https://reviews.apache.org/r/52400/diff/ Testing --- Thanks, Xinyu Liu

Review Request 52401: SAMZA-995: Remove configs deprecated in 0.10.* release and update configs

2016-09-29 Thread Xinyu Liu
/KafkaCheckpointManager.scala ea10cae82f2900c185c8c814f48dc02bbcb45621 samza-kafka/src/test/scala/org/apache/samza/checkpoint/kafka/TeskKafkaCheckpointLogKey.scala c360b6c74ff924311f350df2e49424351a5c8d07 Diff: https://reviews.apache.org/r/52401/diff/ Testing --- ./gradlew build Thanks, Xinyu Liu

Re: Review Request 52401: SAMZA-995: Remove configs deprecated in 0.10.* release and update configs

2016-09-29 Thread Xinyu Liu
--- ./gradlew build Thanks, Xinyu Liu

Review Request 52402: SAMZA-1020: Remove some deprecated interfaces from 0.10 version

2016-09-29 Thread Xinyu Liu
ea10cae82f2900c185c8c814f48dc02bbcb45621 samza-kafka/src/test/scala/org/apache/samza/checkpoint/kafka/TeskKafkaCheckpointLogKey.scala c360b6c74ff924311f350df2e49424351a5c8d07 Diff: https://reviews.apache.org/r/52402/diff/ Testing --- ./gradlew build Thanks, Xinyu Liu

  1   2   3   >