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

DeltaStreamer bootstrap failed when metrics on caused by DateTimeParseException: Text '00000000000001999' could not be parsed

    XMLWordPrintableJSON

Details

    • 0.5

    Description

      Found this bug in Hudi integrate test ITTestHoodieDemo.java

      HoodieTimeline.METADATA_BOOTSTRAP_INSTANT_TS is a invalid value, "00000000000001", which can not be parsed by DateTimeFormatter with format SECS_INSTANT_TIMESTAMP_FORMAT = "yyyyMMddHHmmss" in method HoodieInstantTimeGenerator.parseDateFromInstantTime

      Error code at org.apache.hudi.common.table.timeline.HoodieInstantTimeGenerator.parseDateFromInstantTime(HoodieInstantTimeGenerator.java:96)

      https://github.com/apache/hudi/blob/master/hudi-common/src/main/java/org/apache/hudi/common/table/timeline/HoodieInstantTimeGenerator.java#L100

      Attachments

        1. error-deltastreamer.log
          5 kB
          Teng Huo

        Issue Links

          Activity

            People

              teng_huo Teng Huo
              teng_huo Teng Huo
              sivabalan narayanan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: