HADOOP Command
Error: Cannot find configuration directory: /etc/hadoop
JAVA_HME is not set and could not be found
sbin/start-dfs.sh
Start ErrorError: Cannot find configuration directory: /etc/hadoop
JAVA_HME is not set and could not be found
Solution:
Configure hadoop-env.sh file in hadoop-2.7.1/etc/hadoop. write your own jdk and hadoop paths.
export JAVA_HOME=/usr/jdk1.8.0_221
export HADOOP_CONF_DIR=/usr/hadoop-2.7.1/etc/hadoop/
export JAVA_HOME=/usr/jdk1.8.0_221
export HADOOP_CONF_DIR=/usr/hadoop-2.7.1/etc/hadoop/
Read More:
- [Solved] Sqoop Error: ERROR tool.ImportTool: Import failed: java.io.IOException
- [Solved] hadoop Error: 9000 failed on connection exception java.net.ConnectException Denied to Access
- Run hadoop fs -put Command Error: java.io.IOException: Got error, status message , ack with firstBadLink
- The Java class generated by protocol reports an error: cannot access
- Spring integrated HBase error [How to Solve]
- [Solved] java.io.IOException: Got error, status=ERROR, status message, ack with firstBadLink as
- [Solved] Hadoop Error: HADOOP_HOME and hadoop.home.dir are unset.
- [Solved] Failed to re-init queues: Illegal queue capacity setting (abs-capacity=0.6) > (abs-maximum-capacity
- [Solved] Unable to connect to a as user root com.jcraft.jsch.JSchException: Auth failUnable to connect
- [Solved] JAVA connect HBase program is stuck and does not report an error
- MapReduce running in Hadoop environment with maven
- [Solved] Mac Maven Command Error: zsh: command not found
- [Solved] Mapreducer Class Conversion error: java.lang.ClassCastException
- How to Solve classnotfoundexception error in spark without Hadoop runtime
- [Solved] Hbase-shell 2.x Error: Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal…
- [Solved] Hive On Spark Error: Remote Spark Driver – HiveServer2 connection has been closed
- keytool error: java.lang.Exception: Input not an X.509 certificate
- Nacos boot error, unable to find Java_HOME [How to Solve]
- Hive operation TMP file viewing content error [How to Solve]
- Executing Maven command error: Java_HOME is not defined correctly executing maven