From cd73c335b5af7a0227e37fdffb2930dd165c9785 Mon Sep 17 00:00:00 2001 From: JulienPeloton Date: Fri, 22 Nov 2024 11:44:12 +0100 Subject: [PATCH] Install hadoop --- install/README.md | 7 +++++++ install/install_hadoop.sh | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 install/README.md create mode 100755 install/install_hadoop.sh diff --git a/install/README.md b/install/README.md new file mode 100644 index 0000000..1547c43 --- /dev/null +++ b/install/README.md @@ -0,0 +1,7 @@ +# Hadoop installation + +Execute the script to install it under `/opt`: + +```bash +./install_hadoop.sh +``` diff --git a/install/install_hadoop.sh b/install/install_hadoop.sh new file mode 100755 index 0000000..e5744d2 --- /dev/null +++ b/install/install_hadoop.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +HADOOP_VERSION=3.3.6 + +cd /opt +wget https://dlcdn.apache.org/hadoop/common/hadoop-$HADOOP_VERSION/hadoop-$HADOOP_VERSION.tar.gz +tar -xf hadoop-$HADOOP_VERSION.tar.gz +rm hadoop-$HADOOP_VERSION.tar.gz