hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17344) The regionserver web UIs miss the coprocessors of RegionServerCoprocessorHost.
Date Tue, 20 Dec 2016 12:36:58 GMT

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

ChiaPing Tsai updated HBASE-17344:
----------------------------------
    Status: Patch Available  (was: Open)

> The regionserver web UIs miss the coprocessors of RegionServerCoprocessorHost.
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-17344
>                 URL: https://issues.apache.org/jira/browse/HBASE-17344
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.3.0, 1.3.1
>            Reporter: ChiaPing Tsai
>            Assignee: ChiaPing Tsai
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0, 1.4.0, 1.3.1
>
>         Attachments: HBASE-17344.branch-1.v0.patch, HBASE-17344.v0.patch
>
>
> The critical code is shown below.
> {code:title=HRegionServer.java|borderStyle=solid}
>   public String[] getRegionServerCoprocessors() {
>     TreeSet<String> coprocessors = new TreeSet<String>();
>     try {
>       coprocessors.addAll(getWAL(null).getCoprocessorHost().getCoprocessors());
>     } catch (IOException exception) {
>       LOG.warn("Exception attempting to fetch wal coprocessor information for the common
wal; " +
>           "skipping.");
>       LOG.debug("Exception details for failure to fetch wal coprocessor information.",
exception);
>     }
>     Collection<Region> regions = getOnlineRegionsLocalContext();
>     for (Region region: regions) {
>       coprocessors.addAll(region.getCoprocessorHost().getCoprocessors());
>       try {
>         coprocessors.addAll(getWAL(region.getRegionInfo()).getCoprocessorHost().getCoprocessors());
>       } catch (IOException exception) {
>         LOG.warn("Exception attempting to fetch wal coprocessor information for region
" + region +
>             "; skipping.");
>         LOG.debug("Exception details for failure to fetch wal coprocessor information.",
exception);
>       }
>     }
>     return coprocessors.toArray(new String[coprocessors.size()]);
>   }
> {code}
> A case is that the the JMXListener always disappears on the rs web.



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

Mime
View raw message