Fix URL of Maven Central Repository
Change-Id: I7accc23d6e91ff4a525c31616033f76c07dec21e Story: 2007996 Task: 40639 (cherry picked from commitded80db266
) (cherry picked from commit80c09a5c1e
) (cherry picked from commitb60f08f759
)
This commit is contained in:
parent
cdf83a23a0
commit
04810f9523
@ -15,7 +15,7 @@ case "$DISTRO_NAME" in
|
|||||||
# the CDH package contains a broken symlink instead of the log4j jar file
|
# the CDH package contains a broken symlink instead of the log4j jar file
|
||||||
# these 4 lines should go away once Cloudera fixes the package
|
# these 4 lines should go away once Cloudera fixes the package
|
||||||
echo "Fixing install problem for CDH: log4j";
|
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 rm /usr/lib/hadoop/lib/slf4j-log4j12-1.6.1.jar;
|
||||||
sudo mv slf4j-log4j12-1.6.1.jar /usr/lib/hadoop/lib/
|
sudo mv slf4j-log4j12-1.6.1.jar /usr/lib/hadoop/lib/
|
||||||
|
|
||||||
|
@ -37,9 +37,9 @@ if [ "$plugin_type" = "vanilla" ]; then
|
|||||||
# Hadoop-aws older than 2.9.0 needs these too
|
# Hadoop-aws older than 2.9.0 needs these too
|
||||||
cp $HADOOP_TOOLS_DIR_PATH/joda-time*.jar $HADOOP_COMMON_DIR_PATH
|
cp $HADOOP_TOOLS_DIR_PATH/joda-time*.jar $HADOOP_COMMON_DIR_PATH
|
||||||
# The following jars are also on-disk, but under the wrong namespace
|
# 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 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 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 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 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-annotations/2.5.3/jackson-annotations-2.5.3.jar -O $HADOOP_COMMON_DIR_PATH/jackson-annotations.jar
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -50,5 +50,5 @@ if [ "$SPARK_HADOOP_DL" != "hadoop2.6" ]; then
|
|||||||
# cannot copy them from the Hadoop folder on-disk due to
|
# cannot copy them from the Hadoop folder on-disk due to
|
||||||
# version/patching issues
|
# 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 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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user