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

ExEnv#registerCachedFile should accept Path

    XMLWordPrintableJSON

    Details

      Description

      Currently, registerCachedFile accepts Strings as file-paths.

      This is undesirable because invalid paths are detected much later than necessary; at the moment this happens when we attempt to upload them to the blob store, i.e. during job submission, when ideally it should fail right away.

      As an intermediate solution we can modify the DistributedCacheEntries to contain Paths instead of Strings. This will not require API changes but still allow earlier detection.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tianchen92 Ji Liu
                Reporter:
                Zentol Chesnay Schepler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m