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

Get NPE when select from information_schema after updating storage plugins

    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=5b57294

      After updating the Storage plugins from the UI, selecting from INFORMATION_SCHEMA gives a NPE. For example, I have the following setting in dfs schema:

      "default" :

      { "location" : "/drill/testdata/p1tests", "writable" : true, "storageformat" : null }

      ,

      I updated the location to "location" : "/drill/testdata",

      After this, I went to sqlline and ran the following query:
      0: jdbc:drill:schema=dfs> SELECT * FROM INFORMATION_SCHEMA.`TABLES`;
      message: "Failure while running fragment. < NullPointerException"

      After I changed the location back to its previous value, the query runs successfully.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knguyen Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: