-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[WIP][Sapphire Velox] presto side SV & Prestissimo config reconciliation #26576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Reviewer's GuideRefactors NativeExecutionSystemConfig to remove production-specific properties and centralize them in configerator, retains only test-specific configs (system memory pushback, experimental spiller path, etc.), and updates all tests and runtime code to reference the new string literals for these keys. Class diagram for updated NativeExecutionSystemConfigclassDiagram
class NativeExecutionSystemConfig {
+CONNECTOR_NUM_IO_THREADS_HW_MULTIPLIER : String
+PRESTO_VERSION : String
+SHUTDOWN_ONSET_SEC : String
+SYSTEM_MEM_PUSHBACK_ENABLED : String
+SYSTEM_MEM_PUSHBACK_ABORT_ENABLED : String
+SYSTEM_MEM_LIMIT_GB : String
+SYSTEM_MEM_SHRINK_GB : String
+WORKER_OVERLOADED_THRESHOLD_MEM_GB : String
+WORKER_OVERLOADED_THRESHOLD_CPU_PCT : String
+EXPERIMENTAL_SPILLER_SPILL_PATH : String
+ENABLE_OLD_TASK_CLEANUP : String
+HTTP_SERVER_ENABLE_ACCESS_LOG : String
+CORE_ON_ALLOCATION_FAILURE_ENABLED : String
+REMOTE_FUNCTION_SERVER_THRIFT_UDS_PATH : String
+REMOTE_FUNCTION_SERVER_SIGNATURE_FILES_DIRECTORY_PATH : String
+REMOTE_FUNCTION_SERVER_SERDE : String
-systemMemPushbackEnabledDefault : String
-systemMemPushbackAbortEnabledDefault : String
-systemMemLimitGbDefault : String
-systemMemShrinkGbDefault : String
-workerOverloadedThresholdMemGbDefault : String
-workerOverloadedThresholdCpuPctDefault : String
-experimentalSpillerSpillPathDefault : String
-enableOldTaskCleanupDefault : String
-httpServerEnableAccessLogDefault : String
-coreOnAllocationFailureEnabledDefault : String
-systemConfigs : Map<String, String>
-defaultSystemConfigs : Map<String, String>
}
Class diagram for removed production config properties in NativeExecutionSystemConfigclassDiagram
class NativeExecutionSystemConfig {
-SYSTEM_MEMORY_GB : String
-QUERY_MEMORY_GB : String
-QUERY_MAX_MEMORY_PER_NODE : String
-USE_MMAP_ALLOCATOR : String
-MEMORY_ARBITRATOR_KIND : String
-SHARED_ARBITRATOR_RESERVED_CAPACITY : String
-SHARED_ARBITRATOR_MEMORY_POOL_INITIAL_CAPACITY : String
-SHARED_ARBITRATOR_MAX_MEMORY_ARBITRATION_TIME : String
-TASK_MAX_DRIVERS_PER_TASK : String
-SHUFFLE_NAME : String
-SPILL_ENABLED : String
-AGGREGATION_SPILL_ENABLED : String
-JOIN_SPILL_ENABLED : String
-ORDER_BY_SPILL_ENABLED : String
-MAX_SPILL_BYTES : String
-systemMemoryGbDefault : String
-queryMemoryGbDefault : String
-queryMaxMemoryPerNodeDefault : String
-useMmapAllocatorDefault : String
-memoryArbitratorKindDefault : String
-sharedArbitratorReservedCapacityDefault : String
-sharedArbitratorMemoryPoolInitialCapacityDefault : String
-sharedArbitratorMaxMemoryArbitrationTimeDefault : String
-taskMaxDriversPerTaskDefault : String
-shuffleNameDefault : String
-spillEnabledDefault : String
-aggregationSpillEnabledDefault : String
-joinSpillEnabledDefault : String
-orderBySpillEnabledDefault : String
-maxSpillBytesDefault : String
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…restodb#26576) Summary: Reconciles Sapphire-Velox and Prestissimo configurations by cleaning up `NativeExecutionSystemConfig.java`. Removes production-related configs (memory management, spill, shuffle, etc.) that are now defined in configerator's `native/config_properties.cinc`. Keeps only test-specific configs (system memory pushback, experimental spiller path, etc.) in the Java class. **Rationale**: Production configs belong in configerator for centralized configuration management. Java configs should only contain test-specific properties needed for local development and testing. # Release Notes ``` == NO RELEASE NOTE == ``` Differential Revision: D85779158
e498215 to
d64aee5
Compare
Summary:
Reconciles Sapphire-Velox and Prestissimo configurations by cleaning up
NativeExecutionSystemConfig.java. Removes production-related configs (memory management, spill, shuffle, etc.) that are now defined in configerator'snative/config_properties.cinc. Keeps only test-specific configs (system memory pushback, experimental spiller path, etc.) in the Java class.Rationale: Production configs belong in configerator for centralized configuration management. Java configs should only contain test-specific properties needed for local development and testing.
Release Notes
Differential Revision: D85779158