hive-issues mailing list archives

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


Hive QA commented on HIVE-21228:

Here are the results of testing the latest attachment:

{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} (batchId=336)
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=260)

Test results:
Console output:
Test logs:

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

This message is automatically generated.

ATTACHMENT ID: 12957876 - PreCommit-HIVE-Build

> Replace all occurences of new Integer with Integer.valueOf
> ----------------------------------------------------------
>                 Key: HIVE-21228
>                 URL:
>             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

View raw message