Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6063

MLlib doesn't pass mvn scalastyle check due to UTF chars in LDAModel.scala

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.3.1, 1.4.0
    • Build, Windows
    • None

    Description

      On Windows 8.1, trying to build Spark from source (latest Github pull) produces a failure during MLlib build. The cause appears similar to SPARK-3372: unicode characters in a Scala file.

      Affected file
      spark/mllib/src/main/scala/org/apache/spark/mllib/clustering
      LDAModel.scala:133

         * This is often called “theta” in the literature.
      

      Note the two \u201D marks around theta.

      Replacing the \u201D with a standard single apostrophe (\x27) resolves the issue.

      Attachments

        Issue Links

          Activity

            People

              michael.griffiths Michael Griffiths
              michael.griffiths Michael Griffiths
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: