hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Yuan Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16528) Procedure-V2: ServerCrashProcedure misses owner information
Date Tue, 30 Aug 2016 15:30:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-16528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15449313#comment-15449313
] 

Stephen Yuan Jiang commented on HBASE-16528:
--------------------------------------------

Superusers.getSystemUser() does not exist for now :-(

{{env.getRequestUser()}} would throw IOException, I don't want to change all the callers to
handle IOException; also it is not a good idea to fail SSH due to this exception.

> Procedure-V2: ServerCrashProcedure misses owner information
> -----------------------------------------------------------
>
>                 Key: HBASE-16528
>                 URL: https://issues.apache.org/jira/browse/HBASE-16528
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase, master, proc-v2
>    Affects Versions: 2.0.0, 1.1.5
>            Reporter: Stephen Yuan Jiang
>            Assignee: Stephen Yuan Jiang
>         Attachments: HBASE-16528.v1-master.patch
>
>
> ServerCrashProcedure constructor does not set up owner information.  If someone wants
to access the owner of ServerCrashProcedure, it would get NPE (eg. in case someone accidentally
tries to abort a ServerCrashProcedure, the coprocessor to check owner of the procedure would
throw NPE)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message