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

Divya Gupta updated CARBONDATA-604:
-----------------------------------
    Affects Version/s: 1.0.0-incubating

> Use Kettle wrong option in Thrift server give wrong error message
> -----------------------------------------------------------------
>
>                 Key: CARBONDATA-604
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-604
>             Project: CarbonData
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating
>         Environment: Spark 1.6
>            Reporter: Harmeet Singh
>            Assignee: Ravindra Pesala
>            Priority: Trivial
>
> I am using Thrift Server with following configuration: 
> -Duse.kettle=default
> Here kettle value is wrong and when I run the thrift server, the thrift 
> server is running successfully. After that, I am going to start beeline. In 
> beeline, I am executing load command without any kettle option as below: 
>  LOAD DATA INPATH 'hdfs://localhost:54310/csvs/3000_UniqData.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');
> After executing above command, I am getting Error: 
> java.lang.IllegalArgumentException: For input string: "default" 
> (state=,code=0)
> This error, seems to be wrong, because I am not using any default value in 
> load query, and default is used with thrift.
> So I have following Suggestions: 
> 1. Change the error message, while load query is executing.
> 2. While starting thrift server with wrong value, thrift give us an error and 
> not start.



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

Reply via email to