You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Szehon Ho (JIRA)" <ji...@apache.org> on 2014/08/09 02:32:11 UTC

[jira] [Created] (HIVE-7668) Improve error logging for spark test crashes

Szehon Ho created HIVE-7668:
-------------------------------

             Summary: Improve error logging for spark test crashes
                 Key: HIVE-7668
                 URL: https://issues.apache.org/jira/browse/HIVE-7668
             Project: Hive
          Issue Type: Bug
          Components: Spark, Testing Infrastructure
            Reporter: Szehon Ho


While doing HIVE-7665, I noticed that spark local cluster will crash on any dependency version mismatch, either due to native code link errors (like in jetty) if unlucky, or gracefully (see spark's ExecutorUncaughtExceptionHandler.scala).

To debug those issues, it would be nice to log a thread-dump upon normal JVM exits by spark, as its unexpected by Hive's test framework.  One way is to add a shutdownHook that does this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)