a77a9a978a
As prereq of support for S3 datasource, the hadoop-aws jar needs to be in the Hadoop classpath. The jar is copied into the proper folder when possible on the appropriate plugins, and otherwise can be provided from a download URL by the user. Additionally, set the correct value of DIB_HDFS_LIB_DIR on the Vanilla plugin to avoid any unnecessary simlinking. Partially-Implements: bp sahara-support-s3 Change-Id: I94c5b0055b87f6a4e1382118d0718e588fccfe87 |
||
---|---|---|
.. | ||
post-install.d | ||
element-deps | ||
package-installs.yaml | ||
README.rst |
s3_hadoop
Copy the Hadoop S3 connector jar file into the Hadoop classpath.
Environment Variables
- HADOOP_S3_JAR_ORIGIN
-
- Required
-
No
- Default
-
Depends on plugin.
- Description
-
Path to where the S3 jar is (already) located.
- HADOOP_S3_JAR_DOWNLOAD
-
- Required
-
No
- Default
-
None.
- Description
-
If set, use a download a specific S3 jar instead of one already available on the image.
- DIB_HDFS_LIB_DIR
-
- Required
-
No
- Default
-
/usr/share/hadoop/lib
- Description
-
Directory in the guest where to save the S3 jar. Shared with swift_hadoop.