java.io.IOException

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

Samebug tips2

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

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

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

Solutions on the web21382

  • via hive-user by Dilip Joseph, 2 weeks ago
    Cannot run program "null/bin/hadoop": error=2, No >> such file or directory >>
  • via hive-user by Carl Steinbach, 2 weeks ago
    Cannot run program "null/bin/hadoop": error=2, No >> such file or directory >>
  • via hive-user by kiteraddict, 2 weeks ago
    Cannot run program "null/bin/hadoop": error=2, No such file or directory
  • Stack trace

    • java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) 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.ql.Driver.run(Driver.java:384) 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) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 12 more

    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

    Once, 7 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    125 more bugmates