HADOOP_HOME or hadoop.home.dir are not set. | 6 months ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Eclipse调用Hadoop2.2运行MR程序_Linux编程_Linux公社-Linux系统门户网站 | 2 years ago Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
  3. 0

    HBase User - Remote java client hang | 12 months ago HADOOP_HOME or hadoop.home.dir are not set.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis


    HADOOP_HOME or hadoop.home.dir are not set.

    at org.apache.hadoop.util.Shell.checkHadoopHome()
  2. Hadoop
    1. org.apache.hadoop.util.Shell.checkHadoopHome(
    2. org.apache.hadoop.util.Shell.<clinit>(
    3. org.apache.hadoop.util.StringUtils.<clinit>(
    3 frames
  3. hadoop-yarn-api
    1. org.apache.hadoop.yarn.conf.YarnConfiguration.<clinit>(
    1 frame
  4. Spark Project YARN Stable API
    1. org.apache.spark.deploy.yarn.YarnSparkHadoopUtil.newConfiguration(YarnSparkHadoopUtil.scala:62)
    1 frame
  5. Spark
    1. org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:52)
    1 frame
  6. Spark Project YARN Stable API
    1. org.apache.spark.deploy.yarn.YarnSparkHadoopUtil.<init>(YarnSparkHadoopUtil.scala:47)
    1 frame
  7. Java RT
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    4. java.lang.reflect.Constructor.newInstance(
    5. java.lang.Class.newInstance(
    5 frames