[
https://issues.apache.org/jira/browse/KUDU-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988382#comment-16988382
]
ASF subversion and git services commented on KUDU-2986:
-------------------------------------------------------
Commit caf2b50529ce59bb4847e76c3e32f2574bae7809 in kudu's branch
refs/heads/master from helifu
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=caf2b50 ]
KUDU-2986 p2: adjust the 'live_row_count' metric in master's Web UI
Hide the 'live_row_count' metric in the master's Web UI while
there is any tablet which doesn't support live row count. And
unhide it after the legacy tablets are all deleted.
http://master:8051/metrics?ids=5448c0a8658f467ea373d9044d567011
[
{
"type": "table",
"id": "5448c0a8658f467ea373d9044d567011",
"attributes": {
"table_name": "testtable"
},
"metrics": [
{
"name": "on_disk_size",
"value": 8417243
}
]
}
]
Change-Id: I4c7ac5ca7e8ce9dcc37035a7bc46ca69060d6533
Reviewed-on: http://gerrit.cloudera.org:8080/14601
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
> Incorrect value for the 'live_row_count' metric with pre-1.11.0 tables
> ----------------------------------------------------------------------
>
> Key: KUDU-2986
> URL: https://issues.apache.org/jira/browse/KUDU-2986
> Project: Kudu
> Issue Type: Bug
> Components: CLI, client, master, metrics
> Affects Versions: 1.11.0
> Reporter: YifanZhang
> Priority: Major
>
> When we upgraded the cluster with pre-1.11.0 tables, we got inconsistent
> values for the 'live_row_count' metric of these tables:
> When visiting masterURL:port/metrics, we got 0 for old tables, and got a
> positive integer for a old table with a newly added partition, which is the
> count of rows in the newly added partition.
> When gettingĀ table statistics via `kudu table statistics` CLI tool, we got 0
> for old tables and the old table with a new parition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)