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)

defect

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
Blocks: 1248688
Points: --- → 1
Priority: -- → P2
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)
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: nobody → jezdez
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: