Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: API, CDAP
    • Labels:
      None
    • Release Notes:
      CDAP context methods will now be retried according to a program's retry policy.
    • Rank:
      1|hzzrvz:

      Description

      Many methods in program contexts use service discovery to find the URL to use when making remote calls. Most have hardcoded timeouts. These should be changed to use the retry policy configured for the program. Some examples are:

      DatasetContext.getDataset() (if the cache is not hit)
      SecureStore.listSecureData()
      SecureStore.getSecureData()
      Transactional.execute()
      Admin.datasetExists()
      Admin.getDatasetType()
      Admin.getDatasetProperties()
      Admin.createDataset()
      Admin.updateDataset()
      Admin.dropDataset()
      Admin.truncateDataset()
      StreamWriter.write() (only in Workers)
      StreamWriter.writeFile() (only in Workers)
      StreamBatchWriter (only in Workers)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashau Albert Shau
                Reporter:
                ashau Albert Shau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: