Closed
Bug 1311285
Opened 8 years ago
Closed 8 years ago
ATMO V2: Use ListClusters for updating cluster info
Categories
(Cloud Services Graveyard :: Metrics: Pipeline, defect, P2)
Cloud Services Graveyard
Metrics: Pipeline
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jezdez, Assigned: jezdez)
References
Details
Attachments
(1 file)
When fetching the cluster info we should use ListClusters instead of iterating over each cluster and getting info individually
Updated•8 years ago
|
Points: --- → 1
Priority: -- → P2
Assignee | ||
Comment 1•8 years ago
|
||
Hm, turns out ListClusters doesn't provide `MasterPublicDnsName` in the response but just the state of the cluster (http://botocore.readthedocs.io/en/latest/reference/services/emr.html#EMR.Client.list_clusters). So we can't easily move to this API endpoint. Mauro, should we just close this as INVALID?
Flags: needinfo?(mdoglio)
Comment 2•8 years ago
|
||
I would try to still use list clusters and eventually run a separate call if the SparkCluster object doesn't have a ip address set and the status is waiting. That would mean we only call the detail endpoint no more than once per cluster. every other info update would be retrieved using the list endpoint. How does that sound to you?
Flags: needinfo?(mdoglio)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jezdez
Status: NEW → ASSIGNED
Comment 3•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•