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

Drop JobId.toShortString()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.1
    • 1.0.0
    • None
    • None

    Description

      There are several places that use JobId.toShortString() instead of the full JobID, for unique directories, etc.

      I think we should drop that method.

      • If the short String representation (8 bytes) is statistically "unique enough", then it is wrong in the first place that the unique IDs have 16 bytes
      • If 16 bytes were chosen with a purpose, then using the short string representation in paths, etc, is clearly violating the guarantees the IDs try to give,

      For purely informational logging, it may be a nice util, bit it seems to encourage wrong use.

      Attachments

        Activity

          People

            uce Ufuk Celebi
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: