carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmeet Singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-604) Use Kettle wrong option in Thrift server give wrong error message
Date Fri, 06 Jan 2017 13:10:58 GMT
Harmeet Singh created CARBONDATA-604:
----------------------------------------

             Summary: 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
            Reporter: Harmeet Singh
            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)

Mime
View raw message