diff --git a/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java b/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java index 00196a20e9..0261ff4b66 100644 --- a/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java +++ b/tez-tests/src/test/java/org/apache/tez/test/TestSecureShuffle.java @@ -138,6 +138,8 @@ public void setupTezCluster() throws Exception { setupKeyStores(); } conf.setBoolean(MRConfig.SHUFFLE_SSL_ENABLED_KEY, enableSSLInCluster); + //Hadoop 2.7 has only TLSv1 as enabled protocol which is not supported anymore so the protocol list needs extension + conf.set(SSLFactory.SSL_ENABLED_PROTOCOLS, "TLSv1,SSLv2Hello,TLSv1.1,TLSv1.2"); // 3 seconds should be good enough in local machine conf.setInt(TezRuntimeConfiguration.TEZ_RUNTIME_SHUFFLE_CONNECT_TIMEOUT, 3 * 1000);