Merge "missing swift lib in cdh plugin"
This commit is contained in:
commit
d10ae06bf1
@ -53,6 +53,22 @@ if [ $DIB_CDH_VERSION != "5.0" ]; then
|
||||
sqoop2
|
||||
fi
|
||||
|
||||
HADOOP_OPENSTACK_5_3_0_URL="https://repository.cloudera.com/artifactory/repo/org/apache/hadoop/hadoop-openstack/2.5.0-cdh5.3.0/hadoop-openstack-2.5.0-cdh5.3.0.jar"
|
||||
HADOOP_OPENSTACK_5_0_0_URL="https://repository.cloudera.com/artifactory/repo/org/apache/hadoop/hadoop-openstack/2.3.0-cdh5.0.0/hadoop-openstack-2.3.0-cdh5.0.0.jar"
|
||||
|
||||
dest=/usr/lib/hadoop-mapreduce/hadoop-openstack.jar
|
||||
case "$DIB_CDH_VERSION" in
|
||||
5.0)
|
||||
wget -O $dest $HADOOP_OPENSTACK_5_0_0_URL
|
||||
;;
|
||||
5.3)
|
||||
wget -O $dest $HADOOP_OPENSTACK_5_3_0_URL
|
||||
;;
|
||||
*)
|
||||
echo "Unhandled version $DIB_CDH_VERSION for hadoop-openstack.jar"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
if [ "$DISTRO_NAME" = "ubuntu" ]; then
|
||||
unset RUNLEVEL
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user