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

Building on some encrypted filesystems leads to "File name too long" error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Build System
    • Labels:

      Description

      The classnames generated from the build system can be too long.
      Creating too long filenames in some encrypted filesystems is not possible, including encfs which is what Ubuntu uses.

      This the same as this Spark issue

      The workaround (taken from the linked issue) is to add in Maven under the compile options:

      +              <arg>-Xmax-classfile-name</arg>
      +              <arg>128</arg>
      

      And in SBT add:

      +    scalacOptions in Compile ++= Seq("-Xmax-classfile-name", "128"),
      

        Attachments

          Activity

            People

            • Assignee:
              tvas Theodore Vasiloudis
              Reporter:
              tvas Theodore Vasiloudis
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: