Skip to content

Commit 1675fed

Browse files
authored
[HUDI-7798] Mark configs included in 0.15.0 release (#11307)
1 parent d8f51e0 commit 1675fed

File tree

10 files changed

+37
-27
lines changed

10 files changed

+37
-27
lines changed

hudi-aws/src/main/java/org/apache/hudi/config/GlueCatalogSyncClientConfig.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,21 @@ public class GlueCatalogSyncClientConfig extends HoodieConfig {
5050
.defaultValue(1)
5151
.markAdvanced()
5252
.withValidValues(IntStream.rangeClosed(1, 10).mapToObj(Integer::toString).toArray(String[]::new))
53-
.sinceVersion("1.0.0")
53+
.sinceVersion("0.15.0")
5454
.withDocumentation("Parallelism for listing all partitions(first time sync). Should be in interval [1, 10].");
5555

5656
public static final ConfigProperty<Integer> CHANGED_PARTITIONS_READ_PARALLELISM = ConfigProperty
5757
.key(GLUE_CLIENT_PROPERTY_PREFIX + "changed_partitions_read_parallelism")
5858
.defaultValue(1)
5959
.markAdvanced()
60-
.sinceVersion("1.0.0")
60+
.sinceVersion("0.15.0")
6161
.withDocumentation("Parallelism for listing changed partitions(second and subsequent syncs).");
6262

6363
public static final ConfigProperty<Integer> PARTITION_CHANGE_PARALLELISM = ConfigProperty
6464
.key(GLUE_CLIENT_PROPERTY_PREFIX + "partition_change_parallelism")
6565
.defaultValue(1)
6666
.markAdvanced()
67-
.sinceVersion("1.0.0")
67+
.sinceVersion("0.15.0")
6868
.withDocumentation("Parallelism for change operations - such as create/update/delete.");
6969

7070
public static final ConfigProperty<Boolean> GLUE_METADATA_FILE_LISTING = ConfigProperty
@@ -77,15 +77,15 @@ public class GlueCatalogSyncClientConfig extends HoodieConfig {
7777
public static final ConfigProperty<Boolean> META_SYNC_PARTITION_INDEX_FIELDS_ENABLE = ConfigProperty
7878
.key(GLUE_CLIENT_PROPERTY_PREFIX + "partition_index_fields.enable")
7979
.defaultValue(false)
80-
.sinceVersion("1.0.0")
80+
.sinceVersion("0.15.0")
8181
.withDocumentation("Enable aws glue partition index feature, to speedup partition based query pattern");
8282

8383
public static final ConfigProperty<String> META_SYNC_PARTITION_INDEX_FIELDS = ConfigProperty
8484
.key(GLUE_CLIENT_PROPERTY_PREFIX + "partition_index_fields")
8585
.noDefaultValue()
8686
.withInferFunction(cfg -> Option.ofNullable(cfg.getString(HoodieTableConfig.PARTITION_FIELDS))
8787
.or(() -> Option.ofNullable(cfg.getString(KeyGeneratorOptions.PARTITIONPATH_FIELD_NAME))))
88-
.sinceVersion("1.0.0")
88+
.sinceVersion("0.15.0")
8989
.withDocumentation(String.join(" ", "Specify the partitions fields to index on aws glue. Separate the fields by semicolon.",
9090
"By default, when the feature is enabled, all the partition will be indexed.",
9191
"You can create up to three indexes, separate them by comma. Eg: col1;col2;col3,col2,col3"));

hudi-aws/src/main/java/org/apache/hudi/config/HoodieAWSConfig.java

+10-11
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import static org.apache.hudi.config.DynamoDbBasedLockConfig.DYNAMODB_LOCK_REGION;
3737
import static org.apache.hudi.config.DynamoDbBasedLockConfig.DYNAMODB_LOCK_TABLE_NAME;
3838
import static org.apache.hudi.config.DynamoDbBasedLockConfig.DYNAMODB_LOCK_WRITE_CAPACITY;
39-
4039
import static org.apache.hudi.config.GlueCatalogSyncClientConfig.GLUE_SKIP_TABLE_ARCHIVE;
4140

4241
/**
@@ -91,18 +90,18 @@ public class HoodieAWSConfig extends HoodieConfig {
9190
.withDocumentation("External ID use when assuming the AWS Role");
9291

9392
public static final ConfigProperty<String> AWS_GLUE_ENDPOINT = ConfigProperty
94-
.key("hoodie.aws.glue.endpoint")
95-
.noDefaultValue()
96-
.markAdvanced()
97-
.sinceVersion("0.14.2")
98-
.withDocumentation("Aws glue endpoint");
93+
.key("hoodie.aws.glue.endpoint")
94+
.noDefaultValue()
95+
.markAdvanced()
96+
.sinceVersion("0.15.0")
97+
.withDocumentation("Aws glue endpoint");
9998

10099
public static final ConfigProperty<String> AWS_GLUE_REGION = ConfigProperty
101-
.key("hoodie.aws.glue.region")
102-
.noDefaultValue()
103-
.markAdvanced()
104-
.sinceVersion("0.14.2")
105-
.withDocumentation("Aws glue endpoint");
100+
.key("hoodie.aws.glue.region")
101+
.noDefaultValue()
102+
.markAdvanced()
103+
.sinceVersion("0.15.0")
104+
.withDocumentation("Aws glue endpoint");
106105

107106
private HoodieAWSConfig() {
108107
super();

hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieCleanConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public class HoodieCleanConfig extends HoodieConfig {
173173
.defaultValue(false)
174174
.markAdvanced()
175175
.sinceVersion("0.11.0")
176-
.deprecatedAfter("1.0.0")
176+
.deprecatedAfter("0.15.0")
177177
.withDocumentation("Allows scheduling/executing multiple cleans by enabling this config. If users prefer to strictly ensure clean requests should be mutually exclusive, "
178178
+ ".i.e. a 2nd clean will not be scheduled if another clean is not yet completed to avoid repeat cleaning of same files, they might want to disable this config.");
179179

hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieErrorTableConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public class HoodieErrorTableConfig extends HoodieConfig {
7676
public static final ConfigProperty<Boolean> ERROR_ENABLE_VALIDATE_RECORD_CREATION = ConfigProperty
7777
.key("hoodie.errortable.validate.recordcreation.enable")
7878
.defaultValue(true)
79-
.sinceVersion("0.14.2")
79+
.sinceVersion("0.15.0")
8080
.withDocumentation("Records that fail to be created due to keygeneration failure or other issues will be sent to the Error Table");
8181

8282
public static final ConfigProperty<String> ERROR_TABLE_WRITE_FAILURE_STRATEGY = ConfigProperty

hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieLockConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public class HoodieLockConfig extends HoodieConfig {
116116
public static final ConfigProperty<Integer> LOCK_HEARTBEAT_INTERVAL_MS = ConfigProperty
117117
.key(LOCK_HEARTBEAT_INTERVAL_MS_KEY)
118118
.defaultValue(DEFAULT_LOCK_HEARTBEAT_INTERVAL_MS)
119-
.sinceVersion("1.0.0")
119+
.sinceVersion("0.15.0")
120120
.withDocumentation("Heartbeat interval in ms, to send a heartbeat to indicate that hive client holding locks.");
121121

122122
public static final ConfigProperty<String> FILESYSTEM_LOCK_PATH = ConfigProperty

hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,14 @@ public class HoodieWriteConfig extends HoodieConfig {
346346
.key("hoodie.write.buffer.record.sampling.rate")
347347
.defaultValue(String.valueOf(64))
348348
.markAdvanced()
349-
.sinceVersion("1.0.0")
349+
.sinceVersion("0.15.0")
350350
.withDocumentation("Sampling rate of in-memory buffer used to estimate object size. Higher value lead to lower CPU usage.");
351351

352352
public static final ConfigProperty<String> WRITE_BUFFER_RECORD_CACHE_LIMIT = ConfigProperty
353353
.key("hoodie.write.buffer.record.cache.limit")
354354
.defaultValue(String.valueOf(128 * 1024))
355355
.markAdvanced()
356-
.sinceVersion("1.0.0")
356+
.sinceVersion("0.15.0")
357357
.withDocumentation("Maximum queue size of in-memory buffer for parallelizing network reads and lake storage writes.");
358358

359359
public static final ConfigProperty<String> WRITE_EXECUTOR_DISRUPTOR_BUFFER_LIMIT_BYTES = ConfigProperty

hudi-common/src/main/java/org/apache/hudi/common/config/HoodieStorageConfig.java

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ public class HoodieStorageConfig extends HoodieConfig {
155155
public static final ConfigProperty<Boolean> PARQUET_WITH_BLOOM_FILTER_ENABLED = ConfigProperty
156156
.key("hoodie.parquet.bloom.filter.enabled")
157157
.defaultValue(true)
158+
.markAdvanced()
159+
.sinceVersion("0.15.0")
158160
.withDocumentation("Control whether to write bloom filter or not. Default true. "
159161
+ "We can set to false in non bloom index cases for CPU resource saving.");
160162

hudi-common/src/main/java/org/apache/hudi/config/metrics/HoodieMetricsM3Config.java

+11-5
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@
1818

1919
package org.apache.hudi.config.metrics;
2020

21-
import static org.apache.hudi.config.metrics.HoodieMetricsConfig.METRIC_PREFIX;
21+
import org.apache.hudi.common.config.ConfigClassProperty;
22+
import org.apache.hudi.common.config.ConfigGroups;
23+
import org.apache.hudi.common.config.ConfigProperty;
24+
import org.apache.hudi.common.config.HoodieConfig;
2225

2326
import java.io.File;
2427
import java.io.FileReader;
2528
import java.io.IOException;
2629
import java.util.Properties;
27-
import org.apache.hudi.common.config.ConfigClassProperty;
28-
import org.apache.hudi.common.config.ConfigGroups;
29-
import org.apache.hudi.common.config.ConfigProperty;
30-
import org.apache.hudi.common.config.HoodieConfig;
30+
31+
import static org.apache.hudi.config.metrics.HoodieMetricsConfig.METRIC_PREFIX;
3132

3233
/**
3334
* Configs for M3 reporter type.
@@ -45,27 +46,32 @@ public class HoodieMetricsM3Config extends HoodieConfig {
4546
public static final ConfigProperty<String> M3_SERVER_HOST_NAME = ConfigProperty
4647
.key(M3_PREFIX + ".host")
4748
.defaultValue("localhost")
49+
.sinceVersion("0.15.0")
4850
.withDocumentation("M3 host to connect to.");
4951

5052
public static final ConfigProperty<Integer> M3_SERVER_PORT_NUM = ConfigProperty
5153
.key(M3_PREFIX + ".port")
5254
.defaultValue(9052)
55+
.sinceVersion("0.15.0")
5356
.withDocumentation("M3 port to connect to.");
5457

5558
public static final ConfigProperty<String> M3_TAGS = ConfigProperty
5659
.key(M3_PREFIX + ".tags")
5760
.defaultValue("")
61+
.sinceVersion("0.15.0")
5862
.withDocumentation("Optional M3 tags applied to all metrics.");
5963

6064
public static final ConfigProperty<String> M3_ENV = ConfigProperty
6165
.key(M3_PREFIX + ".env")
6266
.defaultValue("production")
67+
.sinceVersion("0.15.0")
6368
.withDocumentation("M3 tag to label the environment (defaults to 'production'), "
6469
+ "applied to all metrics.");
6570

6671
public static final ConfigProperty<String> M3_SERVICE = ConfigProperty
6772
.key(M3_PREFIX + ".service")
6873
.defaultValue("hoodie")
74+
.sinceVersion("0.15.0")
6975
.withDocumentation("M3 tag to label the service name (defaults to 'hoodie'), "
7076
+ "applied to all metrics.");
7177

hudi-utilities/src/main/java/org/apache/hudi/utilities/config/ParquetDFSSourceConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ public class ParquetDFSSourceConfig extends HoodieConfig {
4444
.defaultValue(false)
4545
.withAlternatives(DELTA_STREAMER_CONFIG_PREFIX + "source.parquet.dfs.merge_schema.enable")
4646
.markAdvanced()
47-
.sinceVersion("1.0.0")
47+
.sinceVersion("0.15.0")
4848
.withDocumentation("Merge schema across parquet files within a single write");
4949
}

hudi-utilities/src/main/java/org/apache/hudi/utilities/config/S3EventsHoodieIncrSourceConfig.java

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public class S3EventsHoodieIncrSourceConfig extends HoodieConfig {
5454
.noDefaultValue()
5555
.withAlternatives(DELTA_STREAMER_CONFIG_PREFIX + "source.s3incr.key.prefix")
5656
.markAdvanced()
57+
.deprecatedAfter("0.15.0")
5758
.withDocumentation("Control whether to filter the s3 objects starting with this prefix");
5859

5960
public static final ConfigProperty<String> S3_FS_PREFIX = ConfigProperty
@@ -70,6 +71,7 @@ public class S3EventsHoodieIncrSourceConfig extends HoodieConfig {
7071
.noDefaultValue()
7172
.withAlternatives(DELTA_STREAMER_CONFIG_PREFIX + "source.s3incr.ignore.key.prefix")
7273
.markAdvanced()
74+
.deprecatedAfter("0.15.0")
7375
.withDocumentation("Control whether to ignore the s3 objects starting with this prefix");
7476

7577
@Deprecated
@@ -79,6 +81,7 @@ public class S3EventsHoodieIncrSourceConfig extends HoodieConfig {
7981
.noDefaultValue()
8082
.withAlternatives(DELTA_STREAMER_CONFIG_PREFIX + "source.s3incr.ignore.key.substring")
8183
.markAdvanced()
84+
.deprecatedAfter("0.15.0")
8285
.withDocumentation("Control whether to ignore the s3 objects with this substring");
8386

8487
public static final ConfigProperty<String> SPARK_DATASOURCE_OPTIONS = ConfigProperty

0 commit comments

Comments
 (0)