ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Levas <rle...@hortonworks.com>
Subject Re: Review Request 43051: Increase timeout for server-side tasks
Date Mon, 01 Feb 2016 19:58:25 GMT


> On Feb. 1, 2016, 2:55 p.m., Jonathan Hurley wrote:
> > Do you also need to change ServerActionExecutor#EXECUTION_TIMEOUT_MS to use this
configuration value?

I don't thing so since that is a fallback in the even not timeout was specified by the stage.
 However I suppose it might make sense to do that.


- Robert


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43051/#review117248
-----------------------------------------------------------


On Feb. 1, 2016, 11:54 a.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43051/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2016, 11:54 a.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley, Nate Cole, and Robert Nettleton.
> 
> 
> Bugs: AMBARI-14866
>     https://issues.apache.org/jira/browse/AMBARI-14866
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Increase timeout for server-side tasks, or make the timeout configurable.
> 
> This is to help in the case where environmental issues cause Kerberos-related commands
to take longer than usual, thus increasing the time it takes to process Kerberos server-side
actions. If the Kerberos-server side actions timeout, Ambari fails the task and the user is
stuck not able to perform the desired Kerberos-related action.
> 
> #Solution
> Add property to ambari.properties (`server.task.timeout`, default value `1200`) that
is used to set the time out for server-side tasks. This value will be used when setting up
the stages for Kerberos and upgrade operations.
> 
> 
> Diffs
> -----
> 
>   ambari-server/conf/unix/ambari.properties fd1b91e 
>   ambari-server/conf/windows/ambari.properties 1dbc28a 
>   ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
d1453a0 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
a0e6ccb 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
5a6a50d 
>   ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java
67c0979 
> 
> Diff: https://reviews.apache.org/r/43051/diff/
> 
> 
> Testing
> -------
> 
> Manually tested
> 
> # Local test results: PASSED 
> 
> # Jenkins test results: PENDING
> 
> 
> Thanks,
> 
> Robert Levas
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message