Fix the installation of Swift Hadoop connector (Ambari)
The default value of the URL lacks the file name.
Also, fix another wrong URL which should be used as fallback,
even if it is in fact never used thanks to the default value.
Story: 2001961
Task: 15083
Change-Id: I73ec63e65313cf8764197f9e98f538e66d7f629b
(cherry picked from commit 6edd2201a5
)
This commit is contained in:
parent
7b724b2e4a
commit
f8f4d45ab4
|
@ -4,7 +4,7 @@ hadoop="2.7.1"
|
|||
|
||||
HDFS_LIB_DIR=${hdfs_lib_dir:-"/usr/share/hadoop/lib"}
|
||||
JAR_BUILD_DATE="2016-03-17"
|
||||
SWIFT_LIB_URI="https://tarballs.openstack.org/sahara-extra/dist/hadoop-openstack/hadoop-openstack-${hadoop}.jar"
|
||||
SWIFT_LIB_URI="https://tarballs.openstack.org/sahara-extra/dist/hadoop-openstack/master/hadoop-openstack-${hadoop}.jar"
|
||||
HADOOP_SWIFT_JAR_NAME=hadoop-openstack.jar
|
||||
|
||||
if [ ! -f $HDFS_LIB_DIR/$HADOOP_SWIFT_JAR_NAME ]; then
|
||||
|
|
|
@ -17,7 +17,7 @@ arguments:
|
|||
description: The path to HDFS lib. Defaults to /opt.
|
||||
required: False
|
||||
swift_url:
|
||||
default: https://tarballs.openstack.org/sahara-extra/dist/hadoop-openstack/master/
|
||||
default: https://tarballs.openstack.org/sahara-extra/dist/hadoop-openstack/master/hadoop-openstack-2.7.1.jar
|
||||
description: Location of the swift jar file.
|
||||
required: False
|
||||
|
||||
|
|
Loading…
Reference in New Issue