[
https://issues.apache.org/jira/browse/HBASE-12306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu resolved HBASE-12306.
----------------------------
Resolution: Fixed
Verified that TestCellCounter passes with patch.
> CellCounter output's wrong value for Total Families Across all Rows in output
> file
> ----------------------------------------------------------------------------------
>
> Key: HBASE-12306
> URL: https://issues.apache.org/jira/browse/HBASE-12306
> Project: HBase
> Issue Type: Bug
> Components: mapreduce
> Affects Versions: 0.98.5
> Reporter: Ashish Singhi
> Assignee: Ashish Singhi
> Fix For: 2.0.0, 0.98.8, 0.99.2
>
> Attachments: HBASE-12306-0.98.patch, HBASE-12306.patch
>
>
> CellCounter output's wrong value for {{Total Families Across all Rows}} in
> output file.
> The scan output of table looks like the following
> {noformat}
> r1 column=f:count,
> timestamp=1413444040422, value=v1
> r1 column=f1:count1,
> timestamp=1413444045493, value=v1
> r1 column=f2:count2,
> timestamp=1413444051461, value=v1
> r2 column=f:count,
> timestamp=1413444073282, value=v2
> r2 column=f1:count1,
> timestamp=1413444077666, value=v2
> r2 column=f2:count2,
> timestamp=1413444083141, value=v2
> r3 column=f:count,
> timestamp=1413444184672, value=v3
> {noformat}
> and the output in the output file of CellCounter looks like this
> {noformat}
> Total Families Across all Rows 7
> Total Qualifiers across all Rows 7
> Total ROWS 3
> f 3
> f,count 3
> f1 2
> f1,count1 2
> f2 2
> f2,count2 2
> r1,f,count_Versions 1
> r1,f1,count1_Versions 1
> r1,f2,count2_Versions 1
> r2,f,count_Versions 1
> r2,f1,count1_Versions 1
> r2,f2,count2_Versions 1
> r3,f,count_Versions 1
> {noformat}
> The {{Total Families Across all Rows}} should be 3, but it is 7.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)