Login  Register

[jira] [Created] (CARBONDATA-476) storeLocation start with file:/// cause table not found exceptioin

Posted by Akash R Nilugal (Jira) on Nov 30, 2016; 1:41pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-476-storeLocation-start-with-file-cause-table-not-found-exceptioin-tp3434.html

WilliamZhu created CARBONDATA-476:
-------------------------------------

             Summary: storeLocation start with file:/// cause table not found exceptioin
                 Key: CARBONDATA-476
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-476
             Project: CarbonData
          Issue Type: Bug
          Components: data-load
    Affects Versions: 0.3.0-incubating
            Reporter: WilliamZhu
            Priority: Minor


When you set carbondata's storelocation starts with file:///, carbondata will fail to create table meta,and  it do not raise any exception

the code if found is in CarbonMetastore.createTableFromThrift
```
 val thriftWriter = new ThriftWriter(schemaFilePath, false)
    thriftWriter.open()
    thriftWriter.write(thriftTableInfo)//if writing failed, it will be quiet.
    thriftWriter.close()
```




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)