[jira] [Assigned] (CARBONDATA-604) Use Kettle wrong option in Thrift server give wrong error message

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

[jira] [Assigned] (CARBONDATA-604) Use Kettle wrong option in Thrift server give wrong error message

Akash R Nilugal (Jira)

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

Ravindra Pesala reassigned CARBONDATA-604:
------------------------------------------

    Assignee: Ravindra Pesala

> 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
>         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)