Page MenuHomePhabricator
Paste P10073

mjolnir scala violation
ActivePublic

Authored by dcausse on Tue, Jan 7, 7:04 PM.
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=Imports should be grouped together line=133 column=4
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=Imports should be grouped together line=161 column=4
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=There should at least one a single empty line separating groups 3rdParty and spark. line=8 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=org.apache.spark.sql. is in wrong order relative to org.apache.spark.sql.types.StructType. line=13 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=scala.concurrent.duration.Duration should be in group scala, not spark. line=15 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=scala.concurrent. should be in group scala, not spark. line=16 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DataWriter.scala message=scala.util.control.NonFatal should be in group scala, not spark. line=17 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/AtLeastNDistinct.scala message=There should at least one a single empty line separating groups scala and spark. line=4 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DBN.scala message=scala.collection.mutable should be in group scala, not spark. line=18 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DBN.scala message=functions should come before Row. line=19 column=28
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DBN.scala message=org.apache.spark.sql. is in wrong order relative to org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema. line=21 column=0
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/main/scala/org/wikimedia/search/mjolnir/DBN.scala message=No space after token : line=241 column=11
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DataWriterSuite.scala message=Avoid wildcard imports line=11 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DataWriterSuite.scala message=There should at least one a single empty line separating groups 3rdParty and spark. line=6 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DataWriterSuite.scala message=scala.util.Random should be in group scala, not spark. line=9 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DataWriterSuite.scala message=org.apache.spark.sql. is in wrong order relative to org.apache.spark.sql.types.MetadataBuilder. line=10 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DataWriterSuite.scala message=org.scalatest.prop.TableDrivenPropertyChecks._ should be in group 3rdParty, not spark. line=11 column=0
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=Regular expression matched 'println' line=196 column=6
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=org.json4s. should be in group 3rdParty, not spark. line=5 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=org.json4s.jackson.JsonMethods should be in group 3rdParty, not spark. line=6 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=scala.io.Source should be in group scala, not spark. line=8 column=0
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=scala.util.Random should be in group scala, not spark. line=9 column=0
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=Space after token ( line=104 column=7
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/DBNSuite.scala message=No space after token while line=182 column=10
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/SharedSparkContext.scala message=org.scalatest. should be in group 3rdParty, not spark. line=4 column=0
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/AtLeastNDistinctSuite.scala message=Public method must have explicit type line=9 column=6
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/AtLeastNDistinctSuite.scala message=Public method must have explicit type line=11 column=6
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/AtLeastNDistinctSuite.scala message=Avoid wildcard imports line=15 column=2
warning file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/AtLeastNDistinctSuite.scala message=Imports should be grouped together line=15 column=2
error file=/srv/nomoa_dev/ml/mjolnir/jvm/src/test/scala/org/wikimedia/search/mjolnir/AtLeastNDistinctSuite.scala message=org.scalatest.FunSuite should be in group 3rdParty, not spark. line=4 column=0
Processed 7 file(s)

Event Timeline

dcausse created this paste.Tue, Jan 7, 7:04 PM
dcausse changed the title of this paste from m to mjolnir scala violation.
dcausse edited the content of this paste. (Show Details)