hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-20093) Replace ServerLoad by ServerMetrics for ServerManager
Date Wed, 28 Feb 2018 23:21:00 GMT

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

Chia-Ping Tsai commented on HBASE-20093:

Thanks [~yuzhihong@gmail.com] for the reports.
{quote}what if master runs 2.0 but some region servers are running 1.x ?
The report from RS to Master is based on protobuf, and the new class ServerMetricsImpl can
process the protobuf request correctly.
{quote}java.lang.ClassCastException: org.apache.hadoop.hbase.ServerMetricsBuilder$ServerMetricsImpl
cannot be cast to org.apache.hadoop.hbase.ServerLoad
  at org.apache.hadoop.hbase.master.HMaster.lambda$getClusterMetricsWithoutCoprocessor$2(HMaster.java:2438){quote}
The master won't useĀ ServerLoad anymore (excluding serverManager.checkAndRecordNewServer...I
will push a addendum to fix it). Not sure why casting still happen. How could I reproduce
the error?

> Replace ServerLoad by ServerMetrics for ServerManager
> -----------------------------------------------------
>                 Key: HBASE-20093
>                 URL: https://issues.apache.org/jira/browse/HBASE-20093
>             Project: HBase
>          Issue Type: Task
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>             Fix For: 2.0.0
>         Attachments: HBASE-20093.v0.patch, HBASE-20093.v1.patch

This message was sent by Atlassian JIRA

View raw message