[
https://issues.apache.org/jira/browse/HIVE-22252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942459#comment-16942459
]
Hive QA commented on HIVE-22252:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12981912/HIVE-22252.2.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17017 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.llap.cache.TestBuddyAllocator.testMTT[2] (batchId=363)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/18820/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18820/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18820/
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: 12981912 - PreCommit-HIVE-Build
> Fix caught NullPointerExceptions generated during EXPLAIN
> ---------------------------------------------------------
>
> Key: HIVE-22252
> URL: https://issues.apache.org/jira/browse/HIVE-22252
> Project: Hive
> Issue Type: Bug
> Reporter: John Sherman
> Assignee: John Sherman
> Priority: Minor
> Labels: pull-request-available
> Attachments: HIVE-22252.1.patch, HIVE-22252.2.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> While debugging an issue I noticed that during EXPLAIN the following methods
> throw a NullPointerException:
> VectorColumnOutputMapping#finalize
> AbstractOperatorDesc#getUserLevelStatistics
> AbstractOperatorDesc#getColumnExprMapForExplain
> The exceptions do end up getting caught but we should add null checks and
> gracefully to be less wasteful and to aid future debugging.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)