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

(Updated Feb. 1, 2016, 4:42 p.m.)


Review request for Ambari, Jonathan Hurley, Nate Cole, and Robert Nettleton.


Changes
-------

Added logic to use configured default server-side action timeout if the 
command's timeout value is not set - in 
`org.apache.ambari.server.serveraction.ServerActionExecutor`


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 (updated)
-----

  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/main/java/org/apache/ambari/server/serveraction/ServerActionExecutor.java
 00b8a74 
  
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

Reply via email to