Hi Team, I am still looking for a guidance here. Really appreciate anything that points me in the right direction.
On Mon, Jul 17, 2023, 16:14 Varun Shah <varunshah100...@gmail.com> wrote: > Resending this message with a proper Subject line > > Hi Spark Community, > > I am trying to set up my forked apache/spark project locally for my 1st > Open Source Contribution, by building and creating a package as mentioned here > under Running Individual Tests > <https://spark.apache.org/developer-tools.html#running-individual-tests>. > Here are the steps I have followed: > >> .build/sbt # this opens a sbt console > >> test # to execute all tests > > I am getting the following error and the tests are failing. Even compile / > package sbt commands fail with the same errors. > >> >> [info] compiling 19 Java sources to >> forked/spark/common/network-shuffle/target/scala-2.12/test-classes ... >> [info] compiling 330 Scala sources and 29 Java sources to >> forked/spark/core/target/scala-2.12/test-classes ... >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:21:0: >> There should at least one a single empty line separating groups 3rdParty >> and spark. >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:32:0: >> org.json4s.JsonAST.JValue should be in group 3rdParty, not spark. >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:33:0: >> org.json4s.JsonDSL._ should be in group 3rdParty, not spark. >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:34:0: >> org.json4s._ should be in group 3rdParty, not spark. >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:35:0: >> org.json4s.jackson.JsonMethods._ should be in group 3rdParty, not spark. >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:37:0: >> java.util.Locale should be in group java, not spark. >> [error] >> forked/spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/DataType.scala:38:0: >> scala.util.control.NonFatal should be in group scala, not spark. >> [error] >> forked/spark/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala:226: >> File line length exceeds 100 characters >> [error] stack trace is suppressed; run last catalyst / >> scalaStyleOnCompile for the full output >> [error] stack trace is suppressed; run last scalaStyleOnTest for the full >> outpu >> [error] (catalyst / scalaStyleOnCompile) Failing because of negative >> scalastyle result >> [error] (scalaStyleOnTest) Failing because of negative scalastyle result >> > > Can you please guide me if I am doing something wrong. > > Regards, > Varun Shah >