Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Hadoop #63

Open
tylerpotts opened this issue Mar 23, 2021 · 0 comments
Open

Install Hadoop #63

tylerpotts opened this issue Mar 23, 2021 · 0 comments

Comments

@tylerpotts
Copy link
Contributor

tylerpotts commented Mar 23, 2021

Hadoop will be installed on the cluster when the following flag is set in group_vars/all.yaml

bodo:
  enabled: true

This is a script provided by bodo to install hadoop

      "conda install --quiet --yes adlfs -c conda-forge",
      "apt-get install -y openjdk-11-jre-headless",
      "cd /opt",
      "wget https://mirrors.sonic.net/apache/hadoop/common/hadoop-3.3.0/hadoop-3.3.0.tar.gz",
      "tar xf hadoop-3.3.0.tar.gz",
      "rm hadoop-3.3.0.tar.gz",
      "echo \"export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_HOME=/opt/hadoop-3.3.0\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_INSTALL=\\$HADOOP_HOME\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_MAPRED_HOME=\\$HADOOP_HOME\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_COMMON_HOME=\\$HADOOP_HOME\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_HDFS_HOME=\\$HADOOP_HOME\" >> /etc/bash.bashrc",
      "echo \"export YARN_HOME=\\$HADOOP_HOME\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_COMMON_LIB_NATIVE_DIR=\\$HADOOP_HOME/lib/native\" >> /etc/bash.bashrc",
      "echo \"export PATH=\\$PATH:\\$HADOOP_HOME/sbin:\\$HADOOP_HOME/bin\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_OPTS='-Djava.library.path=/opt/hadoop-3.3.0/lib/native'\" >> /etc/bash.bashrc",
      "echo \"export HADOOP_OPTIONAL_TOOLS=hadoop-azure\" >> /etc/bash.bashrc",
      "echo \"export ARROW_LIBHDFS_DIR=\\$HADOOP_COMMON_LIB_NATIVE_DIR\" >> /etc/bash.bashrc",
      "echo \"export CLASSPATH=\\`\\$HADOOP_HOME/bin/hdfs classpath --glob\\`\" >> /etc/bash.bashrc"
@aktech aktech transferred this issue from nebari-dev/nebari Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant