Description
ql/src/java/org/apache/hadoop/hive/ql/exec/GroupByOperator.java: maxHashTblMemory = (long) (memoryPercentage * Runtime.getRuntime().maxMemory()); ql/src/java/org/apache/hadoop/hive/ql/exec/TopNHash.java: // Total Free Memory = maxMemory() - Used Memory; ql/src/java/org/apache/hadoop/hive/ql/exec/TopNHash.java: long totalFreeMemory = Runtime.getRuntime().maxMemory() -
This will not work very well with LLAP because of the memory sharing by executors.