Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-5025

Rollback failed with log file not found when rollOver in rollback process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.12.2
    • None

    Description

      Currently when rollOver happened in rollback was not create new log file ,thus caused below exception 

      some test log:

      2022-10-13 16:58:54,613 INFO  org.apache.hudi.common.table.log.HoodieLogFormatWriter       [] - HoodieLogFile{pathStr='viewfs://dcfs/ns-common/car/dws/dws_order_info_by_flinkbatch_history/2022-10-12/.00000002-1251-4f1c-8f75-71ff51071ee3_20221013052439696.log.1_2-4-0', fileLen=0} exists. Appending to existing file

      2022-10-13 16:58:54,974 INFO  org.apache.hudi.table.action.rollback.BaseRollbackHelper     [] - after testrollback writer.LogFile: viewfs://dcfs/ns-common/car/dws/dws_order_info_by_flinkbatch_history/2022-10-12/.00000002-1251-4f1c-8f75-71ff51071ee3_20221013052439696.log.2_1-0-1

       


       

      Attachments

        Issue Links

          Activity

            People

              guoyihua Ethan Guo
              wukong konwu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: