Krystal created DRILL-1129:
------------------------------

             Summary: Get NPE when select from information_schema after 
updating storage plugins
                 Key: DRILL-1129
                 URL: https://issues.apache.org/jira/browse/DRILL-1129
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Information Schema
            Reporter: Krystal


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to