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

Cluster poll frequency should not be hardcoded

    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|i00ebb:

      Description

      When implementing a Cloud Provisioner, the CDAP platform calls the cluster status method every 2 seconds, and this is hardcoded.
      It should be configurable and some control should be provided to the provisioner with respect to the frequency value.

      Otherwise, the third party cloud provider could rate limit the API call made by the provisioner implementation, causing the provisioner to throw an exception. We should also make sure that the provisioner does retry even if a rate-limit exception is encountered.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                ali.anwar Ali Anwar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: