[ https://issues.apache.org/jira/browse/HIVE-12249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikram Dixit K updated HIVE-12249: ---------------------------------- Attachment: HIVE-12249.3.patch Update with a test. Sample output {code} vikram$ grep -r mrrTest * | grep syslog target/hive/hive-logDir-nm-0_3/application_1445638125157_0001/container_1445638125157_0001_01_000001/syslog:2015-10-23T15:10:22,104 INFO [IPC Server handler 0 on 56693] app.DAGAppMaster: Running DAG: vikram_20151023151021_35b01963-5cf6-4dcc-b6ef-5279fb08e2a9:32, callerContext=context=HIVE, callerType=HIVE_QUERY_ID, callerId=mrrTestmainvikram_20151023151021_35b01963-5cf6-4dcc-b6ef-5279fb08e2a9, blob= target/hive/hive-logDir-nm-0_3/application_1445638125157_0001/container_1445638125157_0001_01_000001/syslog:2015-10-23T15:10:28,274 INFO [IPC Server handler 0 on 56693] app.DAGAppMaster: Running DAG: vikram_20151023151028_024fa54e-2d53-4c20-8d82-f282cd438955:34, callerContext=context=HIVE, callerType=HIVE_QUERY_ID, callerId=mrrTestmainvikram_20151023151028_024fa54e-2d53-4c20-8d82-f282cd438955, blob= target/hive/hive-logDir-nm-0_3/application_1445638125157_0001/container_1445638125157_0001_01_000001/syslog:2015-10-23T15:10:30,430 INFO [IPC Server handler 0 on 56693] app.DAGAppMaster: Running DAG: vikram_20151023151030_2c0cd0e9-3174-42f3-8258-205b480bde3f:36, callerContext=context=HIVE, callerType=HIVE_QUERY_ID, callerId=mrrTestmainvikram_20151023151030_2c0cd0e9-3174-42f3-8258-205b480bde3f, blob= target/hive/hive-logDir-nm-0_3/application_1445638125157_0001/container_1445638125157_0001_01_000001/syslog:2015-10-23T15:10:32,802 INFO [IPC Server handler 0 on 56693] app.DAGAppMaster: Running DAG: vikram_20151023151032_2c6065c2-d54b-47f1-921f-f44e678bb942:38, callerContext=context=HIVE, callerType=HIVE_QUERY_ID, callerId=mrrTestmainvikram_20151023151032_2c6065c2-d54b-47f1-921f-f44e678bb942, blob= vikram$ grep -r Test2 * | grep syslog target/hive/hive-logDir-nm-0_3/application_1445638125157_0001/container_1445638125157_0001_01_000001/syslog:2015-10-23T15:10:34,545 INFO [IPC Server handler 0 on 56693] app.DAGAppMaster: Running DAG: vikram_20151023151034_0db3180c-4ccc-4076-81ba-217da09a4eb9:40, callerContext=context=HIVE, callerType=HIVE_QUERY_ID, callerId=Test2mainvikram_20151023151034_0db3180c-4ccc-4076-81ba-217da09a4eb9, blob= {code} > Improve logging with tez > ------------------------ > > Key: HIVE-12249 > URL: https://issues.apache.org/jira/browse/HIVE-12249 > Project: Hive > Issue Type: Bug > Components: Tez > Affects Versions: 1.2.1 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Attachments: HIVE-12249.1.patch, HIVE-12249.2.patch, > HIVE-12249.3.patch > > > We need to improve logging across the board. TEZ-2851 added a caller context > so that one can correlate logs with the application. This jira adds a new > configuration for users that can be used to correlate the logs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)