Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10514

Make sure Interactive Beam cache file path length does not exceed OS limits

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • Missing
    • runner-py-interactive
    • None

    Description

      The path length limit in Linux is 4096.
      The limit in windows API is 260.
      If long file name support is enabled in windows, the limit will be 32767.

      An example path that doesn't work on windows is c:\windows\temp\interactive-temp-xqj_fv471021776\cache-20-07-16-08_28_57\full\beam-temp-anonymous_pcollection_433934912-433934912-433938272-471021776-65e3a91ec73e11ea91b7e69191fc0bf0\284e0d91-ca8a-463c-a894-bde70cdec599.anonymous_pcollection_433934912-433934912-433938272-471021776 (length: 281).

      Consider using obfuscation when mapping in-memory PCollections into files.
      If long file name is needed, consider storing a reverse indexed mapping in memory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ningk Ning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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