samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Riccomini <>
Subject Re: changing the number of containers in a Samza Job
Date Wed, 11 Dec 2013 17:32:09 GMT
Hey sgg,

Yes, you can change the container count to any number where 1 <= container
count <= max input partitions. The configuration to make this change is:


All config in Samza is resolved at job start time, and remains immutable
for the remainder of the job execution, so you can't dynamically change
the container count. You need to restart the Samza job to update the


On 12/11/13 8:47 AM, "sgg" <> wrote:

>A part of the documentation
>k-runner.html) suggests it ?might? be possible to change the number of
>containers allocated to a job:
>	"Your Samza job might be unable to keep up with only one container, so
>you ask for a second YARN container to put some of the StreamTask
>How does one ask for a second YARN container?  Is it a matter of stoping
>the job, changing the configuration and starting a new job?  or is there
>some way to do this without starting a job?

View raw message