[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=679006=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-679006 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 09/Nov/21 12:24 Start Date: 09/Nov/21 12:24 Worklog Time Spent: 10m Work Description: zabetak closed pull request #2432: URL: https://github.com/apache/hive/pull/2432 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 679006) Time Spent: 6h 20m (was: 6h 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 6h 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=676073=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-676073 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 04/Nov/21 01:56 Start Date: 04/Nov/21 01:56 Worklog Time Spent: 10m Work Description: belugabehr edited a comment on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past. Thank you for helping to document this behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 676073) Time Spent: 6h 10m (was: 6h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 6h 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=675793=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-675793 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 04/Nov/21 01:28 Start Date: 04/Nov/21 01:28 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 675793) Time Spent: 6h (was: 5h 50m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 6h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=675660=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-675660 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 04/Nov/21 01:14 Start Date: 04/Nov/21 01:14 Worklog Time Spent: 10m Work Description: belugabehr edited a comment on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past. Thank you for helping to document this behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 675660) Time Spent: 5h 50m (was: 5h 40m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 5h 50m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=675593=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-675593 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 04/Nov/21 01:05 Start Date: 04/Nov/21 01:05 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 675593) Time Spent: 5h 40m (was: 5.5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 5h 40m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=675153=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-675153 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 04/Nov/21 00:17 Start Date: 04/Nov/21 00:17 Worklog Time Spent: 10m Work Description: belugabehr edited a comment on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past. Thank you for helping to document this behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 675153) Time Spent: 5.5h (was: 5h 20m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 5.5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=675080=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-675080 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 04/Nov/21 00:08 Start Date: 04/Nov/21 00:08 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 675080) Time Spent: 5h 20m (was: 5h 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 5h 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=674336=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-674336 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 03/Nov/21 02:35 Start Date: 03/Nov/21 02:35 Worklog Time Spent: 10m Work Description: belugabehr edited a comment on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past. Thank you for helping to document this behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 674336) Time Spent: 5h 10m (was: 5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 5h 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=674332=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-674332 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 03/Nov/21 02:35 Start Date: 03/Nov/21 02:35 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958607011 OK, if there is no changes in overall behavior, LGTM (+1) pending tests past -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 674332) Time Spent: 5h (was: 4h 50m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=674241=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-674241 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 02/Nov/21 22:40 Start Date: 02/Nov/21 22:40 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-958309007 > What is responsible for cleaning up these files? Could there be a case where the cleanup process happens and then the file is re-created and never scheduled for cleanup again? @belugabehr It's been a while since I have worked on this code but if I remember well the operation log file deletion is handled by `OperationLogCleaner`. When the query/operation ends it is registered for cleanup (see https://github.com/apache/hive/blob/6e152aa28bc5116bf9210f9deb0f95d2d73183f7/service/src/java/org/apache/hive/service/cli/operation/Operation.java#L323) . The deletion may happen immediately or with some delay as specified by the properties. If for some reason there is a log event for the **same** query after the cleanup then I assume the file will be recreated and it will never be removed from the file-system. This could happen even without the changes introduced in this PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 674241) Time Spent: 4h 50m (was: 4h 40m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 4h 50m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=673932=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-673932 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 02/Nov/21 21:21 Start Date: 02/Nov/21 21:21 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-957925686 @zabetak Thanks for the clarification. I work a lot supporting Hive so I need to know what impact this change has. What is responsible for cleaning up these files? Could there be a case where the cleanup process happens and then the file is re-created and never scheduled for cleanup again? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 673932) Time Spent: 4h 40m (was: 4.5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 4h 40m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=673355=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-673355 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 02/Nov/21 17:49 Start Date: 02/Nov/21 17:49 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-957925686 @zabetak Thanks for the clarification. I work a lot supporting Hive so I need to know what impact this change has. What is responsible for cleaning up these files? Could there be a case where the cleanup process happens and then the file is re-created and never scheduled for cleanup again? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 673355) Time Spent: 4.5h (was: 4h 20m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 4.5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=673271=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-673271 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 02/Nov/21 16:35 Start Date: 02/Nov/21 16:35 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-957925686 @zabetak Thanks for the clarification. I work a lot supporting Hive so I need to know what impact this change has. What is responsible for cleaning up these files? Could there be a case where the cleanup process happens and then the file is re-created and never scheduled for cleanup again? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 673271) Time Spent: 4h 20m (was: 4h 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 4h 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=671877=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-671877 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 29/Oct/21 08:55 Start Date: 29/Oct/21 08:55 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-954569967 Hey @belugabehr do you have further comments regarding this PR? Can we move this forward and merge it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 671877) Time Spent: 4h 10m (was: 4h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 4h 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=669979=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669979 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 26/Oct/21 09:39 Start Date: 26/Oct/21 09:39 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-951762656 > So, what would the affect be if the time were to pass and another write request came in? Would it create a second file? Append to the end of an existing file? Is the original log files always deleted when the logger goes idle? The deletion of the log files is not handled by Log4j (not in this case at least). When the logger goes idle, the appender is closed along with the respective file descriptor but the file remains as is. When the appender comes back it will write to the same file; if for whatever reason the file is not there it will create a file with the same name and start writing there. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 669979) Time Spent: 4h (was: 3h 50m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 4h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=669876=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669876 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 26/Oct/21 02:19 Start Date: 26/Oct/21 02:19 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-951493240 @zabetak Thanks for the clarification. Makes sense. So, what would the affect be if the time were to pass and another write request came in? Would it create a second file? Append to the end of an existing file? Is the original log files always deleted when the logger goes idle? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 669876) Time Spent: 3h 50m (was: 3h 40m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 3h 50m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=669778=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669778 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 25/Oct/21 20:23 Start Date: 25/Oct/21 20:23 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-951288032 > Ya, nothing about this solution feels ideal. How was the default of 60s chosen? That seems pretty short to me if there's a stall in the query engine (or anywhere else). Even if there is a big delay and the 60sec window passes there is no problem. The appender will be closed and it will reopen again when the next log event arrives. Having a purge policy guarantees that there will be no leak no matter what happens. Something that may become problematic is the arrival of many (in the order of thousands) queries in the 60 sec window. This will lead to the creation of many appenders and usage of many file descriptors. However, this might never be a problem for Hive, at least not before other parts of the system need to be fixed first. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 669778) Time Spent: 3h 40m (was: 3.5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 3h 40m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=669740=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669740 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 25/Oct/21 19:37 Start Date: 25/Oct/21 19:37 Worklog Time Spent: 10m Work Description: belugabehr commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-951245726 Hey, > Ideally the whole programmatic registration of the appender should be replaced by log4j.properties or other more standard mechanism but this is a bit more complicated to do so I would leave it outside the scope of this PR. Ya, nothing about this solution feels ideal. How was the default of 60s chosen? That seems pretty short to me if there's a stall in the query engine (or anywhere else). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 669740) Time Spent: 3.5h (was: 3h 20m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 3.5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=664085=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-664085 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 12/Oct/21 14:16 Start Date: 12/Oct/21 14:16 Worklog Time Spent: 10m Work Description: nrg4878 commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-941055126 @belugabehr Could you please review this if you have some cycles? Much appreciated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 664085) Time Spent: 3h 20m (was: 3h 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 3h 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=645008=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-645008 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 01/Sep/21 09:25 Start Date: 01/Sep/21 09:25 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-909110409 Hey @prasanthj , can you have a final look on this for getting this in? It seems that more and more people are bumping into the problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 645008) Time Spent: 3h 10m (was: 3h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 3h 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=644250=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-644250 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 31/Aug/21 15:03 Start Date: 31/Aug/21 15:03 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-909110409 Hey @prasanthj , can you have a final look on this for getting this in? It seems that more and more people are bumping into the problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 644250) Time Spent: 3h (was: 2h 50m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 3h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=643954=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-643954 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 31/Aug/21 10:31 Start Date: 31/Aug/21 10:31 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-909110409 Hey @prasanthj , can you have a final look on this for getting this in? It seems that more and more people are bumping into the problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 643954) Time Spent: 2h 50m (was: 2h 40m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 2h 50m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=617446=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617446 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 01/Jul/21 07:49 Start Date: 01/Jul/21 07:49 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2432: URL: https://github.com/apache/hive/pull/2432#issuecomment-872010471 Hi @prasanthj , following your last comment on https://github.com/apache/hive/pull/1849 I added Hive property to control the lifespan of appenders in https://github.com/apache/hive/pull/2432/commits/bc683ec2d6959e5aba7d216abcd060a07e854d46. Ideally the whole programmatic registration of the appender should be replaced by `log4j.properties` or other more standard mechanism but this is a bit more complicated to do so I would leave it outside the scope of this PR. All the tests are green, so if you can have a final look and merge it that would be great since apparently more people are hitting this issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 617446) Time Spent: 2h 40m (was: 2.5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 2h 40m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=615123=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-615123 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 25/Jun/21 17:37 Start Date: 25/Jun/21 17:37 Worklog Time Spent: 10m Work Description: zabetak opened a new pull request #2432: URL: https://github.com/apache/hive/pull/2432 ### What changes were proposed in this pull request? 1. Handle dynamic routing appenders via Log4j's `IdlePurgePolicy` 2. Remove in-house management of appenders. ### Why are the changes needed? 1. Solve descriptor leak as shown in HIVE-24590 2. Delegate burden of managing appenders to Log4j. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? `mvn test -Dtest=TestOperationLoggingLayout` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 615123) Time Spent: 2.5h (was: 2h 20m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 2.5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=615075=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-615075 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 25/Jun/21 16:05 Start Date: 25/Jun/21 16:05 Worklog Time Spent: 10m Work Description: kgyrtkirk commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-868669620 comment -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 615075) Time Spent: 2h 20m (was: 2h 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 2h 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=611066=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-611066 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 15/Jun/21 00:10 Start Date: 15/Jun/21 00:10 Worklog Time Spent: 10m Work Description: github-actions[bot] closed pull request #1849: URL: https://github.com/apache/hive/pull/1849 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 611066) Time Spent: 2h 10m (was: 2h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 2h 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=607675=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-607675 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 07/Jun/21 07:19 Start Date: 07/Jun/21 07:19 Worklog Time Spent: 10m Work Description: prasanthj commented on a change in pull request #1849: URL: https://github.com/apache/hive/pull/1849#discussion_r646329733 ## File path: ql/src/java/org/apache/hadoop/hive/ql/log/LogDivertAppender.java ## @@ -242,12 +244,17 @@ public static void registerRoutingAppender(org.apache.hadoop.conf.Configuration LoggerContext context = (LoggerContext) LogManager.getContext(false); Configuration configuration = context.getConfiguration(); +PurgePolicy purgePolicy = IdlePurgePolicy.createPurgePolicy("60", null, "SECONDS", configuration); Review comment: IIRC the 60s was configurable from the log4j2.properties earlier. Can we make this configurable via some means (preferably log4j2 properties)? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 607675) Time Spent: 2h (was: 1h 50m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 2h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=607565=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-607565 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 07/Jun/21 00:18 Start Date: 07/Jun/21 00:18 Worklog Time Spent: 10m Work Description: github-actions[bot] commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-855489358 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the d...@hive.apache.org list if the patch is in need of reviews. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 607565) Time Spent: 1h 50m (was: 1h 40m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 1h 50m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=568372=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-568372 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 18/Mar/21 14:11 Start Date: 18/Mar/21 14:11 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-801960687 Thanks for testing this out @EugeneChung ! Hey @prasanthj , can you please review this change. The change is very similar to what was done as part of HIVE-24569 that you reviewed previously. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 568372) Time Spent: 1h 40m (was: 1.5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 1h 40m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=566165=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566165 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 15/Mar/21 12:54 Start Date: 15/Mar/21 12:54 Worklog Time Spent: 10m Work Description: EugeneChung edited a comment on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-799393602 @zabetak Yes, I forgot to let you know. It worked well, but in my company's repo. I chose to clear all the log4j MDC. The leak and incorrect operation logging have been gone away. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 566165) Time Spent: 1.5h (was: 1h 20m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 1.5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=566163=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566163 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 15/Mar/21 12:51 Start Date: 15/Mar/21 12:51 Worklog Time Spent: 10m Work Description: EugeneChung commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-799393602 @zabetak Yes, I forgot to let you know. It worked well, but in my company's repo. I chose to clear all the log4j MDC. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 566163) Time Spent: 1h 20m (was: 1h 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 1h 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=566128=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566128 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 15/Mar/21 11:16 Start Date: 15/Mar/21 11:16 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-799336894 Hey @EugeneChung did you have a change to try out this fix? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 566128) Time Spent: 1h (was: 50m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 1h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=566129=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566129 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 15/Mar/21 11:16 Start Date: 15/Mar/21 11:16 Worklog Time Spent: 10m Work Description: zabetak edited a comment on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-799336894 Hey @EugeneChung did you have a chance to try out this fix? This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 566129) Time Spent: 1h 10m (was: 1h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 1h 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=565830=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-565830 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 14/Mar/21 00:53 Start Date: 14/Mar/21 00:53 Worklog Time Spent: 10m Work Description: github-actions[bot] commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-798809787 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the d...@hive.apache.org list if the patch is in need of reviews. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 565830) Time Spent: 50m (was: 40m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 50m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=534877=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-534877 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 12/Jan/21 14:32 Start Date: 12/Jan/21 14:32 Worklog Time Spent: 10m Work Description: zabetak opened a new pull request #1849: URL: https://github.com/apache/hive/pull/1849 ### What changes were proposed in this pull request? 1. Handle dynamic routing appenders via Log4j's `IdlePurgePolicy` 2. Remove in-house management of appenders. ### Why are the changes needed? 1. Solve descriptor leak as shown in HIVE-24590 2. Delegate burden of managing appenders to Log4j. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? `mvn test -Dtest=TestOperationLoggingLayout` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 534877) Time Spent: 40m (was: 0.5h) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 40m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=534876=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-534876 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 12/Jan/21 14:31 Start Date: 12/Jan/21 14:31 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #1849: URL: https://github.com/apache/hive/pull/1849#issuecomment-758694697 Closing and reopen to trigger tests. This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 534876) Time Spent: 0.5h (was: 20m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 0.5h > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=534875=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-534875 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 12/Jan/21 14:31 Start Date: 12/Jan/21 14:31 Worklog Time Spent: 10m Work Description: zabetak closed pull request #1849: URL: https://github.com/apache/hive/pull/1849 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 534875) Time Spent: 20m (was: 10m) > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 20m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (HIVE-24590) Operation Logging still leaks the log4j Appenders
[ https://issues.apache.org/jira/browse/HIVE-24590?focusedWorklogId=534304=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-534304 ] ASF GitHub Bot logged work on HIVE-24590: - Author: ASF GitHub Bot Created on: 11/Jan/21 16:06 Start Date: 11/Jan/21 16:06 Worklog Time Spent: 10m Work Description: zabetak opened a new pull request #1849: URL: https://github.com/apache/hive/pull/1849 ### What changes were proposed in this pull request? 1. Handle dynamic routing appenders via Log4j's `IdlePurgePolicy` 2. Remove in-house management of appenders. ### Why are the changes needed? 1. Solve descriptor leak as shown in HIVE-24590 2. Delegate burden of managing appenders to Log4j. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? `mvn test -Dtest=TestOperationLoggingLayout` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 534304) Remaining Estimate: 0h Time Spent: 10m > Operation Logging still leaks the log4j Appenders > - > > Key: HIVE-24590 > URL: https://issues.apache.org/jira/browse/HIVE-24590 > Project: Hive > Issue Type: Bug > Components: Logging >Reporter: Eugene Chung >Assignee: Stamatis Zampetakis >Priority: Major > Attachments: Screen Shot 2021-01-06 at 18.42.05.png, Screen Shot > 2021-01-06 at 18.42.24.png, Screen Shot 2021-01-06 at 18.42.55.png, Screen > Shot 2021-01-06 at 21.38.32.png, Screen Shot 2021-01-06 at 21.47.28.png, > Screen Shot 2021-01-08 at 21.01.40.png, add_debug_log_and_trace.patch > > Time Spent: 10m > Remaining Estimate: 0h > > I'm using Hive 3.1.2 with options below. > * hive.server2.logging.operation.enabled=true > * hive.server2.logging.operation.level=VERBOSE > * hive.async.log.enabled=false > I already know the ticket, https://issues.apache.org/jira/browse/HIVE-17128 > but HS2 still leaks log4j RandomAccessFileManager. > !Screen Shot 2021-01-06 at 18.42.05.png|width=756,height=197! > I checked the operation log file which is not closed/deleted properly. > !Screen Shot 2021-01-06 at 18.42.24.png|width=603,height=272! > Then there's the log, > {code:java} > client.TezClient: Shutting down Tez Session, sessionName= {code} > !Screen Shot 2021-01-06 at 18.42.55.png|width=1372,height=26! -- This message was sent by Atlassian Jira (v8.3.4#803005)