[
https://issues.apache.org/jira/browse/HIVE-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2832:
------------------------------
Attachment: HIVE-2832.D2025.2.patch
kevinwilfong updated the revision "HIVE-2832 [jira] Cache error messages for
additional logging".
Reviewers: JIRA, njain
Instead of adding special logic to reset the print stream if it is a
CachingPrintStream, override the flush method to do this.
REVISION DETAIL
https://reviews.facebook.net/D2025
AFFECTED FILES
common/src/java/org/apache/hadoop/hive/common/io/CachingPrintStream.java
cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java
ql/src/test/results/clientnegative/cachingprintstream.q.out
ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyCachingPrintStreamHook.java
ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java
ql/src/test/queries/clientnegative/cachingprintstream.q
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
> Cache error messages for additional logging
> -------------------------------------------
>
> Key: HIVE-2832
> URL: https://issues.apache.org/jira/browse/HIVE-2832
> Project: Hive
> Issue Type: Improvement
> Components: Logging
> Reporter: Kevin Wilfong
> Assignee: Kevin Wilfong
> Attachments: HIVE-2832.D2025.1.patch, HIVE-2832.D2025.2.patch
>
>
> It would be good if we could cache logs written to SessionState.err so that
> they could be exposed to hooks for additional logging. This would allow
> logging of error messages with the queries that failed in a central location.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira