java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via hive-user by Malte Ehmke, 1 year ago
Cannot run program "null/bin/hadoop": error=2, No such file or directory
via hive-user by kiteraddict, 4 months ago
Cannot run program "null/bin/hadoop": error=2, No such file or directory
via hive-user by kiteraddict, 4 months ago
Cannot run program "null/bin/hadoop": error=2, No such file or directory
via hive-user by Malte Ehmke, 1 year ago
Cannot run program "null/bin/hadoop": error=2, No such file or directory
via hive-user by Malte Ehmke, 1 year ago
Cannot run program "null/bin/hadoop": error=2, No such file or directory
via hive-user by Malte Ehmke, 1 year ago
Cannot run program "null/bin/hadoop": error=2, No such file or directory
java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:369)
at org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:176)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:107)
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:633)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:506)
at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:114)
at org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:195)
at de.codiacs.hive.HiveServiceTest.main(HiveServiceTest.java:64)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years 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
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
133 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.