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

PartitionedFileSet dropPartition isn't deleting files under the partition

    XMLWordPrintableJSON

    Details

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

      Description

      Steps to reproduce:
      Create a partition, writing a file at the output path of that partition.
      Drop the partition. This step will fail.

      The cause is that the delete call on the location of the partition is not recursive, and that there are existing files within the path of that partition.

        Attachments

          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: