From af7225ce2944ebbc0b4bbdf8952287026bd55103 Mon Sep 17 00:00:00 2001 From: Steven Koeber Date: Mon, 6 Apr 2020 13:15:29 -0700 Subject: [PATCH] Rl: Dqn-Preprocessing Summary: Buckification of Spark projects: This diff is forRl: Dqn-preprocessing app. Using it pom.xml file as a guide, a TARGET file was created for the app. Background Info: For all Java projects in fbcode, build will be done with buck. Since mid-2018, there's an in-flight move to get completely onto buck for development and deployment of all internal Java code: See: https://fb.facebook.com/groups/java.eng/permalink/1626137397434869/ Reviewed By: k21 Differential Revision: D20428514 fbshipit-source-id: cf9cfaaa90e56ccc9b7323a3c6e62b3d71f4a1e8 --- .../com/facebook/spark/common/testutil/PipelineTester.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preprocessing/src/test/scala/com/facebook/spark/common/testutil/PipelineTester.scala b/preprocessing/src/test/scala/com/facebook/spark/common/testutil/PipelineTester.scala index 2483121d..365791b5 100644 --- a/preprocessing/src/test/scala/com/facebook/spark/common/testutil/PipelineTester.scala +++ b/preprocessing/src/test/scala/com/facebook/spark/common/testutil/PipelineTester.scala @@ -29,7 +29,7 @@ trait PipelineTester extends FunSuiteLike with BeforeAndAfterAll with TestLoggin @transient private var _sqlContext: SQLContext = _ def sqlContext: SQLContext = _sqlContext - val appID = new Date().toString + math.floor(math.random * 10E4).toLong.toString + val appID = new Date().toString + math.floor(math.random * 10e4).toLong.toString val sparkConf = new SparkConf() .setMaster("local[*]")