hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bc Wong (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1211) Tapping logs from child processes
Date Wed, 03 Mar 2010 19:44:27 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840834#action_12840834
] 

bc Wong commented on HIVE-1211:
-------------------------------

I'd like to change it to go through the {{SessionState}} first. {{SessionState}} will have
two new {{PrintStream}}, called {{childOut}} and {{childErr}}, which are similar to the current
{{out}} and {{err}}. They let users tap into the child's output. If they're null, then the
child's out will continue on to stdout/stderr.

And this doesn't break any existing users who aren't interested in the child's output. They
can tap into {{SessionState.out|err}} and ignore the new fields.

> Tapping logs from child processes
> ---------------------------------
>
>                 Key: HIVE-1211
>                 URL: https://issues.apache.org/jira/browse/HIVE-1211
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Logging
>            Reporter: bc Wong
>
> Stdout/stderr from child processes (e.g. {{MapRedTask}}) are redirected to the parent's
stdout/stderr. There is little one can do to to sort out which log is from which query.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message