Hadoop
Hadoop copied to clipboard
Step2:Configuring Hadoop’s Java Home is not clear
Hi @anjalysam. Thank you so much for the document. Still, it's not clear to me how to configure Hadoop's JAVA_HOME in Colab. I don't know what to do in the following step.
To set java path, go to /usr/local/hadoop-3.3.0/etc/hadoop/hadoop-env.sh then . . . export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ . . .
I truly appreciate if you could update the document on how to do the above task in Google Colab.
Thank you.
Hi! I added the code below and problem solved. import os os.environ["JAVA_HOME"] = "/usr/lib/jvm/java-8-openjdk-amd64"
Hi, Open the hadoop-env.sh (location: hadoop-3.3.0/etc/hadoop/hadoop-env.sh) and find the line start with export JAVA_HOME. Replace that line with export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
Hi, Open the hadoop-env.sh (location: hadoop-3.3.0/etc/hadoop/hadoop-env.sh) and find the line start with export JAVA_HOME. Replace that line with export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
I tried your way but it didn't work. However, when I tried with the way @MohammadZp proposed, it worked. I just don't understand why