[ https://issues.apache.org/jira/browse/HIVE-15503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772536#comment-15772536 ]
Hive QA commented on HIVE-15503: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12844536/HIVE-15503.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 10896 tests executed *Failed tests:* {noformat} TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=234) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_basic] (batchId=134) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[orc_ppd_schema_evol_3a] (batchId=135) org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_2] (batchId=93) org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_5] (batchId=92) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2714/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2714/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2714/ 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: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12844536 - PreCommit-HIVE-Build > LLAP: Fix use of Runtime.getRuntime.maxMemory in Hive operators > --------------------------------------------------------------- > > Key: HIVE-15503 > URL: https://issues.apache.org/jira/browse/HIVE-15503 > Project: Hive > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Critical > Attachments: HIVE-15503.1.patch, HIVE-15503.2.patch > > > {code} > 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() - > {code} > This will not work very well with LLAP because of the memory sharing by > executors. -- This message was sent by Atlassian JIRA (v6.3.4#6332)