[ https://issues.apache.org/jira/browse/HIVE-28579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy Fingerman updated HIVE-28579: ------------------------------------- Description: Exception stack traces and other messages appear in Hue and Beeline (see screenshot attached) from Hive Operational log. This log contains messages for a specific query id and is intended for Hive clients. Hue fetches log entries via {{/get_log}} end point.The following settings control operational log behavior: * {{Hive.server2.logging.operation.enabled}} - true/false (true by default) * {{hive.server2.logging.operation.level}} ** NONE: Ignore any logging ** EXECUTION: Log completion of tasks ** PERFORMANCE: Execution + Performance logs ** VERBOSE: All logs * Log level can be changed on session level. * Upstream and downstream the default log level is {{{}EXECUTION{}}}, which displays exception stack traces which is not good as a default for non-technical users. was:When Hive config 'hive.server2.async.exec.async.compile' is true and an exception occurs at compile time, on the caller side (Beeline or Hue) an exception with stack trace is displayed. Stack trace should not be displayed unless using verbose logging mode. > Prevent exception stack traces to be displayed to Hive end-users > ---------------------------------------------------------------- > > Key: HIVE-28579 > URL: https://issues.apache.org/jira/browse/HIVE-28579 > Project: Hive > Issue Type: Improvement > Security Level: Public(Viewable by anyone) > Reporter: Dmitriy Fingerman > Assignee: Dmitriy Fingerman > Priority: Major > Attachments: Screenshot 2024-10-23 at 5.54.03 PM.png > > > Exception stack traces and other messages appear in Hue and Beeline (see > screenshot attached) from Hive Operational log. > This log contains messages for a specific query id and is intended for Hive > clients. > Hue fetches log entries via {{/get_log}} end point.The following settings > control operational log behavior: * > {{Hive.server2.logging.operation.enabled}} - true/false (true by default) > * {{hive.server2.logging.operation.level}} > ** NONE: Ignore any logging > ** EXECUTION: Log completion of tasks > ** PERFORMANCE: Execution + Performance logs > ** VERBOSE: All logs > * Log level can be changed on session level. > * Upstream and downstream the default log level is {{{}EXECUTION{}}}, which > displays exception stack traces which is not good as a default for > non-technical users. -- This message was sent by Atlassian Jira (v8.20.10#820010)