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] Hadoop Error: HADOOP_HOME and hadoop.home.dir are unset.
- [Solved] hadoop-2.7.1 Error: Error Cannot find configuration directory etchadoop
- [Solved] Tomcat Startup Error: A child container failed during start、LifecycleException: Failed to start component
- [Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat
- [Solved] nacos Startup Error: Unable to start embedded Tomcat
- SpringBoot Startup Error: Failed to start component [Connector[HTTP/1.1-8080]]
- [Solved] SpringBoot Startup Error: Unable to start LiveReload server
- [Solved] Hadoop Error: Exception in thread “main“ java.io.IOException: Error opening job jar: /usr/local/hadoop-2.
- [Solved] hadoop Error: 9000 failed on connection exception java.net.ConnectException Denied to Access
- MapReduce running in Hadoop environment with maven
- [Solved] SpringBoot Startup Error: Description:Web server failed to start. Port 9090 was already in use.(win10)
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url: dubbo://192.168.0.9:20880/service
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url dubbo192.168.0.920880service
- [Solved] Tomcat Startup Error: A child container failed during start
- Run hadoop fs -put Command Error: java.io.IOException: Got error, status message , ack with firstBadLink
- [Solved] Tomcat startup error: sub-container startup failed
- [Solved] eureka Startup Error: Unable to start web … nested exception is org.springframework.boot.web.server.WebS
- [Solved] eureka Startup Error: Unable to start web … nested exception is org.springframework.boot.web.server.WebS
- How to Solve classnotfoundexception error in spark without Hadoop runtime
- [Solved] Docker Run Tomcat Error: Cannot find /usr/local/tomcat/bin/setclasspath.sh