You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2015/04/22 00:22:59 UTC

[jira] [Closed] (DRILL-1129) Get NPE when select from information_schema after updating storage plugins

     [ https://issues.apache.org/jira/browse/DRILL-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krystal closed DRILL-1129.
--------------------------

Verified that bug is fixed.  

> 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
>             Fix For: 0.4.0
>
>
> 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.3.4#6332)