8 lines
324 B
Plaintext
Executable File
8 lines
324 B
Plaintext
Executable File
install-packages wget
|
|
if [ -z "$swift_url" ]; then
|
|
wget -O /usr/share/hadoop/lib/hadoop-swift.jar "https://github.com/stackforge/savanna-extra/blob/master/hadoop-swift/hadoop-swift-latest.jar?raw=true"
|
|
else
|
|
wget -O /usr/share/hadoop/lib/hadoop-swift.jar $swift_url
|
|
fi
|
|
chmod 0644 /usr/share/hadoop/lib/hadoop-swift.jar
|