java.io.IOException: Failed to delete: C:\Users\a-vs\AppData\Local\Temp\2\spark-e66a8443-a4a5-47df-807f-03667a23889c

Stack Overflow | user2543622 | 7 months 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

    spark2 scala throwing an error / exception

    Stack Overflow | 7 months ago | user2543622
    java.io.IOException: Failed to delete: C:\Users\a-vs\AppData\Local\Temp\2\spark-e66a8443-a4a5-47df-807f-03667a23889c
  2. 0

    Spark Error at the time of Quit

    Stack Overflow | 1 year ago | ankitbeohar90
    java.io.IOException: Failed to delete: C:\Users\xxxx\AppData\Local\Temp\spark-90ee008a-54ce-4690-8d21-62f918748fc7
  3. 0

    Connection to Hive context giving me null point exception

    Stack Overflow | 11 months ago | user2021147
    java.io.IOException: Failed to delete: C:\Users\s3911541.AD.000\AppData\Local\Temp\spark-94c1e22c-1d4c-4c40-93ea-309171c93b99
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Starting spark-shell throws java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rw-rw-rw-

    Apache's JIRA Issue Tracker | 2 years ago | Aliaksei Belablotski
    java.io.IOException: Failed to delete: C:\Users\aivaldi\AppData\Local\Temp\spark-b00e997f-c433-435a-ad2c-079fae3b8ea8
  6. 0

    Spark breaks down when running points.show()

    GitHub | 9 months ago | momir81
    java.io.IOException: Failed to delete: /tmp/spark-ffcbe845-e900-4c61-99a8-e90314b2c77c

  1. muffinmannen 104 times, last 11 months ago
2 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

    Failed to delete: C:\Users\a-vs\AppData\Local\Temp\2\spark-e66a8443-a4a5-47df-807f-03667a23889c

    at org.apache.spark.util.Utils$.deleteRecursively()
  2. Spark
    ShutdownHookManager$$anonfun$1$$anonfun$apply$mcV$sp$3.apply
    1. org.apache.spark.util.Utils$.deleteRecursively(Utils.scala:986)
    2. org.apache.spark.util.ShutdownHookManager$$anonfun$1$$anonfun$apply$mcV$sp$3.apply(ShutdownHookManager.scala:64)
    3. org.apache.spark.util.ShutdownHookManager$$anonfun$1$$anonfun$apply$mcV$sp$3.apply(ShutdownHookManager.scala:61)
    3 frames
  3. Scala
    ArrayOps$ofRef.foreach
    1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
    2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
    2 frames
  4. Spark
    SparkShutdownHookManager$$anonfun$runAll$1.apply
    1. org.apache.spark.util.ShutdownHookManager$$anonfun$1.apply$mcV$sp(ShutdownHookManager.scala:61)
    2. org.apache.spark.util.SparkShutdownHook.run(ShutdownHookManager.scala:215)
    3. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ShutdownHookManager.scala:187)
    4. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(ShutdownHookManager.scala:187)
    5. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(ShutdownHookManager.scala:187)
    6. org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:1857)
    7. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply$mcV$sp(ShutdownHookManager.scala:187)
    8. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply(ShutdownHookManager.scala:187)
    9. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply(ShutdownHookManager.scala:187)
    9 frames
  5. Scala
    Try$.apply
    1. scala.util.Try$.apply(Try.scala:192)
    1 frame
  6. Spark
    SparkShutdownHookManager$$anon$2.run
    1. org.apache.spark.util.SparkShutdownHookManager.runAll(ShutdownHookManager.scala:187)
    2. org.apache.spark.util.SparkShutdownHookManager$$anon$2.run(ShutdownHookManager.scala:177)
    2 frames
  7. Hadoop
    ShutdownHookManager$1.run
    1. org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
    1 frame