Repository navigation
[HWORKS-3322] Improve statistics computation performance - #727
Open
javierdlrm wants to merge 5 commits into
Open
javierdlrm wants to merge 5 commits into
javierdlrm wants to merge 5 commits into
Conversation
robzor92
reviewed
Oct 27, 2026
robzor92
left a comment
Collaborator
There was a problem hiding this comment.
Cross-repository adversarial review completed against this head and the companion backend, SDK and chart changes.
Reviewed the statistics-variable defaults and upgrade wording against the implementation and chart. No standalone correctness/performance finding in these documentation changes. The backend review identifies a rolling-upgrade/rollback compatibility problem in the new percentile encoding; once the rollout approach is corrected, align the upgrade instructions with that procedure.
No live deployment or upgrade rehearsal was performed.
javierdlrm
force-pushed
the
HWORKS-3322
branch
from
October 28, 2026 09:53
55c726d to
4c1a324
Compare
javierdlrm
force-pushed
the
HWORKS-3322
branch
from
November 9, 2026 09:31
4c1a324 to
71f519f
Compare
https://hopsworks.atlassian.net/browse/HWORKS-3322 The hopsworks-helm change for this ticket seeds nine statistics variables and raises feature_monitoring_max_num_features from 15 to 32. The chart no longer ships upgrade notes since HWORKS-3580, so the operator-facing part of that change is documented here. logicalclocks.github.io: the 5.2.x to 5.3.x section of the upgrade guide gains a "Statistics defaults" subsection, listed in the overview table. It states the raised feature monitoring limit and how to keep the old one, that the statistics job sizing, retention and incremental settings added in 5.3 default to the previous behaviour, that kube_img_pull_policy is now seeded by the chart, and that an admin-page change to any of them lasts only until the next upgrade. The configuration reference is regenerated from the hopsworks-ee branch, so it carries the new keys, the new default of feature_monitoring_max_num_features and enable_hopsworks_storage_connectors, merged since the last run. Signed-off-by: Javier de la Rúa Martínez <javier@logicalclocks.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P72vZ9McYSW2wbdTKyE5mZ
javierdlrm
force-pushed
the
HWORKS-3322
branch
from
November 19, 2026 20:27
71f519f to
318f6e8
Compare
https://hopsworks.atlassian.net/browse/HWORKS-3322 The statistics defaults section of the 5.2.x to 5.3.x upgrade no longer lists kube_img_pull_policy: the chart no longer seeds it, so an upgrade leaves its value as it was. Signed-off-by: Javier de la Rúa Martínez <javier@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
https://hopsworks.atlassian.net/browse/HWORKS-3322 The statistics defaults section of the 5.2.x to 5.3.x upgrade says that 5.3 stores the extended statistics of up to 32 features per file, which 5.2 cannot read, so while the workers roll a 5.2 worker returns the statistics computed meanwhile without histograms, correlations and KLL sketches, and feature monitoring runs that finish during the rollout should be checked and rerun if they report a shift. Signed-off-by: Javier de la Rúa Martínez <javier@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
https://hopsworks.atlassian.net/browse/HWORKS-3322 The upgrade notes say how the statistics job settings apply to existing jobs: memory and cores are floors, statistics_job_max_executors is a cap, and statistics_job_bytes_per_executor sets the job's maximum executors before each ingestion statistics run. Signed-off-by: Javier de la Rúa Martínez <javier@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DAxzFyApCPywFQBnnibSp4
https://hopsworks.atlassian.net/browse/HWORKS-3322 Merge upstream/main into the branch so the pull request is current with the site it targets. No conflicts. Signed-off-by: Javier de la Rúa Martínez <javier@logicalclocks.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://hopsworks.atlassian.net/browse/HWORKS-3322
Docs side of logicalclocks/hopsworks-helm#2459 (with logicalclocks/hopsworks-ee#3423 and logicalclocks/hopsworks-api#1233). Since HWORKS-3580 the chart ships no upgrade notes, so the operator-facing part of that chart change is documented here. Per the chart's rule, this PR merges no later than the chart PR.
Upgrade guide, 5.2.x to 5.3.x: a "Statistics defaults" subsection, listed in the overview table. It covers:
feature_monitoring_max_num_featuresrising from 15 to 32 on every upgrade, since the chart rewrites its variables from the values file, and how to keep 15;statistics_job_*sizing,statistics_retention_rows_per_entity,statistics_incremental_enabled,statistics_incremental_allowed,statistics_incremental_full_profile_every) defaulting to the previous behaviour;Configuration reference: regenerated with
hopsworks-docs gen-config-varsagainst the hopsworks-ee branch of #3423, so it carries the nine new keys, the new default offeature_monitoring_max_num_features, andenable_hopsworks_storage_connectors(HWORKS-3385, merged since the last regeneration).hopsworks-docs markdownlintandhopsworks-docs check(strict build) pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01P72vZ9McYSW2wbdTKyE5mZ
Review round of 2026-11-20
The
kube_img_pull_policybullet is gone, since logicalclocks/hopsworks-helm#2459 no longer seeds it, and the section describes the rollout window of the extended statistics file format.hopsworks-docs markdownlintandhopsworks-docs check(strict build) pass.Local review of 2026-11-20
The statistics settings bullets say how the
statistics_job_*settings apply to existing jobs: memory and cores are floors,statistics_job_max_executorsis a cap, andstatistics_job_bytes_per_executorsets the job's maximum executors before each ingestion statistics run.hopsworks-docs markdownlintandhopsworks-docs check(strict build) pass.Merge of 2026-11-23
mainmerged into this branch (a merge commit, no rebase) with no conflict.hopsworks-docs markdownlintand the strict build pass, and the generated configuration reference is unchanged.