← Back to Pull requests

[ZEPPELIN-6406] Integrate interpreter config key constants #5184

Open
unknown opened this pull request with 266 lines diff across 3 files
View on GitHub
unknown unknown commented on Mar 17, 2026 14:14 UTC
Author

What is this PR for?

Upstream issue ZEPPELIN-6400 removed the ZeppleinConfiguration dependency 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 InterpreterConfigKeys in zeppelin-common module
[x] - Mark timeUnitToMill() @Deprecated and delegated to ConfigTimeUtils in zeppelin-common module

What 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

Diff: 266 lines (+199 / -67) across 3 files Reviewer: Reamer Review duration: 372390m
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
0.70
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
44%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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
Reviewers
Assignees
Unassigned
Labels
risk: medium confidence: 44.7% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 69.5% (HIGH) · Higher = larger blast radius
69.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 44.7% · Lower = rushed or shallow review
44.7%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 38.5% · Moderate risk
38.5%