[jira] [Commented] (CARBONDATA-1243) Data Load Failure while loading the data from CSV

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-1243) Data Load Failure while loading the data from CSV

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066403#comment-16066403 ]

Kunal Kapoor commented on CARBONDATA-1243:
------------------------------------------

This is fixed with https://github.com/apache/carbondata/pull/1107

> Data Load Failure while loading the data from CSV
> -------------------------------------------------
>
>                 Key: CARBONDATA-1243
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1243
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-load
>         Environment: Spark 1.6
> Spark 2.1
>            Reporter: Prabhat Kashyap
>         Attachments: 2000_UniqData.csv
>
>
> Data Load failure while loading the Data from CSV.
> Steps to reproduces:
> 1: Create a table
> CREATE TABLE uniqdata (CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 int) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES ("TABLE_BLOCKSIZE"= "256 MB")
> 0: jdbc:hive2://localhost:10000> ;
> +---------+--+
> | Result  |
> +---------+--+
> +---------+--+
> No rows selected (3.823 seconds).
> 2:Load the data into table:
> LOAD DATA INPATH 'hdfs://localhost:54310/2000_UniqData_tabdelm.csv' into table uniqdata OPTIONS('DELIMITER'='/' , 'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1');
> 3:Error While Data Load:
> Error: java.lang.IllegalArgumentException: Pathname /hdfs:/localhost:54310/2000_UniqData_tabdelm.csv from hdfs://localhost:54310/hdfs:/localhost:54310/2000_UniqData_tabdelm.csv is not a valid DFS filename. (state=,code=0)
> Expected Result: Data should be loaded successfully



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)