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:
parent
935b0d2277
commit
2e53a517a2
|
@ -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' },
|
||||||
|
|
Loading…
Reference in New Issue