Venki Korukanti created DRILL-4613:
--------------------------------------

             Summary: 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
            Reporter: Venki Korukanti
            Assignee: Venki Korukanti


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)

Reply via email to