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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • Build System

    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

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

            Dates

              Created:
              Updated:
              Resolved: