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

hive-user | Malte Ehmke | 6 years ago
tip
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. 0

    select count(1)

    hive-user | 6 years ago | Malte Ehmke
    java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory
  2. 0

    select count(1) causes java.io.IOException

    hive-user | 6 years ago | Malte Ehmke
    java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory
  3. 0

    select count(1)

    hive-user | 6 years ago | Malte Ehmke
    java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    select count(1) causes java.io.IOException

    hive-user | 6 years ago | Malte Ehmke
    java.io.IOException: Cannot run program "null/bin/hadoop": error=2, No such file or directory
  6. 0

    Issue while joining two tables stored on Elasticsearch using HiveQL

    GitHub | 2 years ago | code-rider
    java.io.IOException: Cannot run program "$HADOOP_HOME/bin/hadoop" (in directory "/usr/local/hive-src/packaging/target/apache-hive-0.13.1-bin/apache-hive-0.13.1-bin"): error=2, No such file or directory
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

  1. java.io.IOException

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:91)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    5. java.lang.Runtime.exec(Runtime.java:593)
    6. java.lang.Runtime.exec(Runtime.java:431)
    7. java.lang.Runtime.exec(Runtime.java:369)
    7 frames
  3. Hive Query Language
    Driver.run
    1. org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:176)
    2. org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:107)
    3. org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
    4. org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:633)
    5. org.apache.hadoop.hive.ql.Driver.execute(Driver.java:506)
    6. org.apache.hadoop.hive.ql.Driver.run(Driver.java:384)
    6 frames
  4. org.apache.hadoop
    HiveStatement.executeQuery
    1. org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:114)
    2. org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:195)
    2 frames
  5. de.codiacs.hive
    HiveServiceTest.main
    1. de.codiacs.hive.HiveServiceTest.main(HiveServiceTest.java:64)
    1 frame