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 22:46:15 GMT

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

(Updated Feb. 1, 2016, 5:46 p.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/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 (updated)
-------

Manually tested

# Local test results: PASSED 

# Jenkins test results: 

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:27 h
[INFO] Finished at: 2016-02-01T22:29:16+00:00
[INFO] Final Memory: 136M/485M
[INFO] ------------------------------------------------------------------------


Thanks,

Robert Levas


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