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

Cannot use PartitionedFileSet in a custom dataset

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: Datasets
    • Labels:
    • Rank:
      1|hzyw6n:

      Description

      When I try to create a custom dataset that uses a PartitionedFileSet, I get errors adding the dataset type:

      
      Caused by: java.lang.IllegalArgumentException: Requested dataset type does NOT exist: co.cask.cdap.api.dataset.lib.PartitionedFileSet
      	at co.cask.cdap.data2.dataset2.InMemoryDatasetDefinitionRegistry.get(InMemoryDatasetDefinitionRegistry.java:41)
      	at co.cask.cdap.data2.datafabric.dataset.type.DatasetDefinitionLoader.load(DatasetDefinitionLoader.java:100)
      	at co.cask.cdap.data2.datafabric.dataset.type.DatasetTypeManager$DependencyTrackingRegistry.get(DatasetTypeManager.java:474)
      	at co.cask.cdap.data2.dataset2.SingleTypeModule.register(SingleTypeModule.java:135)
      	at co.cask.cdap.data2.datafabric.dataset.type.DatasetTypeManager$1.call(DatasetTypeManager.java:137)
      	at co.cask.cdap.data2.datafabric.dataset.type.DatasetTypeManager$1.call(DatasetTypeManager.java:111)
      	at co.cask.cdap.data2.dataset2.tx.TransactionalDatasetRegistry$1.call(TransactionalDatasetRegistry.java:67)
      	at co.cask.tephra.DefaultTransactionExecutor$2.apply(DefaultTransactionExecutor.java:93)
      	at co.cask.tephra.DefaultTransactionExecutor$2.apply(DefaultTransactionExecutor.java:90)
      	at co.cask.tephra.DefaultTransactionExecutor.executeOnce(DefaultTransactionExecutor.java:136)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: