You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2016/11/02 07:27:58 UTC

[jira] [Commented] (HIVE-15109) Set MaxPermSize to 256M for maven tests

    [ https://issues.apache.org/jira/browse/HIVE-15109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15628049#comment-15628049 ] 

Hive QA commented on HIVE-15109:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12836497/HIVE-15109.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 10628 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[columnstats_part_coltype] (batchId=148)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_2] (batchId=91)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1918/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1918/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-1918/

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: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12836497 - PreCommit-HIVE-Build

> Set MaxPermSize to 256M for maven tests
> ---------------------------------------
>
>                 Key: HIVE-15109
>                 URL: https://issues.apache.org/jira/browse/HIVE-15109
>             Project: Hive
>          Issue Type: Test
>          Components: Test
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>            Priority: Minor
>         Attachments: HIVE-15109.patch
>
>
> Trying to run the qtests, for example,
> mvn test -Dtest=TestMiniTezCliDriver -Dqfile=explainanalyze_1.q
> and got 
> {code}
> Running org.apache.hadoop.hive.cli.TestMiniTezCliDriver
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.591 sec - in org.apache.hadoop.hive.cli.TestMiniTezCliDriver
> {code}
> Looking into the hive.log, and found that it was due to too small PermGen space:
> {code}
> 2016-11-01T19:52:19,039 ERROR [org.apache.hadoop.util.JvmPauseMonitor$Monitor@261e733f] server.NIOServerCnxnFactory: Thread Thread[org.apache.hadoop.util.JvmPauseMonitor$Monitor@261e733f,5,main] died
> java.lang.OutOfMemoryError: PermGen space
> {code}
> Setting env MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=256M"  would not help. 
> We can set MaxPermSize to maven.test.jvm.args in pom.xml instead:
> {code}
> <maven.test.jvm.args>-Xmx2048m -XX:MaxPermSize=256M</maven.test.jvm.args>
> {code}



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