You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2013/09/03 09:38:54 UTC
[jira] [Commented] (HIVE-5196) ThriftCLIService.java uses stderr to
print the stack trace, it should use the logger instead.
[ 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