Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12306

CellCounter output's wrong value for Total Families Across all Rows in output file

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.5
    • 0.98.8, 0.99.2
    • mapreduce
    • None
    • Reviewed

    Description

      CellCounter output's wrong value for Total Families Across all Rows in output file.

      The scan output of table looks like the following

       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
      

      and the output in the output file of CellCounter looks like this

      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
      

      The Total Families Across all Rows should be 3, but it is 7.

      Attachments

        1. HBASE-12306.patch
          4 kB
          Ashish Singhi
        2. HBASE-12306-0.98.patch
          4 kB
          Ashish Singhi

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ashish singhi Ashish Singhi
            ashish singhi Ashish Singhi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment