commit 0ab8cf16db14ed4b3da9a127e13c1d2a9ec757e1 Author: Vihang Karajgaonkar Date: Tue Jan 16 19:01:51 2018 -0800 HIVE-18461 : Fix precommit hive job diff --git a/testutils/ptest2/src/main/java/org/apache/hive/ptest/api/client/PTestClient.java b/testutils/ptest2/src/main/java/org/apache/hive/ptest/api/client/PTestClient.java index 8e2604d372ac29b94445b269f08423b058308efe..914345267da0e6bf8703d9cae8384fd9c29cbfec 100644 --- a/testutils/ptest2/src/main/java/org/apache/hive/ptest/api/client/PTestClient.java +++ b/testutils/ptest2/src/main/java/org/apache/hive/ptest/api/client/PTestClient.java @@ -283,6 +283,8 @@ private static void assertRequired(CommandLine commandLine, String[] requiredOpt } } public static void main(String[] args) throws Exception { + //TODO This line can be removed once precommit jenkins jobs move to Java 8 + System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2"); CommandLineParser parser = new GnuParser(); Options options = new Options(); options.addOption(HELP_SHORT, HELP_LONG, false, "Display help text and exit");