commit | c0e18780821ed1325af66d9967f72690ca664a9c | [log] [tgz] |
---|---|---|
author | Manhua <kevinjmh@qq.com> | Sat May 30 10:47:10 2020 +0800 |
committer | QiangCai <qiangcai@qq.com> | Mon Jun 01 11:23:51 2020 +0800 |
tree | 4e57a5d76bdae7d652e8420760146fb46b16e3ea | |
parent | a2c19f58a52ca2e91e9656ff415cf9e02341e84d [diff] |
[CARBONDATA-3836] Fix metadata folder FileNotFoundException while creating new carbon table Why is this PR needed? 1. In the case of using carbon only setting carbon.storelocation, carbon will use local spark warehouse path instead of the configured value. 2. FileNotFoundException is thrown when creating schema file for a brand new table. Because current implementation gets the schema file path by listing the Metadata directory which has not been created. What changes were proposed in this PR? 1. spark.sql.warehouse.dir has its own default value in Spark, remove using carbonStorePath as default value, which will make hiveStorePath.equals(carbonStorePath) TRUE when user not set spark.sql.warehouse.dir. 2. create the Metadata directory before getting the schema file path. Does this PR introduce any user interface change? No Is any new testcase added? No This closes #3780
Apache CarbonData is an indexed columnar data store solution for fast analytics on big data platform, e.g.Apache Hadoop, Apache Spark, etc.
You can find the latest CarbonData document and learn more at: http://carbondata.apache.org
CarbonData file format is a columnar store in HDFS, it has many features that a modern columnar format has, such as splittable, compression schema ,complex data type etc, and CarbonData has following unique features:
CarbonData is built using Apache Maven, to build CarbonData
This is an active open source project for everyone, and we are always open to people who want to use this system or contribute to it. This guide document introduce how to contribute to CarbonData.
To get involved in CarbonData:
Apache CarbonData is an open source project of The Apache Software Foundation (ASF).