Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2639 Support S3 as storage
  3. CARBONDATA-2745

Add a seperate Impl for AtomicFileOperations for s3

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.1
    • None
    • None

    Description

      AtomicFileOperationImpl creates a temporary file and then renames the file to actual file name. This is risky in S3 storage as the file has to be deleted and then recreated. 

       

      S3 supports atomic file overwrite. hdfs rename is atomic, while overwrite is not atomic and can result in empty file read temporarily.

      So separate implementations for both hdfs and S3 to ensure consistancy of overwrite and read

      Attachments

        Issue Links

          Activity

            People

              kunalkapoor Kunal Kapoor
              kunalkapoor Kunal Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 50m
                  3h 50m