Skip to content

Commit

Permalink
fix deprecation flag in build.gradle (#23)
Browse files Browse the repository at this point in the history
also a minor logging change
  • Loading branch information
sumwale committed Jun 25, 2021
1 parent 0a4d6ac commit 5fc98d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Spark Job Server is now included in Datastax Enterprise 4.8!
- [Newsweaver](https://www.newsweaver.com)
- [Instaclustr](http://www.instaclustr.com)
- [Linkfluence](http://www.linkfluence.com)
- [SnappyData](http://www.snappydata.io)
- [SnappyData](https://github.com/TIBCOSoftware/snappydata)

## Features

Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ scalaStyle {
}

tasks.withType(ScalaCompile) {
scalaCompileOptions.additionalParameters = [ '-deprecation', '-feature', '-language:postfixOps', '-language:implicitConversions' ]
scalaCompileOptions.deprecation = false
scalaCompileOptions.additionalParameters = [ '-feature', '-language:postfixOps', '-language:implicitConversions' ]
}
tasks.withType(ScalaDoc) {
scalaDocOptions.additionalParameters = [ '-deprecation', '-feature', '-language:postfixOps', '-language:implicitConversions' ]
scalaDocOptions.deprecation = false
scalaDocOptions.additionalParameters = [ '-feature', '-language:postfixOps', '-language:implicitConversions' ]
}

dependencies {
Expand Down
3 changes: 2 additions & 1 deletion job-server/src/spark.jobserver/JobManagerActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ class JobManagerActor(contextConfig: Config) extends InstrumentedActor {
private val jobServerNamedObjects = new JobServerNamedObjects(context.system)

override def postStop() {
logger.info("Shutting down SparkContext {}", contextName)
logger.info("Shutting down job context {} (type = {})", contextName,
if (jobContext ne null) jobContext.getClass.getName else "null")
Option(jobContext).foreach(_.stop())
}

Expand Down

0 comments on commit 5fc98d2

Please sign in to comment.