Commit aca9035
committed
[improvement](build) Optimize Hive thirdparty startup and refresh workflow
### What problem does this PR solve?
Related Issue: #62101
Related PR: #62102
Problem Summary:
This PR consolidates Hive thirdparty startup improvements to make refresh/rebuild behavior more predictable, reduce startup overhead, and improve operational observability.
Key updates include:
- introduce structured hive startup modes () and module-selective refresh ()
- persist and reuse hive state, with SHA-based incremental refresh for modules and preinstalled HQL files
- reduce refresh/startup log noise (xtrace gating, obsolete compose version cleanup, cleaner refresh stage logs)
- make Hive bootstrap scripts/HQL idempotent with drop-then-create style and repeatable reruns
- optimize healthy refresh path by skipping unnecessary compose-up steps
- switch JuiceFS default metadata backend for Hive to metastore PostgreSQL and remove auto-MySQL dependency
- add Hive README documenting component segmentation, startup modes, module refresh, and troubleshooting
### Release note
None
### Check List (For Author)
- Test: Manual test
- Ran hive3 refresh and module-scoped refresh via run-thirdparties-docker.sh
- Behavior changed: Yes (Hive startup and refresh behavior is now mode/module driven and defaults to PostgreSQL-backed JuiceFS metadata)
- Does this need documentation: No1 parent 3160231 commit aca9035
208 files changed
Lines changed: 2779 additions & 1513 deletions
File tree
- be
- src
- exec
- operator
- pipeline
- exprs/aggregate
- test/exec
- operator
- pipeline
- docker/thirdparties
- docker-compose/hive
- scripts
- bin
- bootstrap
- create_external_paimon_scripts
- create_preinstalled_scripts
- create_view_scripts
- data
- default
- account_fund
- hive01
- sale_table
- string_table
- student
- test1
- test2
- test_hive_doris
- multi_catalog
- datev2_csv
- datev2_orc
- datev2_parquet
- hive_config_test
- hive_text_complex_type2
- hive_text_complex_type3
- hive_text_complex_type_delimiter2
- hive_text_complex_type_delimiter3
- hive_text_complex_type_delimiter
- hive_text_complex_type
- hive_textfile_array_all_types
- hive_textfile_array_delimiter
- hive_textfile_nestedarray
- hive_upper_case_orc
- hive_upper_case_parquet
- logs1_parquet
- one_partition
- orc_nested_types
- orc_partitioned_columns
- orc_partitioned_one_column
- orc_predicate
- par_fields_in_file_orc
- par_fields_in_file_parquet
- parquet_alter_column_to_bigint
- parquet_alter_column_to_boolean
- parquet_alter_column_to_char
- parquet_alter_column_to_date
- parquet_alter_column_to_decimal
- parquet_alter_column_to_double
- parquet_alter_column_to_float
- parquet_alter_column_to_int
- parquet_alter_column_to_smallint
- parquet_alter_column_to_string
- parquet_alter_column_to_timestamp
- parquet_alter_column_to_tinyint
- parquet_alter_column_to_varchar
- parquet_bloom_filter
- parquet_lz4_compression
- parquet_lzo_compression
- parquet_nested_types
- parquet_partitioned_columns
- parquet_partitioned_one_column
- parquet_predicate_table
- partition_location_1
- partition_location_2
- partition_manual_remove
- test_chinese_orc
- test_chinese_parquet
- test_chinese_text
- test_complex_types
- test_compress_partitioned
- test_csv_format_error
- test_date_string_partition
- test_hive_same_db_table_name
- test_hive_special_char_partition
- test_mixed_par_locations_orc
- test_mixed_par_locations_parquet
- test_multi_langs_orc
- test_multi_langs_parquet
- test_multi_langs_text
- test_special_orc_formats
- test_truncate_char_or_varchar_columns_orc
- test_truncate_char_or_varchar_columns_parquet
- test_truncate_char_or_varchar_columns_text
- test_wide_table
- text_partitioned_columns
- text_partitioned_one_column
- timestamp_with_time_zone
- two_partition
- type_change_orc
- type_change_origin
- type_change_parquet
- partition_type
- bigint_partition
- char_partition
- date_partition
- decimal_partition
- double_partition
- float_partition
- int_partition
- smallint_partition
- string_partition
- tinyint_partition
- varchar_partition
- regression
- crdmm_data
- multi_delimit_serde
- serde_prop
- statistics
- empty_table
- statistics
- stats
- test/hive_test
- tpch_1000_parquet/part
- fe/fe-core/src/main/java/org/apache/doris
- cloud/catalog
- common/util
- nereids/trees/plans/commands/info
- qe
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 240 | + | |
252 | 241 | | |
253 | 242 | | |
254 | 243 | | |
| |||
851 | 840 | | |
852 | 841 | | |
853 | 842 | | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
868 | 849 | | |
869 | 850 | | |
870 | 851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
| 1066 | + | |
1069 | 1067 | | |
1070 | 1068 | | |
1071 | 1069 | | |
1072 | 1070 | | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
| 1071 | + | |
1080 | 1072 | | |
1081 | 1073 | | |
1082 | 1074 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | 282 | | |
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | 287 | | |
296 | 288 | | |
297 | 289 | | |
| |||
307 | 299 | | |
308 | 300 | | |
309 | 301 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | 302 | | |
320 | 303 | | |
321 | 304 | | |
| |||
0 commit comments