YARN-1454. Fixed test failure issue with TestRMRestart. Contributed by Karthik Kambatla.
svn merge --ignore-ancestry -c 1547651 ../../trunk/ git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1547653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cf465c26a8
commit
2e30ca92f3
|
@ -179,6 +179,9 @@ Release 2.4.0 - UNRELEASED
|
|||
YARN-895. Changed RM state-store to not crash immediately if RM restarts while
|
||||
the state-store is down. (Jian He via vinodkv)
|
||||
|
||||
YARN-1454. Fixed test failure issue with TestRMRestart. (Karthik Kambatla
|
||||
via vinodkv)
|
||||
|
||||
Release 2.3.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1247,6 +1247,8 @@ public class TestRMRestart {
|
|||
// renewDate before renewing
|
||||
Long renewDateBeforeRenew = allTokensRM2.get(dtId1);
|
||||
try{
|
||||
// Sleep for one millisecond to make sure renewDataAfterRenew is greater
|
||||
Thread.sleep(1);
|
||||
// renew recovered token
|
||||
rm2.getRMDTSecretManager().renewToken(token1, "renewer1");
|
||||
} catch(Exception e) {
|
||||
|
|
Loading…
Reference in New Issue