Yi Jin created HAWQ-1174:
----------------------------

             Summary: double type core counter of container set has precision 
issue
                 Key: HAWQ-1174
                 URL: https://issues.apache.org/jira/browse/HAWQ-1174
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Resource Manager
            Reporter: Yi Jin
            Assignee: Lei Chang


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to