FINRAOS/HiveQLUnit

There is exception printed out in the console (log) and directory spark-<id> is left

Opened this issue · 0 comments

There is exception printed out in the console (log) and directory spark- is left
after JVM complete normal shutdown in java.io.tmpdir
(strictly speaking it can be other directory, and it can be configured through the property, so
it should be taken in the account)
As far I investigate the root cause is https://issues.apache.org/jira/browse/SPARK-8333 that is there is open bug in Spark (my system is Windows 10 64 bit).

As a work-arround what I did I;

  1. switch off from the log this message
    <logger name="org.apache.spark.util.Utils" level="off" />
  2. Right some rule that clean up all spark* folder from java.io.tmpdir (or more precise position) on the JVM startup

Maybe it worst to put this to the HiveQLUnit?