[
https://issues.apache.org/jira/browse/DRILL-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411070#comment-15411070
]
ASF GitHub Bot commented on DRILL-4613:
---------------------------------------
Github user vkorukanti closed the pull request at:
https://github.com/apache/drill/pull/483
> 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: Future
>
>
> 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)