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

Carl Steinbach commented on HIVE-5196:
--------------------------------------

[~vgumashta] Thanks for catching this. I think we may actually want to remove 
these statements altogether, the rationale being that we probably don't want to 
write a message to the server's log every time a client tries to execute an 
illegal statement or calls an RPC with invalid input parameter values. Ideally 
this error information should be returned directly to the client instead.
                
> ThriftCLIService.java uses stderr to print the stack trace, it should use the 
> logger instead.
> ---------------------------------------------------------------------------------------------
>
>                 Key: HIVE-5196
>                 URL: https://issues.apache.org/jira/browse/HIVE-5196
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>
> ThriftCLIService.java uses stderr to print the stack trace, it should use the 
> logger instead. Using e.printStackTrace is not suitable for production.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to