You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "lianganping (JIRA)" <ji...@apache.org> on 2018/11/02 01:38:00 UTC

[jira] [Updated] (CARBONDATA-3068) cannot load data from hdfs files without hdfs prefix

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

lianganping updated CARBONDATA-3068:
------------------------------------
    Description: 
sql:
LOAD DATA INPATH '/tmp/test.csv' INTO TABLE test OPTIONS('QUOTECHAR'='"','TIMESTAMPFORMAT'='yyyy/MM/dd HH:mm:ss');
error:
org.apache.carbondata.processing.exception.DataLoadingException: The input file does not exist: /tmp/test.csv (state=,code=0)
but the file "test.csv" is in hdfs path, and hadoop conf "core-site.xml" has the property:

fs.defaultFS
hdfs://master:9000

> cannot load data from hdfs files without hdfs prefix
> ----------------------------------------------------
>
>                 Key: CARBONDATA-3068
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3068
>             Project: CarbonData
>          Issue Type: Bug
>          Components: spark-integration
>    Affects Versions: 1.5.0
>            Reporter: lianganping
>            Assignee: lianganping
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> sql:
> LOAD DATA INPATH '/tmp/test.csv' INTO TABLE test OPTIONS('QUOTECHAR'='"','TIMESTAMPFORMAT'='yyyy/MM/dd HH:mm:ss');
> error:
> org.apache.carbondata.processing.exception.DataLoadingException: The input file does not exist: /tmp/test.csv (state=,code=0)
> but the file "test.csv" is in hdfs path, and hadoop conf "core-site.xml" has the property:
> fs.defaultFS
> hdfs://master:9000



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)