Browse Source

Fix URL of Maven Central Repository

Change-Id: I7accc23d6e91ff4a525c31616033f76c07dec21e
Story: 2007996
Task: 40639
(cherry picked from commit ded80db2667438313bab6d448d19ef2305f2e527)
(cherry picked from commit 80c09a5c1e275e72f1f31a86e676ff8f4fcd8b2a)
(cherry picked from commit b60f08f7599a2e01c84ca3e3958021804a50ea7c)
(cherry picked from commit 04810f9523f6201cb7f806ebecb2ba8e22c4467a)
changes/99/749799/1
Jeremy Freudberg 1 month ago
committed by Luigi Toscano
parent
commit
9cacac6d50
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      elements/hadoop-cdh/post-install.d/50-cdh-fixes
  2. +4
    -4
      elements/s3_hadoop/post-install.d/89-manipulate-s3

+ 1
- 1
elements/hadoop-cdh/post-install.d/50-cdh-fixes View File

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



+ 4
- 4
elements/s3_hadoop/post-install.d/89-manipulate-s3 View File

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