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

heap size computation for HStore is fishy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      There's something off with heap size computation for HStore. If one adds a long to HStore, and size of long to the computation, TestHeapSize passes both locally (for me) and in jenkins. If one adds an int and size of int, it passes locally but fails in Jenkins. Perhaps the numbers are already off and some sort of packing is taking/not taking place differently.

      On a tangentially related note, if we can obtain size programmatically (the way we do it in test), and only need to do it once, I wonder if we should just do it and remove all the manually modifiable constants stuff.

      Attachments

        1. HBASE-8384-v0.patch
          3 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: