Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-1174

double type core counter of container set has precision issue

    XMLWordPrintableJSON

Details

    Description

      This can be reproduced when we have 2 segments, each has 75gb, 15core. cluster memory-core ratio is 5gb per core, and then we trigger resource consumption by allocating and returning 256mb * 12 vsegs.

      (gdb) p *containerset
      $6 = {Allocated =

      {MemoryMB = 5120, Core = 1, Ratio = 0}

      , Available =

      {MemoryMB = 5120, Core = 0.99999999999999956, Ratio = 0}

      , Containers = 0x7ff07a93c870}
      (gdb) quit
      A debugging session is active.

      Attachments

        Issue Links

          Activity

            People

              yjin Yi Jin
              yjin Yi Jin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: