[ https://issues.apache.org/jira/browse/HBASE-21040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16577906#comment-16577906 ]
Ted Yu commented on HBASE-21040: -------------------------------- Should be fine. Can you look at similar calls in non-test code ? > printStackTrace() is used in RestoreDriver in case Exception is caught > ---------------------------------------------------------------------- > > Key: HBASE-21040 > URL: https://issues.apache.org/jira/browse/HBASE-21040 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > Here is related code: > {code} > } catch (Exception e) { > e.printStackTrace(); > {code} > The correct way of logging stack trace is to use the Logger instance. -- This message was sent by Atlassian JIRA (v7.6.3#76005)