You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/09/30 03:47:00 UTC

[jira] [Commented] (HBASE-14499) Master coprocessors shutdown will not happen on master abort

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

Hudson commented on HBASE-14499:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.4 #937 (See [https://builds.apache.org/job/HBase-1.4/937/])
HBASE-18890, Backport HBASE-14499 (Master coprocessors shutdown will not (tedyu: rev 790d006cc29e62450bf489ec3177be7de2290ff7)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java


> Master coprocessors shutdown will not happen on master abort
> ------------------------------------------------------------
>
>                 Key: HBASE-14499
>                 URL: https://issues.apache.org/jira/browse/HBASE-14499
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>            Reporter: Pankaj Kumar
>            Assignee: Pankaj Kumar
>             Fix For: 2.0.0
>
>         Attachments: HBASE-14499.patch, HBASE-14499.patch
>
>
> In HMaster,
> {code}
> @Override
>   public void abort(final String msg, final Throwable t) {
>     if (isAborted() || isStopped()) {
>       return;
>     }
>     if (cpHost != null) {
>       // HBASE-4014: dump a list of loaded coprocessors.
>       LOG.fatal("Master server abort: loaded coprocessors are: " +
>           getLoadedCoprocessors());
>     }
>     if (t != null) LOG.fatal(msg, t);
>     stop(msg);
>   }
> {code}
> Here we are invoking stop(...) of HRegionServer, which will try to stop RS coprocessors if rsHost is not NULL.
> So Master coprocessors will not be stopped. We should invoke stopMaster() instead of stop(...).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)