Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4218

AnalysisException may cause delete the wrong folder

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.1
    • None
    • spark-integration
    • None

    Description

      If analysisException is caught when creating a table. 

      carbondata will call deleteAllCarbonFilesOfDir fun to delete the files.

      if this folder has some other files then the delete operation is dangerous.

      we can use the hdsf trashcan mechanism, while delete move to trash first.

      uder our product system a false deletion has occurred.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            litao_xidian@126.com Taoli

            Dates

              Created:
              Updated:

              Slack

                Issue deployment