hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21228) Replace all occurences of new Integer with Integer.valueOf
Date Thu, 07 Feb 2019 13:22:00 GMT

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

Hive QA commented on HIVE-21228:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 9 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15777 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.llap.security.TestLlapSignerImpl.testSigning (batchId=336)
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=260)
{noformat}

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
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: 12957876 - PreCommit-HIVE-Build

> Replace all occurences of new Integer with Integer.valueOf
> ----------------------------------------------------------
>
>                 Key: HIVE-21228
>                 URL: https://issues.apache.org/jira/browse/HIVE-21228
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ivan Suller
>            Assignee: Ivan Suller
>            Priority: Trivial
>         Attachments: HIVE-21228.01.patch
>
>
> Creating Integer objects with new Integer(...) creates a new object, while Integer.valueOf(...)
can be cached (and is actually cached in most if not all JVMs) thus reducing GC overhead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message