You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2018/04/27 08:55:00 UTC

[jira] [Commented] (HIVE-19320) MapRedLocalTask is printing child log to stderr and stdout

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

Peter Vary commented on HIVE-19320:
-----------------------------------

[~aihuaxu]: [~Yibing] and [~zsombor.klara] changed the following lines in HIVE-17078:
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java#L332
I think/hope after this patch the local task outputs are redirected to the HS2 logs too.


> MapRedLocalTask is printing child log to stderr and stdout
> ----------------------------------------------------------
>
>                 Key: HIVE-19320
>                 URL: https://issues.apache.org/jira/browse/HIVE-19320
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Logging
>    Affects Versions: 3.0.0
>            Reporter: Aihua Xu
>            Priority: Major
>
> In this line, local child MR task is printing the logs to stderr and stdout. 
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java#L341
> stderr/stdout should capture the service running log rather than the query execution output. Those should be reasonable to go to HS2 log and propagate to beeline console. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)