Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13714

Provisioner SPI should not require all cluster details when simply polling status

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
    • Rank:
      1|i00ebj:

      Description

      In the ClusterPollSubtask, the platform only needs to know the cluster's status. However, the `getClusterDetail` method is still called each time, which returns all the details of the cluster and all of its nodes.
      A `getClusterSummary` or `getClusterStatus` method could reduce the number of unnecessary external API calls made by the provisioner implementation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashau Albert Shau
                Reporter:
                ali.anwar Ali Anwar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: