commit | 1ccfb9be3fab8dfc2556541872632471d733518a | [log] [tgz] |
---|---|---|
author | QiangCai <qiangcai@qq.com> | Mon Aug 24 16:15:54 2020 +0800 |
committer | akashrn5 <akashnilugal@gmail.com> | Tue Aug 25 21:29:06 2020 +0530 |
tree | 8c03ee08983b4569fe09a75ffde2353ab844d20f | |
parent | 9b9264523c58a958eabde3b41f778374bd473fc2 [diff] |
[CARBONDATA-3958] Avoid blocking the loading task when the output queue poll timeout Why is this PR needed? In some cases, the CDC merge tasks are blocked when data loading uses CarbonTableOutputFormat.getRecordWriter method. PR #3856 change the code to avoid using CarbonTableOutputFormat.getRecordWriter, CDC merge will not happen this issue again. But this issue maybe happen in other similar scenarios. Because the poll method of the queue is time out in some cases, so the row batch in the queue will not be polled again. After the queue is full, the queue blocks the writing task puts a new batch. Even if the queue is not full, it will also lose the row batch in the queue. What changes were proposed in this PR? If the output is not closed, it will poll a row batch in the loops till it gets a not null batch. If the output is closed, it will break the loop. Does this PR introduce any user interface change? No Is any new testcase added? No This closes #3897
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
Some features are marked as experimental because the syntax/implementation might change in the future.
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).