[ https://issues.apache.org/jira/browse/HIVE-16329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950097#comment-15950097 ]
Hive QA commented on HIVE-16329: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12861318/HIVE-16329.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 10540 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[comments] (batchId=35) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr] (batchId=141) org.apache.hive.hcatalog.api.TestHCatClient.testTransportFailure (batchId=172) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/4474/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/4474/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-4474/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12861318 - PreCommit-HIVE-Build > TopN: TopNHash totalFreeMemory computation ignores free memory > -------------------------------------------------------------- > > Key: HIVE-16329 > URL: https://issues.apache.org/jira/browse/HIVE-16329 > Project: Hive > Issue Type: Bug > Affects Versions: 2.2.0, 3.0.0 > Reporter: Gopal V > Assignee: Gopal V > Attachments: HIVE-16329.1.patch, HIVE-16329.2.patch > > > {code} > // TODO: For LLAP, assumption is off-heap cache. > final long memoryUsedPerExecutor = > (memoryMXBean.getHeapMemoryUsage().getUsed() / numExecutors); > // this is total free memory available per executor in case of LLAP > totalFreeMemory = conf.getMaxMemoryAvailable() - memoryUsedPerExecutor; > {code} > {code} > exec.TopNHash: isTez parameters -615768144 = 5312782848 - 71142611912 / 12 > {code} > This turns off the TopNHash entirely causing something trivial like > {code} > select c_custkey, count(1) from customer group by c_custkey limit 10; > {code} > To shuffle 30M rows instead of 10. -- This message was sent by Atlassian JIRA (v6.3.15#6346)