[ 
https://issues.apache.org/jira/browse/TEZ-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084357#comment-14084357
 ] 

Thaddeus Diamond edited comment on TEZ-1370 at 8/4/14 6:37 AM:
---------------------------------------------------------------

--Actually, I prewarmed three containers, so after the DAG touches each of the 
prewarmed containers it goes back down to 1s.  I'm going to investigate if this 
is application logic or an issue with the prewarming.--

EDIT: This was an application issue.  False alarm.  The API point still 
remains, but this issue is now resolved.

[~bikassaha] and [~gopalv], should I file a new API ticket for that issue with 
the logging? Or reopen this one and you can use it to fix that issue?


was (Author: thaddeus.diamond):
Actually, I prewarmed three containers, so after the DAG touches each of the 
prewarmed containers it goes back down to 1s.  I'm going to investigate if this 
is application logic or an issue with the prewarming.

> Provide a configuration so when a session is started a set of containers are 
> started with it
> --------------------------------------------------------------------------------------------
>
>                 Key: TEZ-1370
>                 URL: https://issues.apache.org/jira/browse/TEZ-1370
>             Project: Apache Tez
>          Issue Type: Wish
>    Affects Versions: 0.5.0
>         Environment: branch -> master
> hadoop -> HDP 2.1/CDH 5.0
>            Reporter: Thaddeus Diamond
>
> This could use the existing 
> {{TezConfiguration.TEZ_AM_SESSION_MIN_HELD_CONTAINERS}} configuration or a 
> new one.
> The API would be as follows:
> {noformat}
> TezConfiguration tezConfiguration = new TezConfiguration(hadoopConfiguration);
> tezConfiguration.setBoolean(TEZ_AM_SESSION_MODE, true)
> tezConfiguration.setInt(TEZ_AM_SESSION_STARTUP_CONTAINERS, 3)
> TezClient tezClient = new TezClient("foobar", tezConfiguration);
> // The following should start 3 containers
> tezClient.start();
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to