[
https://issues.apache.org/jira/browse/HBASE-13755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580024#comment-14580024
]
Ashish Singhi commented on HBASE-13755:
---------------------------------------
I mentioned that point to avoid remarks of this [kind |
http://blog.tsunanet.net/2012/04/apache-hadoop-abuse-ioexception.html].
bq. In initialize() method, we have User.getCurrent() call inside, which throws
IOException anyway.. not sure it'd good idea to catch it and re-translate to
something else
Lets not catch any exception thrown from an existing method and re-translate it
to something else but instead lets not throw IOE by ourselves when user is null.
> Provide single super user check implementation
> ----------------------------------------------
>
> Key: HBASE-13755
> URL: https://issues.apache.org/jira/browse/HBASE-13755
> Project: HBase
> Issue Type: Improvement
> Reporter: Anoop Sam John
> Assignee: Mikhail Antonov
> Fix For: 2.0.0, 1.2.0
>
> Attachments: HBASE-13755-v1.patch, HBASE-13755-v2.patch,
> HBASE-13755-v3.patch, HBASE-13755-v3.patch, HBASE-13755-v3.patch,
> HBASE-13755-v3.patch, HBASE-13755-v3.patch, HBASE-13755-v4.patch
>
>
> Followup for HBASE-13375.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)