[ 
https://issues.apache.org/jira/browse/HIVE-15314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15709623#comment-15709623
 ] 

Thejas M Nair commented on HIVE-15314:
--------------------------------------

I believe this is set to warn because it is not an HS2 code error (which is 
like a wrapper around the Driver code in most cases), but an error while 
running the query. In these cases, the underlying driver code usually logs it 
at error level. 
Also, the client is sent the error as well.

cc [~prasadm] [~vgumashta]


> ThriftCLIService should LOG.error rather than LOG.warn when Exception occurs
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-15314
>                 URL: https://issues.apache.org/jira/browse/HIVE-15314
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, Logging
>    Affects Versions: 2.2.0
>            Reporter: Fei Hui
>            Assignee: Fei Hui
>         Attachments: HIVE-15314.1.patch
>
>
> When catch exception, critical error occurs, 
> and the message  in log is ''Error executing statement", "Error getting type 
> info", etc.
> So  we should use LOG.error, and it will remind users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to