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/10/04 01:27:35 UTC

[jira] [Created] (HIVE-8346) MapRedLocalTask Error Handling

Szehon Ho created HIVE-8346:
-------------------------------

             Summary: MapRedLocalTask Error Handling
                 Key: HIVE-8346
                 URL: https://issues.apache.org/jira/browse/HIVE-8346
             Project: Hive
          Issue Type: Bug
          Components: Logging
    Affects Versions: 0.14.0
            Reporter: Szehon Ho
            Priority: Minor


If there are any exceptions trying to fork a local task, the exception message is logged but not the stack trace.  There can be a lot of issues forking a process, so we should log the stack trace for better debuggability.

Code in MapRedLocalTask.executeInChildJVM(DriverContext ctx):
{code}
    } catch (Exception e) {
      e.printStackTrace();
      LOG.error("Exception: " + e.getMessage());
      return (1);
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)