Problem Scenario
You run an HDFS command, but you get this message: “ERROR: Hadoop common not found”
What should you do?
Solution
As the hduser or user that runs hdfs, log in. Run echo $HADOOP_HOME
That directory should have a libexec directory with a file called hadoop-config.sh.
Run this: ls -lh $HADOOP_HOME/libexec
One way to create it is this: 1) find a hadoop-config.sh file (e.g.,
…
Continue reading “How Do You Troubleshoot “ERROR: Hadoop common not found” when Running Hadoop?”