Recently in learning the spark source code, but using SBT to compile source code, the following problems:
Java. Lang. RuntimeException: Failing because of negative scalastyle result
At the scala. Sys. Package $. Error (package. Scala: 27)
At org. Scalastyle. SBT. The Tasks $. HandleResult $1 (132) Plugin. Scala:
At org. Scalastyle. SBT. The Tasks $. DoScalastyleWithConfig $1 (187) Plugin. Scala:
The at org. Scalastyle. SBT. The Tasks $. DoScalastyle (Plugin. Scala: 192)
At SparkBuild $$$$1 $$anonfun cachedScalaStyle anonfun $17. Apply (SparkBuild. S cala: 174)
At SparkBuild $$$$1 $$anonfun cachedScalaStyle anonfun $17. Apply (SparkBuild. S cala: 160)
At SBT. FileFunction $$anonfun $cached $1. Apply (253) Tracked. Scala:
At SBT. FileFunction $$anonfun $cached $1. Apply (253) Tracked. Scala:
At SBT. FileFunction $$anonfun $cached $2 $$$apply anonfun $3 $$anonfun $$4. Apply the apply (267) Tracked. Scala:
At SBT. FileFunction $$anonfun $cached $2 $$$apply anonfun $3 $$anonfun $$4. Apply the apply (263) Tracked. Scala:
At SBT. Difference. Apply (224) Tracked. Scala:
At SBT. Difference. Apply (206) Tracked. Scala:
At SBT. FileFunction $$$cached anonfun $2 $$anonfun $$3. Apply the apply (263) Tracked. Sca la:
At SBT. FileFunction $$$cached anonfun $2 $$anonfun $$3. Apply the apply (262) Tracked. Sca la:
At SBT. Difference. Apply (224) Tracked. Scala:
At SBT. Difference. Apply (200) Tracked. Scala:
At SBT. FileFunction $$anonfun $cached $2. Apply (262) Tracked. Scala:
At SBT. FileFunction $$anonfun $cached $2. Apply (260) Tracked. Scala:
The at SparkBuild $$$cachedScalaStyle anonfun $1. Apply (SparkBuild. Scala: 181)
The at SparkBuild $$$cachedScalaStyle anonfun $1. Apply (SparkBuild. Scala: 155)
At the scala. Once Function1 $$$compose anonfun $1. Apply (47) once Function1. Scala:
The at SBT. $$$$anonfun greater tilde $$u2219 $1. Apply (TypeFunctions. Scala: 40)
The at SBT. STD. The Transform of $$$4. -anon work (63) System. The scala:
At SBT. Execute $$anonfun $submit $1 $$$apply anonfun $1. Apply (Execute. Scala: 22 8)
At SBT. Execute $$anonfun $submit $1 $$$apply anonfun $1. Apply (Execute. Scala: 22 8)
The at SBT. ErrorHandling $. WideConvert (ErrorHandling. Scala: 17)
The at SBT. Execute. The work (237). The Execute scala:
The at SBT. Execute $$anonfun $$1. Submit the apply (228). The Execute scala:
The at SBT. Execute $$anonfun $$1. Submit the apply (228). The Execute scala:
The at SBT. ConcurrentRestrictions $$-anon $4 $$anonfun $1. Apply (ConcurrentRestric tions. The scala: 159)
At sbt.Com pletionService $$$2. -anon call (28) CompletionService. Scala:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (Executors. Java: 51 (1)
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1142)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 617)
The at Java. Lang. Thread. The run (Thread. Java: 745)
Java. Lang. RuntimeException: Failing because of negative scalastyle result
At the scala. Sys. Package $. Error (package. Scala: 27)
At org. Scalastyle. SBT. The Tasks $. HandleResult $1 (132) Plugin. Scala:
At org. Scalastyle. SBT. The Tasks $. DoScalastyleWithConfig $1 (187) Plugin. Scala:
The at org. Scalastyle. SBT. The Tasks $. DoScalastyle (Plugin. Scala: 192)
At SparkBuild $$$$1 $$anonfun cachedScalaStyle anonfun $17. Apply (SparkBuild. S cala: 174)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull