[
https://issues.apache.org/jira/browse/SPARK-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated SPARK-6532:
-----------------------------
Component/s: Windows
Priority: Minor (was: Blocker)
Summary: spark-mllib_2.10 fails to compile LDAModel.java on Windows
(was: spark-mllib_2.10 fails to compile LDAModel.java)
(This is not a Blocker, as it's at best a style violation)
Hm, looks specific to Windows, since both of you were using Windows and I'm not
(nor are the Jenkins builds). My guess is that it's a stray character in this
file that the Windows default encoding doesn't like or something. I don't see
it on casual inspection though. I wonder if you can dig in to get scalastyle to
spit out something more useful than "Input length = 1"?
> spark-mllib_2.10 fails to compile LDAModel.java on Windows
> ----------------------------------------------------------
>
> Key: SPARK-6532
> URL: https://issues.apache.org/jira/browse/SPARK-6532
> Project: Spark
> Issue Type: Bug
> Components: Build, Windows
> Affects Versions: 1.3.0
> Environment: Windows 7, Maven 3.1.0
> Reporter: Brian O'Keefe
> Priority: Minor
>
> When executing mvn -Pyarn -Phadoop-2.4 -Dhadoop.version=2.5.2 -DskipTests -X
> clean package, the build fails with the error:
> [DEBUG] Configuring mojo org.scalastyle:scalastyle-maven-plugin:0.4.0:check
> from plugin realm ClassRealm[plugin>org.sca
> astyle:scalastyle-maven-plugin:0.4.0, parent:
> sun.misc.Launcher$AppClassLoader@1174ec5]
> [DEBUG] Configuring mojo 'org.scalastyle:scalastyle-maven-plugin:0.4.0:check'
> with basic configurator -->
> [DEBUG] (f) baseDirectory = C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib
> [DEBUG] (f) buildDirectory =
> C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\target
> [DEBUG] (f) configLocation = scalastyle-config.xml
> [DEBUG] (f) failOnViolation = true
> [DEBUG] (f) failOnWarning = false
> [DEBUG] (f) includeTestSourceDirectory = false
> [DEBUG] (f) outputEncoding = UTF-8
> [DEBUG] (f) outputFile =
> C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\scalastyle-output.xml
> [DEBUG] (f) quiet = false
> [DEBUG] (f) skip = false
> [DEBUG] (f) sourceDirectory =
> C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\src\main\scala
> [DEBUG] (f) testSourceDirectory =
> C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\src\test\scala
> [DEBUG] (f) verbose = false
> [DEBUG] (f) project = MavenProject: org.apache.spark:spark-mllib_2.10:1.3.0
> @ C:\Users\u6013553\spark-1.3.0\spark-1.3
> 0\mllib\dependency-reduced-pom.xml
> [DEBUG] -- end configuration --
> [DEBUG] failOnWarning=false
> [DEBUG] verbose=false
> [DEBUG] quiet=false
> [DEBUG]
> sourceDirectory=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\src\main\scala
> [DEBUG] includeTestSourceDirectory=false
> [DEBUG] buildDirectory=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\target
> [DEBUG] baseDirectory=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib
> [DEBUG]
> outputFile=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\scalastyle-output.xml
> [DEBUG] outputEncoding=UTF-8
> [DEBUG] inputEncoding=null
> [DEBUG] processing
> sourceDirectory=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\src\main\scala
> encoding=null
> error
> file=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\src\main\scala\org\apache\spark\mllib\clustering\LDAModel.sc
> la message=Input length = 1
> Saving to
> outputFile=C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\scalastyle-output.xml
> Processed 143 file(s)
> Found 1 errors
> Found 0 warnings
> Found 0 infos
> Finished in 1571 ms
> scalastyle-output.xml reports
> <?xml version="1.0" encoding="UTF-8"?>
> <checkstyle version="5.0">
> <file
> name="C:\Users\u6013553\spark-1.3.0\spark-1.3.0\mllib\src\main\scala\org\apache\spark\mllib\clustering\LDAModel.scala">
> <error severity="error" message="Input length = 1"></error>
> </file>
> </checkstyle>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]