java.io.IOException: Cannot run program "hive": error=13, Permission denied

  1. 0

    Sqoop job in Oozie cannot run Hive import

    Stack Overflow | 2 months ago | Mateusz Grabowski
    java.io.IOException: Cannot run program "hive": error=13, Permission denied
  2. 0

    Sqoop to Hive Import

    sqoop-user | 4 years ago | Cyril Bogus
    java.io.IOException: error=2, No such file or directory
  3. 0

    Re: Sqoop to Hive Import

    sqoop-user | 4 years ago | vasanth kumar
    java.io.IOException: error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Sqoop to Hive Import

    sqoop-user | 4 years ago | Cyril Bogus
    java.io.IOException: error=2, No such file or directory
  6. 0

    Display the imported table in HDFS using sqoop

    Stack Overflow | 4 years ago | John x
    java.io.IOException: Cannot run program "hive": error=2, No such file or directory

  1. serious2monkeys 1 times, last 2 weeks ago
  2. Handemelindo 6 times, last 1 month ago
  3. kid 5 times, last 2 months ago
  4. rp 2 times, last 2 months ago
  5. jk 1 times, last 5 months ago
3 more registered users
75 unregistered visitors
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=13, Permission denied

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    Runtime.exec
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:134)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    5. java.lang.Runtime.exec(Runtime.java:620)
    6. java.lang.Runtime.exec(Runtime.java:528)
    6 frames
  3. org.apache.sqoop
    Sqoop.run
    1. org.apache.sqoop.util.Executor.exec(Executor.java:76)
    2. org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:391)
    3. org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:344)
    4. org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:245)
    5. org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:514)
    6. org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
    7. org.apache.sqoop.Sqoop.run(Sqoop.java:148)
    7 frames
  4. Hadoop
    ToolRunner.run
    1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
    1 frame
  5. org.apache.sqoop
    Sqoop.main
    1. org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
    2. org.apache.sqoop.Sqoop.runTool(Sqoop.java:226)
    3. org.apache.sqoop.Sqoop.runTool(Sqoop.java:235)
    4. org.apache.sqoop.Sqoop.main(Sqoop.java:244)
    4 frames
  6. org.apache.oozie
    SqoopMain.main
    1. org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:197)
    2. org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:177)
    3. org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
    4. org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:46)
    4 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. org.apache.oozie
    LauncherMapper.map
    1. org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:241)
    1 frame
  9. Hadoop
    YarnChild$2.run
    1. org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
    2. org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
    3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
    4. org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:168)
    4 frames
  10. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:422)
    2 frames
  11. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1709)
    1 frame
  12. Hadoop
    YarnChild.main
    1. org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:162)
    1 frame