-
Notifications
You must be signed in to change notification settings - Fork 2
PROD-1307 Timeline upgrade (library) #57
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
Conversation
| volumes_response = Response(error=DatabricksError(message=missing_message("ebs volumes"))) | ||
| else: | ||
| volumes_response = Response(result={"Volumes": cluster_info.get("Volumes")}) | ||
| volumes_response = Response(result=cluster_info.get("volumes")) |
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.
Just want to make confirm the capitalization change of "volume" here is expected
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.
yep this is expected, that was part of the "de-nesting" that I talked about.
syncbrian
left a comment
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.
LGTM!
https://synccomputing.atlassian.net/browse/PROD-1307
Upgrade to the cluster monitoring for both aws-databricks and azure-databricks. For each instance that is added to the cluster (defined as having the cluster tag), the
instances_timelinelist keeps track of the continuous intervals where those instances first and last seen running.I took this opportunity to reshape the cluster report payload to reduce the unnecessary double-nesting of some fields. Although this wasn't strictly necessarily, it rather significantly reduces the complexity of processing in multiple areas both within syncsparkpy and in the backend. Accommodating this change in the backend to maintain backwards compatibility was straightforward and will be well tested.
Corresponding backend PR: https://github.com/synccomputingcode/sync_backend/pull/445
Slide deck with testing results: https://docs.google.com/presentation/d/1x05FDH3xRkANAo0PchKeBUu9ZFxicHFP3m11dnhxqj0/edit#slide=id.g29bb9035aeb_0_71