You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ay...@apache.org on 2020/02/14 16:56:21 UTC
[hadoop] branch branch-2.10 updated: HDFS-15164. Fix
TestDelegationTokensWithHA. Contributed by Ayush Saxena.
This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-2.10 by this push:
new 9e34e6a HDFS-15164. Fix TestDelegationTokensWithHA. Contributed by Ayush Saxena.
9e34e6a is described below
commit 9e34e6a6e807a8b591c3eb762f73578a2cc5136b
Author: Ayush Saxena <ay...@apache.org>
AuthorDate: Fri Feb 14 22:07:24 2020 +0530
HDFS-15164. Fix TestDelegationTokensWithHA. Contributed by Ayush Saxena.
---
.../hadoop/hdfs/server/namenode/ha/TestDelegationTokensWithHA.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestDelegationTokensWithHA.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestDelegationTokensWithHA.java
index d7601d8..ed3da29 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestDelegationTokensWithHA.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestDelegationTokensWithHA.java
@@ -59,6 +59,7 @@ import java.security.PrivilegedExceptionAction;
import java.util.Collection;
import java.util.HashSet;
+import static org.apache.hadoop.hdfs.server.namenode.ha.ObserverReadProxyProvider.OBSERVER_PROBE_RETRY_PERIOD_KEY;
import static org.junit.Assert.*;
/**
@@ -122,6 +123,7 @@ public class TestDelegationTokensWithHA {
public void testObserverReadProxyProviderWithDT() throws Exception {
// Make the first node standby, so that the ORPP will try it first
// instead of just using and succeeding on the active
+ conf.setInt(OBSERVER_PROBE_RETRY_PERIOD_KEY, 0);
cluster.transitionToStandby(0);
cluster.transitionToActive(1);
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org