Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6106

Blob Server doesn't delete tmp fold when exit in HA mode.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Runtime / Coordination
    • None

    Description

      When start in HA mode, Blob server does not put itself in shutdown hook. Line 158-164
      if (highAvailabilityMode == HighAvailabilityMode.NONE) {
      // Add shutdown hook to delete storage directory
      this.shutdownHook = BlobUtils.addShutdownHook(this, LOG);
      }
      else {
      this.shutdownHook = null;
      }

      That means, when kill the application in YARN, tmp fold will not be deleted. What the propose of this design?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              SyinchwunLeo Syinchwun Leo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: