You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ayushi Sharma (JIRA)" <ji...@apache.org> on 2017/11/28 15:18:00 UTC

[jira] [Updated] (CARBONDATA-1831) Carbon 1.3.0 - Spark 2.2: Data Loading with Action as Redirect & logger enable is not logging the logs in the defined path.

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

Ayushi Sharma updated CARBONDATA-1831:
--------------------------------------
    Summary: Carbon 1.3.0 - Spark 2.2: Data Loading with Action as Redirect & logger enable is not logging the logs in the defined path.  (was: Carbon 1.3.0 - Spark 2.2: Data Loading is failing with Invalid bad records location.)

> Carbon 1.3.0 - Spark 2.2: Data Loading with Action as Redirect & logger enable is not logging the logs in the defined path.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-1831
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1831
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Ayushi Sharma
>
> Steps:
> 1. 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'
> 2. LOAD DATA INPATH 'HDFS_URL/BabuStore/Data/InsertData/2000_UniqData.csv' into table uniqdata OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','BAD_RECORDS_LOGGER_ENABLE'='TRUE', 'BAD_RECORDS_ACTION'='REDIRECT','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1')
> Issue:
> Data Load is failing with invalid bad_records error, when location is not specified in the load command & when bad_records location is provided it is not creating the logs folder in the provided path.
> Expected:
> Data Load should pass without any error if bad_records location is not specified.



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