[
https://issues.apache.org/jira/browse/HIVE-12254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634334#comment-16634334
]
Aihua Xu commented on HIVE-12254:
---------------------------------
[~pvary] Thanks for reviewing the patch.
* Such CallerContext is a thread local variable defined in Hadoop, since
different queries are compiled or executed in different threads, different
context will be carried for different queries.
* In the previous version, we are only setting the context around query
compilation or execution (only certain operations) that might cause to print
incorrect info if we don't reset. In this patch, I'm setting the context
whenever there is a new session or new query and such info should be carried
for the whole lifetime. But you are right that after we are done with the
queries, there are some actions belonging to the session rather than the
queries (the ones in closeSession). I will investigate that.
* You are right. I should remove such ":". I will correct it.
> Improve logging with yarn/hdfs
> ------------------------------
>
> Key: HIVE-12254
> URL: https://issues.apache.org/jira/browse/HIVE-12254
> Project: Hive
> Issue Type: Bug
> Components: Shims
> Affects Versions: 1.2.1
> Reporter: Vikram Dixit K
> Assignee: Aihua Xu
> Priority: Major
> Attachments: HIVE-12254.1.patch, HIVE-12254.2.patch,
> HIVE-12254.3.patch
>
>
> In extension to HIVE-12249, adding info for Yarn/HDFS as well. Both
> HIVE-12249 and HDFS-9184 are required (and upgraded in hive for the HDFS
> issue) before this can be resolved.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)