[ZEPPELIN-6406] Integrate interpreter config key constants #5184
All Vouch review confidence checks passed
Residual risk 0.38 = Change Risk (0.70) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.70 · 266 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.334
Sensitive Paths
sensitive_paths
0.070
Real PR Conversation Timeline
1 comments
"Review active on #5184"
general
weight: 0.35
Reamer
What is this PR for?
Upstream issue ZEPPELIN-6400 removed the
ZeppleinConfigurationdependency from the zeppelin-interpreter module and replaced it with a plain property-based approach.As a subtask, fix these problems
Config key String (e.g. "zeppelin.interpreter.connection.poolsize") are hardcoded as plain string in RemoteInterpreterServer.java, TimeoutLifecycleManager.java, and SchedulerFactory.java. so typos can only be caught at runtime.
The same keys are defined independently in ZeppelinConfiguration.ConfVars, creating drift risk between two modules.
TimeoutLifecycleManager.parseTimeValue() duplicates the logic of ZeppelinConfiguration.timeUnitToMill().
What type of PR is it?
Refactoring
Todos
[x] - Add a few files in zeppelin-common to remove hardcoded properties
[x] - Replace String config variables with using added common property
InterpreterConfigKeysin zeppelin-common module[x] - Mark timeUnitToMill()
@Deprecatedand delegated to ConfigTimeUtils in zeppelin-common moduleWhat is the Jira issue?
[[ZEPPELIN-6406]](https://issues.apache.org/jira/browse/ZEPPELIN-6406)
How should this be tested?
Simple property tests are added under zeppelin-common module(InterreterConfigKeysTest.java, ConfigTimeUtilsTest.java)
Questions:
Does the license files need to update? - No
Is there breaking changes for older versions? - No
Does this needs documentation? - No