I meet a problem when I compile spark version 1.3.1. When I compiled the original source codes provided by spark,it was OK. But when I added some source files into the mllib, it came up with errors,like:
- message=File line length exceeds 100 characters
Based on the information at the end of compiling
- [ERROR] Failed to execute goal org.scalastyle:scalastyle-maven-plugin:0.4.0:check (default) on project spark-mllib_2.10: Failed during scalastyle execution: You have 53 Scalastyle violation(s). -> [Help 1]
It should be because of the scalastyle test. I could finish my compile process by closing the validation of scalastyle.
But is there any other ways to handle this problem? I don't think just closing the validation is good enough
Example code of Errors:
good one
val implicitPrefs =
new BooleanParam(this, "implicitPrefs", "whether to use implicit preference", Some(false))
bad one
val implicitPrefs = new BooleanParam(this, "implicitPrefs", "whether to use implicit preference", Some(false))