-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57147/
-----------------------------------------------------------
Review request for Ambari, Robert Levas, Sandor Magyari, and Sebastian Toader.
Bugs: AMBARI-20175
https://issues.apache.org/jira/browse/AMBARI-20175
Repository: ambari
Description
-------
HDFS rebalance operation can last for a long time (hours/days) thus when
triggered from the UI the command may be timed out by the Ambari server.
This behavior may confuse users, making them to trigger the rebalancer again
which will fail with "another balancer is running" error.
The patch provides support for setting a reasonably long timeout for the
rebalance custo action so that Ambari server doesnt time out the command.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
867ebff
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml
fd7f2f6
Diff: https://reviews.apache.org/r/57147/diff/
Testing
-------
Unit tests OK.
Manually tested on local dev-env.
Thanks,
Laszlo Puskas