Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4613

Skip the plugin if it throws errors when registering schemas

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: Storage - Other
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vkorukanti Venki Korukanti
                Reporter:
                vkorukanti Venki Korukanti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: