Repository: hive Updated Branches: refs/heads/master 78d5572f8 -> 798a17c67
HIVE-18461 : Fix precommit hive job (Vihang Karajgaonkar) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/798a17c6 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/798a17c6 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/798a17c6 Branch: refs/heads/master Commit: 798a17c679fc04e5a20b15675b6883f52a26ea57 Parents: 78d5572 Author: Vihang Karajgaonkar <vih...@cloudera.com> Authored: Tue Jan 16 19:11:43 2018 -0800 Committer: Vihang Karajgaonkar <vih...@cloudera.com> Committed: Tue Jan 16 19:11:43 2018 -0800 ---------------------------------------------------------------------- .../main/java/org/apache/hive/ptest/api/client/PTestClient.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/798a17c6/testutils/ptest2/src/main/java/org/apache/hive/ptest/api/client/PTestClient.java ---------------------------------------------------------------------- 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 8e2604d..9143452 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 @@ public class PTestClient { } } 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");