[ https://issues.apache.org/jira/browse/HIVE-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778514#comment-13778514 ]
Thejas M Nair commented on HIVE-5196: ------------------------------------- Logging it at error level will scare users. Lets use log.warn instead of log.error, we don't want to miss these logs either. Until we have a good way of distinguishing user errors from hive system errors, it is important to log them. > 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 > Fix For: 0.12.0 > > Attachments: D13107.1.patch, HIVE-5196.D13107.1.patch > > > 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