From fa02350a27d527a6e83a5b50ca80577847dfbb5f Mon Sep 17 00:00:00 2001 From: LiangJun He <2005hithlj@163.com> Date: Sun, 28 Aug 2022 22:34:33 +0800 Subject: [PATCH] HBASE-27336 The region visualizer shows 'undefined' region server (#4736) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon index 582125b889e..38df9bb9d67 100644 --- a/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon +++ b/hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/RegionVisualizerTmpl.jamon @@ -33,7 +33,7 @@ limitations under the License. format: { type: 'json', property: 'data' } }, transform: [ - { calculate: "split(datum.server_name.servername, ',', 1)[0]", as: 'server_name' }, + { calculate: "split(datum.server_name.server_name, ',', 1)[0]", as: 'server_name' }, { calculate: 'values(datum.region_status)', as: 'region_status' }, { flatten: ['region_status'] }, { calculate: "split(datum.region_status.name, ',', 1)[0]", as: 'table_name' },