hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13986) HMaster instance always returns false for isAborted() check.
Date Thu, 02 Jul 2015 10:13:04 GMT

     [ https://issues.apache.org/jira/browse/HBASE-13986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhishek Kumar updated HBASE-13986:
-----------------------------------
    Attachment: HBASE-13986.patch

attaching patch for review that sets the 'abortRequested' to true for master instance, so
that all master flows using this flag (or isAborted method) gets abort flag value set.

> HMaster instance always returns false for isAborted() check.
> ------------------------------------------------------------
>
>                 Key: HBASE-13986
>                 URL: https://issues.apache.org/jira/browse/HBASE-13986
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Abhishek Kumar
>            Assignee: Abhishek Kumar
>            Priority: Minor
>         Attachments: HBASE-13986.patch
>
>
> It seems that HMaster never set abortRequested flag to true as done by HRegionServer
in its abort() method.We can see isAborted method being used in few places for HMaster instance
(like in HMasterCommandLine.startMaster) where code flow being determined based on the result
of isAborted() call.
> We can set this abortRequested flag in Hmaster's abort() method as well like in HRegionServer's
abort method, let me know if it seems ok. 



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

Mime
View raw message