[
https://issues.apache.org/jira/browse/DRILL-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245730#comment-15245730
]
ASF GitHub Bot commented on DRILL-4613:
---------------------------------------
GitHub user vkorukanti opened a pull request:
https://github.com/apache/drill/pull/483
DRILL-4613: Skip the plugin if it throws errors when registering schemas
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vkorukanti/drill DRILL-4613
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/483.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #483
----
commit 438967543b97b971a07c36d29f3734b73fa08369
Author: vkorukanti <[email protected]>
Date: 2016-04-18T14:02:51Z
DRILL-4613: Skip the plugin if it throws errors when registering schemas
----
> Skip the plugin if it throws errors when registering schemas
> ------------------------------------------------------------
>
> Key: DRILL-4613
> URL: https://issues.apache.org/jira/browse/DRILL-4613
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Other
> Reporter: Venki Korukanti
> Assignee: Venki Korukanti
> Priority: Minor
> Fix For: 1.7.0
>
>
> Currently when registering schemas in root schema, if a plugin throws an
> exception we fail the query. This causes every query to fail as every query
> needs a complete schema tree. Plugins could throw exceptions due to transient
> errors (storage server is temporarily not reachable).
> If a plugin throws an exception during schema registration, log an error,
> skip the plugin and continue registering schemas from rest of the plugins. If
> the user is querying tables from other plugins, the query should succeed. If
> the user is querying the tables in skipped plugin, a table not found
> exception is thrown.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)