java.lang.RuntimeException: Error while running command to get file permissions : java.io.IOExceptio n: Cannot run program "ls": CreateProcess error=2, The system cannot find the file specified

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.RuntimeException: Error while running command to get file permissions : java.io.IOExceptio n: Cannot run program "ls": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at org.apache.hadoop.util.Shell.runCommand(Shell.java:200) at org.apache.hadoop.util.Shell.run(Shell.java:182) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:375) at org.apache.hadoop.util.Shell.execCommand(Shell.java:461) at org.apache.hadoop.util.Shell.execCommand(Shell.java:444) at org.apache.hadoop.fs.FileUtil.execCommand(FileUtil.java:710) at org.apache.hadoop.fs.RawLocalFileSystem$RawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:443) at org.apache.hadoop.fs.RawLocalFileSystem$RawLocalFileStatus.getPermission(RawLocalFileSystem.java:418) at org.apache.spark.util.FileLogger.createLogDir(FileLogger.scala:113) at org.apache.spark.util.FileLogger.start(FileLogger.scala:91) at org.apache.spark.scheduler.EventLoggingListener.start(EventLoggingListener.scala:79) at org.apache.spark.SparkContext.<init>(SparkContext.scala:252) at org.apache.spark.repl.SparkILoop.createSparkContext(SparkILoop.scala:972) at $iwC$$iwC.<init>(<console>:8) at $iwC.<init>(<console>:14)

Users with the same issue

rp
rp1 times, last one,