hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Sun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14343) HiveDriverRunHookContext's command is null in HS2 mode
Date Wed, 03 Aug 2016 20:05:20 GMT

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

Chao Sun commented on HIVE-14343:
---------------------------------

[~leftylev] Oops my bad. Thanks for pointing out!

> HiveDriverRunHookContext's command is null in HS2 mode
> ------------------------------------------------------
>
>                 Key: HIVE-14343
>                 URL: https://issues.apache.org/jira/browse/HIVE-14343
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.2.0
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>             Fix For: 2.2.0
>
>         Attachments: HIVE-14343.0.patch, HIVE-14343.1.patch
>
>
> Looking at the {{Driver#runInternal(String command, boolean alreadyCompiled)}}:
> {code}
>     HiveDriverRunHookContext hookContext = new HiveDriverRunHookContextImpl(conf, command);
>     // Get all the driver run hooks and pre-execute them.
>     List<HiveDriverRunHook> driverRunHooks;
> {code}
> The context is initialized with the {{command}} passed in to the method. However, this
command is always null if {{alreadyCompiled}} is true, which is the case for HS2 mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message