You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2014/09/17 08:32:34 UTC

[jira] [Updated] (DRILL-1427) Failure to initialize storage plug-in results in complete failure of drill-bit initialization

     [ https://issues.apache.org/jira/browse/DRILL-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya Kishore updated DRILL-1427:
----------------------------------
    Attachment: DRILL-1427-Failure-to-initialize-storage-plug-in-res.patch

Attaching the patch for review which disables the misbehaving storage plugin instance at the time of initialization with an error message in the drill bit log.

Any query against such plugin instance will result in {{Table `_<plugin_instance>_`.`_<table_name>_` not found.}} error.

Currently there is no clean way to detect if a plugin is disabled in the query execution path. However, if you think this could be important, we can do it in a followup JIRA.

> Failure to initialize storage plug-in results in complete failure of drill-bit initialization
> ---------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1427
>                 URL: https://issues.apache.org/jira/browse/DRILL-1427
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 0.5.0
>         Environment: Observed on CentOS 6.4 on AWS instances
>            Reporter: David Tucker
>            Assignee: Aditya Kishore
>         Attachments: DRILL-1427-Failure-to-initialize-storage-plug-in-res.patch
>
>
> The storage plug-in configuration screen identifies when a plug-in fails to initializes (eg the Hive server is down) and will leave the plug-in disabled (or fail to creat it altogether).   However, if a configured storage plug-in is not on line when the drill-bit is launched, all attempts at interactive queries (via sqlline or ODBC) fail to proceed.   The impression left with the user is that the drill-bit is completely off-line.
> To reproduce:
>     1. configure Hive storage plug-in and execute simple queries
>     2. shut down drill-bit
>     3. shut down Hive server
>     4. re-launch the drill-bit
>     5. launch sqlline
>           ... no connection will be established, no queries will be possible



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