Merge "Fix URL of Maven Central Repository"

This commit is contained in:
Zuul 2020-08-23 11:45:54 +00:00 committed by Gerrit Code Review
commit 8cbf5dbe85
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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.