Browse Source

Fix URL of Maven Central Repository

Change-Id: I7accc23d6e91ff4a525c31616033f76c07dec21e
Story: 2007996
Task: 40639
(cherry picked from commit ded80db266)
(cherry picked from commit 80c09a5c1e)
(cherry picked from commit b60f08f759)
(cherry picked from commit 04810f9523)
changes/99/749799/1
Jeremy Freudberg 1 year ago
committed by Luigi Toscano
parent
commit
9cacac6d50
  1. 2
      elements/hadoop-cdh/post-install.d/50-cdh-fixes
  2. 8
      elements/s3_hadoop/post-install.d/89-manipulate-s3

2
elements/hadoop-cdh/post-install.d/50-cdh-fixes

@ -15,7 +15,7 @@ case "$DISTRO_NAME" in
# the CDH package contains a broken symlink instead of the log4j jar file
# these 4 lines should go away once Cloudera fixes the package
echo "Fixing install problem for CDH: log4j";
wget http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar;
wget https://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar;
sudo rm /usr/lib/hadoop/lib/slf4j-log4j12-1.6.1.jar;
sudo mv slf4j-log4j12-1.6.1.jar /usr/lib/hadoop/lib/

8
elements/s3_hadoop/post-install.d/89-manipulate-s3

@ -37,9 +37,9 @@ if [ "$plugin_type" = "vanilla" ]; then
# Hadoop-aws older than 2.9.0 needs these too
cp $HADOOP_TOOLS_DIR_PATH/joda-time*.jar $HADOOP_COMMON_DIR_PATH
# The following jars are also on-disk, but under the wrong namespace
wget http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.5.3/jackson-core-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-core.jar
wget http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.5.3/jackson-databind-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-databind.jar
wget http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.5.3/jackson-annotations-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-annotations.jar
wget https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.5.3/jackson-core-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-core.jar
wget https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.5.3/jackson-databind-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-databind.jar
wget https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.5.3/jackson-annotations-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-annotations.jar
fi
fi
@ -50,5 +50,5 @@ if [ "$SPARK_HADOOP_DL" != "hadoop2.6" ]; then
# cannot copy them from the Hadoop folder on-disk due to
# version/patching issues
wget https://tarballs.openstack.org/sahara-extra/dist/common-artifacts/hadoop-aws-2.7.3.jar -O $SPARK_JARS_DIR_PATH/hadoop-aws.jar
wget http://central.maven.org/maven2/com/amazonaws/aws-java-sdk/1.7.4/aws-java-sdk-1.7.4.jar -O $SPARK_JARS_DIR_PATH/aws-java-sdk.jar
wget https://repo1.maven.org/maven2/com/amazonaws/aws-java-sdk/1.7.4/aws-java-sdk-1.7.4.jar -O $SPARK_JARS_DIR_PATH/aws-java-sdk.jar
fi

Loading…
Cancel
Save