[ https://issues.apache.org/jira/browse/HBASE-7814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576855#comment-13576855 ]
Sergey Shelukhin commented on HBASE-7814: ----------------------------------------- Why not invoke the method via reflection instead to avoid potential compilation issues? Doesn't appear like perf would matter here. Also, what if getShortUserName throws some logical exception, +1 to specific exception, or moving the call out of this try-catch > Port HBASE-6963 'unable to run hbck on a secure cluster' to 0.94 > ---------------------------------------------------------------- > > Key: HBASE-7814 > URL: https://issues.apache.org/jira/browse/HBASE-7814 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.94.6 > > Attachments: 7814-v2.txt, HBASE-7814-v0.patch > > -- 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