From 1eb866f6460838766b5505b904ef1998a5971e6f Mon Sep 17 00:00:00 2001 From: Jeremy Freudberg Date: Mon, 10 Aug 2020 09:51:46 -0400 Subject: [PATCH] Fix URL of Maven Central Repository Change-Id: I180216b76d8010462312c1101ddd9761971dec11 Story: 2007996 Task: 40635 --- sahara_tests/scenario/custom_checks/check_kafka.py | 2 +- .../scenario/defaults/edp-examples/edp-spark/README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sahara_tests/scenario/custom_checks/check_kafka.py b/sahara_tests/scenario/custom_checks/check_kafka.py index 80f66b64..d8c922fa 100644 --- a/sahara_tests/scenario/custom_checks/check_kafka.py +++ b/sahara_tests/scenario/custom_checks/check_kafka.py @@ -89,7 +89,7 @@ class CustomCheckKafka(object): def _prepare_spark_kafka_job_running(self, shs): ip = self._get_node_ip(shs) utils_url = ( - "http://central.maven.org/maven2/org/apache/spark" + "https://repo1.maven.org/maven2/org/apache/spark" "/spark-streaming-kafka-assembly_2.10/1.4.1" "/spark-streaming-kafka-assembly_2.10-1.4.1.jar") # try to search spark-kafka assembly utils diff --git a/sahara_tests/scenario/defaults/edp-examples/edp-spark/README.rst b/sahara_tests/scenario/defaults/edp-examples/edp-spark/README.rst index 0f222828..0cbf1d47 100644 --- a/sahara_tests/scenario/defaults/edp-examples/edp-spark/README.rst +++ b/sahara_tests/scenario/defaults/edp-examples/edp-spark/README.rst @@ -54,7 +54,7 @@ Launching spark-kafka-example and ``path`` with your own values. 2. Download the Spark Streaming utils to the node with your ``Spark History Server`` from this URL: - ``http://central.maven.org/maven2/org/apache/spark/spark-streaming-kafka-assembly_2.10/1.4.1/spark-streaming-kafka-assembly_2.10-1.4.1.jar``. + ``https://repo1.maven.org/maven2/org/apache/spark/spark-streaming-kafka-assembly_2.10/1.4.1/spark-streaming-kafka-assembly_2.10-1.4.1.jar``. Now you are ready to launch your job from sahara UI. 3. Create a job binary that points to ``spark-kafka-example.py``. Also you need to create a job that uses this job binary as a main binary.