[
https://issues.apache.org/jira/browse/SPARK-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-6532.
------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.3.1)
Just re-resolving since there was a separate change for this one.
> LDAModel.scala fails scalastyle 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
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 1.4.0
>
>
> 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]