java.io.IOException

HADOOP_HOME or hadoop.home.dir are not set.


Samebug tips1

There's probably a problem with your dependencies, check if you used "hadoop-yarn-common". Also check if you have the right version of hadoop for the version of mapreduce that you're using.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web10740

Solution icon of github
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of github
via GitHub by paxtonhare
, 3 months ago
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of googlegroups
via Google Groups by Fredrik, 2 months ago
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of apache
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of stackoverflow
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of stackoverflow
via Stack Overflow by Arnab Sharma
, 1 year ago
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of stackoverflow
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of web
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of github
via GitHub by paxtonhare
, 9 months ago
HADOOP_HOME or hadoop.home.dir are not set.

Solution icon of googlegroups
via Google Groups by Oliver Buckley-Salmon, 9 months ago
HADOOP_HOME or hadoop.home.dir are not set.

Stack trace

  • java.io.IOException: HADOOP_HOME or hadoop.home.dir are not set. at org.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:225) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:250) at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:639) at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:468) at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:456) at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:424) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:905) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:886) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:783) at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:772) at com.qualebs.managers.HadoopDFS.writer(HadoopDFS.java:41)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 days ago
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 more bugmates