[jira] [Updated] (HIVE-22529) Make Debugging Stacktrace More Explicit
[ https://issues.apache.org/jira/browse/HIVE-22529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Mollitor updated HIVE-22529: -- Resolution: Fixed Status: Resolved (was: Patch Available) [~vgarg] Thank you for the review! Pushed to master. > Make Debugging Stacktrace More Explicit > --- > > Key: HIVE-22529 > URL: https://issues.apache.org/jira/browse/HIVE-22529 > Project: Hive > Issue Type: Improvement >Reporter: David Mollitor >Assignee: David Mollitor >Priority: Major > Attachments: HIVE-22529.1.patch, HIVE-22529.1.patch > > > In some places, the following DEBUG logging was introduced: > {code:java} > LOG.debug("Message", new Exception()); > {code} > The purpose of this is to log the stack trace of the Thread calling this > debug logging method. However, the resulting log message includes the > following: > {code:none} > 2019-11-19T08:13:31,392 DEBUG [Thread] Logger: Message > java.lang.Exception: null > at > {code} > To the observer, it appears that there was perhaps some sort of NPE. Add a > message to the Exception being generated to make it more clear that this > "Exception" is for debugging purposes and not an actual error. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22529) Make Debugging Stacktrace More Explicit
[ https://issues.apache.org/jira/browse/HIVE-22529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Mollitor updated HIVE-22529: -- Status: Patch Available (was: Open) > Make Debugging Stacktrace More Explicit > --- > > Key: HIVE-22529 > URL: https://issues.apache.org/jira/browse/HIVE-22529 > Project: Hive > Issue Type: Improvement >Reporter: David Mollitor >Assignee: David Mollitor >Priority: Major > Attachments: HIVE-22529.1.patch, HIVE-22529.1.patch > > > In some places, the following DEBUG logging was introduced: > {code:java} > LOG.debug("Message", new Exception()); > {code} > The purpose of this is to log the stack trace of the Thread calling this > debug logging method. However, the resulting log message includes the > following: > {code:none} > 2019-11-19T08:13:31,392 DEBUG [Thread] Logger: Message > java.lang.Exception: null > at > {code} > To the observer, it appears that there was perhaps some sort of NPE. Add a > message to the Exception being generated to make it more clear that this > "Exception" is for debugging purposes and not an actual error. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22529) Make Debugging Stacktrace More Explicit
[ https://issues.apache.org/jira/browse/HIVE-22529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Mollitor updated HIVE-22529: -- Attachment: HIVE-22529.1.patch > Make Debugging Stacktrace More Explicit > --- > > Key: HIVE-22529 > URL: https://issues.apache.org/jira/browse/HIVE-22529 > Project: Hive > Issue Type: Improvement >Reporter: David Mollitor >Assignee: David Mollitor >Priority: Major > Attachments: HIVE-22529.1.patch, HIVE-22529.1.patch > > > In some places, the following DEBUG logging was introduced: > {code:java} > LOG.debug("Message", new Exception()); > {code} > The purpose of this is to log the stack trace of the Thread calling this > debug logging method. However, the resulting log message includes the > following: > {code:none} > 2019-11-19T08:13:31,392 DEBUG [Thread] Logger: Message > java.lang.Exception: null > at > {code} > To the observer, it appears that there was perhaps some sort of NPE. Add a > message to the Exception being generated to make it more clear that this > "Exception" is for debugging purposes and not an actual error. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22529) Make Debugging Stacktrace More Explicit
[ https://issues.apache.org/jira/browse/HIVE-22529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Mollitor updated HIVE-22529: -- Status: Open (was: Patch Available) > Make Debugging Stacktrace More Explicit > --- > > Key: HIVE-22529 > URL: https://issues.apache.org/jira/browse/HIVE-22529 > Project: Hive > Issue Type: Improvement >Reporter: David Mollitor >Assignee: David Mollitor >Priority: Major > Attachments: HIVE-22529.1.patch, HIVE-22529.1.patch > > > In some places, the following DEBUG logging was introduced: > {code:java} > LOG.debug("Message", new Exception()); > {code} > The purpose of this is to log the stack trace of the Thread calling this > debug logging method. However, the resulting log message includes the > following: > {code:none} > 2019-11-19T08:13:31,392 DEBUG [Thread] Logger: Message > java.lang.Exception: null > at > {code} > To the observer, it appears that there was perhaps some sort of NPE. Add a > message to the Exception being generated to make it more clear that this > "Exception" is for debugging purposes and not an actual error. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22529) Make Debugging Stacktrace More Explicit
[ https://issues.apache.org/jira/browse/HIVE-22529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Mollitor updated HIVE-22529: -- Attachment: HIVE-22529.1.patch > Make Debugging Stacktrace More Explicit > --- > > Key: HIVE-22529 > URL: https://issues.apache.org/jira/browse/HIVE-22529 > Project: Hive > Issue Type: Improvement >Reporter: David Mollitor >Assignee: David Mollitor >Priority: Major > Attachments: HIVE-22529.1.patch > > > In some places, the following DEBUG logging was introduced: > {code:java} > LOG.debug("Message", new Exception()); > {code} > The purpose of this is to log the stack trace of the Thread calling this > debug logging method. However, the resulting log message includes the > following: > {code:none} > 2019-11-19T08:13:31,392 DEBUG [Thread] Logger: Message > java.lang.Exception: null > at > {code} > To the observer, it appears that there was perhaps some sort of NPE. Add a > message to the Exception being generated to make it more clear that this > "Exception" is for debugging purposes and not an actual error. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HIVE-22529) Make Debugging Stacktrace More Explicit
[ https://issues.apache.org/jira/browse/HIVE-22529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Mollitor updated HIVE-22529: -- Status: Patch Available (was: Open) > Make Debugging Stacktrace More Explicit > --- > > Key: HIVE-22529 > URL: https://issues.apache.org/jira/browse/HIVE-22529 > Project: Hive > Issue Type: Improvement >Reporter: David Mollitor >Assignee: David Mollitor >Priority: Major > Attachments: HIVE-22529.1.patch > > > In some places, the following DEBUG logging was introduced: > {code:java} > LOG.debug("Message", new Exception()); > {code} > The purpose of this is to log the stack trace of the Thread calling this > debug logging method. However, the resulting log message includes the > following: > {code:none} > 2019-11-19T08:13:31,392 DEBUG [Thread] Logger: Message > java.lang.Exception: null > at > {code} > To the observer, it appears that there was perhaps some sort of NPE. Add a > message to the Exception being generated to make it more clear that this > "Exception" is for debugging purposes and not an actual error. -- This message was sent by Atlassian Jira (v8.3.4#803005)