sahara-image-elements/elements/swift_hadoop
Luigi Toscano 3dfcb641c0 Set DIB_CDH_MINOR_VERSION when required
Set DIB_CDH_MINOR_VERSION in diskimage-create so that it could not
be an empty value. The order of the lines where DIB_CDH_VERSION is
assigned for other CDH versions where DIB_CDH_MINOR_VERSION is not
used was changed as well for consistency.
Also, in order to try to prevent future errors, set the value of
DIB_CDH_MINOR_VERSION based on DIB_CDH_VERSION in all elements where
it is used (thanks to the ${VAR:-value} syntax which does not fail
with set -u even if DIB_CDH_MINOR_VERSION is not assigned).

Closes-Bug: #1657482
Change-Id: I31b25fd4ba886d051b9b57902cd72349a4a2dbfa
2017-01-19 19:46:57 +01:00
..
post-install.d Set DIB_CDH_MINOR_VERSION when required 2017-01-19 19:46:57 +01:00
README.rst Add hadoop openstack swift jar to plugins images 2016-03-24 19:02:11 +03:00
element-deps Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00
package-installs.yaml Start switching to declarative package-installs 2015-04-15 00:44:54 +08:00

README.rst

swift_hadoop

Install the Hadoop swift connector jar file into the image. By default, this jar file is generated from the sources available in the sahara-extras repository.

Environment Variables

swift_url
Required

No

Default

http://sahara-files.mirantis.com/hadoop-swift/hadoop-swift-latest.jar

Description

Location of the swift jar file.

DIB_HDFS_LIB_DIR
Required

No

Default

/usr/share/hadoop/lib

Description

Directory in the guest where to save the swift jar.

DIB_HADOOP_SWIFT_JAR_NAME
Required

No

Default

hadoop-openstack.jar

Description

Filename of the deployed swift jar.