hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-11413) Error in detecting availability of HiveSemanticAnalyzerHooks
Date Mon, 03 Aug 2015 20:08:05 GMT


Hive QA commented on HIVE-11413:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9319 tests executed
*Failed tests:*

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 4 tests failed

This message is automatically generated.

ATTACHMENT ID: 12748467 - PreCommit-HIVE-TRUNK-Build

> Error in detecting availability of HiveSemanticAnalyzerHooks
> ------------------------------------------------------------
>                 Key: HIVE-11413
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.0.0
>            Reporter: Raajay Viswanathan
>            Assignee: Raajay Viswanathan
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.0.0
>         Attachments: HIVE-11413.2.patch, HIVE-11413.2.patch, HIVE-11413.patch
> In {{compile(String, Boolean)}} function in {{}}, the list of available {{HiveSemanticAnalyzerHook}}
(_saHooks_) are obtained using the {{getHooks}} method. This method always  returns a {{List}}
of hooks. 
> However, while checking for availability of hooks, the current version of the code uses
a comparison of _saHooks_ with NULL. This is incorrect, as the segment of code designed to
call pre and post Analyze functions gets executed even when the list is empty. The comparison
should be changed to {{saHooks.size() > 0}}.

This message was sent by Atlassian JIRA

View raw message