[ https://issues.apache.org/jira/browse/HIVE-21199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760069#comment-16760069 ]
Hive QA commented on HIVE-21199: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12957497/HIVE-21199.03.patch {color:green}SUCCESS:{color} +1 due to 7 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15722 tests executed *Failed tests:* {noformat} org.apache.hive.hcatalog.mapreduce.TestHCatMutableNonPartitioned.testHCatNonPartitionedTable[2] (batchId=214) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15919/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15919/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15919/ 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12957497 - 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)