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

Add retry on local dataset creation.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: Workflow
    • Labels:
      None
    • Release Notes:
      Fixed an issue with the retrying of local dataset operations when a failure happens.
    • Rank:
      1|hzzycf:

      Description

      EDIT: In addition to retrying on local dataset creation, we should also retry on deleting local datasets as part of this JIRA too.

      Here's the stacktrace for the issue:

      co.cask.cdap.common.ServiceUnavailableException: Service 'dataset.service' is not available. Please wait until it is up and running.
              at co.cask.cdap.common.internal.remote.RemoteClient.resolve(RemoteClient.java:112) ~[na:na]
              at co.cask.cdap.common.internal.remote.RemoteClient.requestBuilder(RemoteClient.java:77) ~[na:na]
              at co.cask.cdap.data2.datafabric.dataset.DatasetServiceClient.doPut(DatasetServiceClient.java:279) ~[na:na]
              at co.cask.cdap.data2.datafabric.dataset.DatasetServiceClient.addInstance(DatasetServiceClient.java:168) ~[na:na]
              at co.cask.cdap.data2.datafabric.dataset.RemoteDatasetFramework.addInstance(RemoteDatasetFramework.java:152) ~[na:na]
              at co.cask.cdap.data2.dataset2.ForwardingDatasetFramework.addInstance(ForwardingDatasetFramework.java:85) ~[na:na]
              at co.cask.cdap.data2.metadata.writer.LineageWriterDatasetFramework.addInstance(LineageWriterDatasetFramework.java:126) ~[na:na]
              at co.cask.cdap.data2.dataset2.ForwardingDatasetFramework.addInstance(ForwardingDatasetFramework.java:85) ~[na:na]
              at co.cask.cdap.internal.app.runtime.workflow.NameMappedDatasetFramework.addInstance(NameMappedDatasetFramework.java:101) ~[na:na]
              at co.cask.cdap.internal.app.runtime.workflow.NameMappedDatasetFramework.addInstance(NameMappedDatasetFramework.java:94) ~[na:na]
              at co.cask.cdap.internal.app.runtime.workflow.WorkflowDriver.createLocalDatasets(WorkflowDriver.java:518) ~[na:na]
              at co.cask.cdap.internal.app.runtime.workflow.WorkflowDriver.startUp(WorkflowDriver.java:201) ~[na:na]
              at com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:47) ~[com.google.guava.guava-13.0.1.jar:na]
              at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
      

        Attachments

          Activity

            People

            • Assignee:
              denton Denton Liu
              Reporter:
              sagar Sagar Kapare
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: