1
0

[MINOR] Relaxing cleaner and archival configs (#5142)

This commit is contained in:
Sivabalan Narayanan
2022-03-27 09:26:24 -07:00
committed by GitHub
parent 484b3407e0
commit 85c4a6cfc1
12 changed files with 127 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ dag_content:
first_delete:
config:
num_partitions_delete: 50
num_records_delete: 8000
num_records_delete: 4000
type: SparkDeleteNode
deps: first_upsert
second_validate:

View File

@@ -60,7 +60,7 @@ dag_content:
first_delete:
config:
num_partitions_delete: 50
num_records_delete: 8000
num_records_delete: 4000
type: DeleteNode
deps: first_upsert
second_hive_sync:

View File

@@ -54,7 +54,7 @@ dag_content:
first_delete:
config:
num_partitions_delete: 50
num_records_delete: 8000
num_records_delete: 4000
type: DeleteNode
deps: first_upsert
second_validate:

View File

@@ -54,7 +54,7 @@ dag_content:
first_delete:
config:
num_partitions_delete: 50
num_records_delete: 8000
num_records_delete: 4000
type: DeleteNode
deps: first_upsert
second_validate:

View File

@@ -44,7 +44,7 @@ dag_content:
first_delete:
config:
num_partitions_delete: 1
num_records_delete: 9000
num_records_delete: 3000
type: DeleteNode
deps: third_insert
first_hive_sync:

View File

@@ -44,7 +44,7 @@ dag_content:
first_delete:
config:
num_partitions_delete: 1
num_records_delete: 9000
num_records_delete: 3000
type: DeleteNode
deps: third_insert
first_validate:

View File

@@ -0,0 +1,55 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dag_name: cow-spark-deltastreamer-long-running-multi-partitions.yaml
dag_rounds: 30
dag_intermittent_delay_mins: 0
dag_content:
first_insert:
config:
record_size: 200
num_partitions_insert: 50
repeat_count: 1
num_records_insert: 10000
type: SparkInsertNode
deps: none
first_upsert:
config:
record_size: 200
num_partitions_insert: 50
num_records_insert: 300
repeat_count: 1
num_records_upsert: 3000
num_partitions_upsert: 50
type: SparkUpsertNode
deps: first_insert
first_delete:
config:
num_partitions_delete: 50
num_records_delete: 4000
type: SparkDeleteNode
deps: first_upsert
second_validate:
config:
validate_once_every_itr : 5
validate_hive: false
delete_input_data: true
type: ValidateDatasetNode
deps: first_delete
last_validate:
config:
execute_itr_count: 30
type: ValidateAsyncOperations
deps: second_validate

View File

@@ -0,0 +1,54 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
dag_name: cow-spark-simple.yaml
dag_rounds: 1
dag_intermittent_delay_mins: 1
dag_content:
first_insert:
config:
record_size: 1000
num_partitions_insert: 1
repeat_count: 1
num_records_insert: 100
type: SparkInsertNode
deps: none
first_validate:
config:
validate_hive: false
type: ValidateDatasetNode
deps: first_insert
first_upsert:
config:
record_size: 1000
num_partitions_insert: 1
num_records_insert: 50
repeat_count: 1
num_records_upsert: 100
num_partitions_upsert: 1
type: SparkUpsertNode
deps: first_validate
first_delete:
config:
num_partitions_delete: 1
num_records_delete: 30
type: SparkDeleteNode
deps: first_upsert
second_validate:
config:
validate_hive: false
delete_input_data: false
type: ValidateDatasetNode
deps: first_delete

View File

@@ -22,9 +22,9 @@ hoodie.insert.shuffle.parallelism=100
hoodie.upsert.shuffle.parallelism=100
hoodie.bulkinsert.shuffle.parallelism=100
hoodie.cleaner.commits.retained=5
hoodie.keep.min.commits=9
hoodie.keep.max.commits=10
hoodie.cleaner.commits.retained=8
hoodie.keep.min.commits=12
hoodie.keep.max.commits=14
hoodie.deltastreamer.source.test.num_partitions=100
hoodie.deltastreamer.source.test.datagen.use_rocksdb_for_storing_existing_keys=false

View File

@@ -22,9 +22,9 @@ hoodie.insert.shuffle.parallelism=100
hoodie.upsert.shuffle.parallelism=100
hoodie.bulkinsert.shuffle.parallelism=100
hoodie.cleaner.commits.retained=5
hoodie.keep.min.commits=9
hoodie.keep.max.commits=10
hoodie.cleaner.commits.retained=8
hoodie.keep.min.commits=12
hoodie.keep.max.commits=14
hoodie.deltastreamer.source.test.num_partitions=100
hoodie.deltastreamer.source.test.datagen.use_rocksdb_for_storing_existing_keys=false

View File

@@ -22,9 +22,9 @@ hoodie.insert.shuffle.parallelism=100
hoodie.upsert.shuffle.parallelism=100
hoodie.bulkinsert.shuffle.parallelism=100
hoodie.cleaner.commits.retained=5
hoodie.keep.min.commits=9
hoodie.keep.max.commits=10
hoodie.cleaner.commits.retained=8
hoodie.keep.min.commits=12
hoodie.keep.max.commits=14
hoodie.metadata.enable=true

View File

@@ -22,9 +22,9 @@ hoodie.insert.shuffle.parallelism=100
hoodie.upsert.shuffle.parallelism=100
hoodie.bulkinsert.shuffle.parallelism=100
hoodie.cleaner.commits.retained=5
hoodie.keep.min.commits=9
hoodie.keep.max.commits=10
hoodie.cleaner.commits.retained=8
hoodie.keep.min.commits=12
hoodie.keep.max.commits=14
hoodie.metadata.enable=true