You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chao Sun (JIRA)" <ji...@apache.org> on 2016/07/26 18:33:20 UTC

[jira] [Created] (HIVE-14343) HiveDriverRunHookContext's command is null in HS2 mode

Chao Sun created HIVE-14343:
-------------------------------

             Summary: 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
    Affects Versions: 2.2.0
            Reporter: Chao Sun


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)