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

multiple segment files created for partition table for one segment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.4
    • None
    • None

    Description

      unnecessary file 0.tmp.  also  created along with duplicate segment files (and 0_1553762464817.segment,0_1553762469148.segment)   

      create table f (name string) partitioned by (b int) stored by 'carbondata' ;

      insert into f select 'a',10;

      check hdfs store location 

      hadoop fs -ls /user/hive/warehouse/carbon.store/carbon1_1_test/f/Metadata/segments/
      Found 3 items
      rw-rw-r-+ 3 carbon hive 163 2019-03-28 14:11 /user/hive/warehouse/carbon.store/carbon1_1_test/f/Metadata/segments/0_1553762464817.segment
      rw-rw-r-+ 3 carbon hive 158 2019-03-28 14:11 /user/hive/warehouse/carbon.store/carbon1_1_test/f/Metadata/segments/0_1553762469148.segment
      drwxrwx---+ - carbon hive 0 2019-03-28 14:11 /user/hive/warehouse/carbon.store/carbon1_1_test/f/Metadata/segments/_0.tmp

       

      Attachments

        Issue Links

          Activity

            People

              kunalkapoor Kunal Kapoor
              Bjangir Babulal
              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 - 4h 40m
                  4h 40m