HBASE-27336 The region visualizer shows 'undefined' region server (#4736)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit fa02350a27)
This commit is contained in:
LiangJun He 2022-08-28 22:34:33 +08:00 committed by Duo Zhang
parent 935b0d2277
commit 2e53a517a2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ limitations under the License.
format: { type: 'json', property: 'data' } format: { type: 'json', property: 'data' }
}, },
transform: [ 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' }, { calculate: 'values(datum.region_status)', as: 'region_status' },
{ flatten: ['region_status'] }, { flatten: ['region_status'] },
{ calculate: "split(datum.region_status.name, ',', 1)[0]", as: 'table_name' }, { calculate: "split(datum.region_status.name, ',', 1)[0]", as: 'table_name' },