[ 
https://issues.apache.org/jira/browse/HIVE-24189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ji.chen updated HIVE-24189:
---------------------------
    Description: 
Current Hiveserver2 lacks the feature of logging command related statement in 
hiveserver2 log files. It will cause inconvenience for customer to debug 
command related statement. 

We have follow case:

HiveServer2 is crashed when our customer executed SET statement, however we 
can't find exact SET  statement customer was executed before.If raw statement 
is recorded in hiveserver2 logs, it will facilitate us to debugging command 
related statement issue.

So we propose a improvement to write the raw statement in hiveserver2 log

property  hive.session.raw.statement.verbose is introduced to control output

 

We have attached patch

  was:
Current Hiveserver2 lacks the feature of logging command related statement in 
hiveserver2 log files. It will cause inconvenience for customer to debug 
command related statement. 

We have follow case:

HiveServer2 is crashed when our customer executed SET statement, however we 
can't find exact SET  statement customer was executed before.If raw statement 
is recorded in hiveserver2 logs, it will facilitate us to debugging command 
related statement issue.

So we propose a improvement to write the raw statement in hiveserver2 log


> Enable logging executed sql statements  for HiveServer2 before parsing
> ----------------------------------------------------------------------
>
>                 Key: HIVE-24189
>                 URL: https://issues.apache.org/jira/browse/HIVE-24189
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 3.1.0
>            Reporter: ji.chen
>            Assignee: ji.chen
>            Priority: Trivial
>         Attachments: 
> 0001-Enable-logging-executed-sql-statements-for-HiveServe.patch
>
>
> Current Hiveserver2 lacks the feature of logging command related statement in 
> hiveserver2 log files. It will cause inconvenience for customer to debug 
> command related statement. 
> We have follow case:
> HiveServer2 is crashed when our customer executed SET statement, however we 
> can't find exact SET  statement customer was executed before.If raw statement 
> is recorded in hiveserver2 logs, it will facilitate us to debugging command 
> related statement issue.
> So we propose a improvement to write the raw statement in hiveserver2 log
> property  hive.session.raw.statement.verbose is introduced to control output
>  
> We have attached patch



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to