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-21199) Replace all occurences of new Byte with Byte.valueOf
Date Mon, 04 Feb 2019 10:54:00 GMT

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

Hive QA commented on HIVE-21199:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 15722 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.metastore.TestObjectStore.testDeprecatedConfigIsOverwritten (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDirectSQLDropParitionsCleanup (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDirectSQLDropPartitionsCacheCrossSession
(batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDirectSqlErrorMetrics (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testEmptyTrustStoreProps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testMaxEventResponse (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testPartitionOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testQueryCloseOnError (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testRoleOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testUseSSLProperty (batchId=230)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12957484 - PreCommit-HIVE-Build

> Replace all occurences of new Byte with Byte.valueOf
> ----------------------------------------------------
>
>                 Key: HIVE-21199
>                 URL: https://issues.apache.org/jira/browse/HIVE-21199
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Ivan Suller
>            Assignee: Ivan Suller
>            Priority: Trivial
>         Attachments: HIVE-21199.01.patch, HIVE-21199.02.patch, HIVE-21199.03.patch
>
>
> Creating Byte objects with new Byte(...) creates a new object, while Byte.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