SBT test does not work for spark test

后端 未结 5 747
误落风尘
误落风尘 2021-01-04 21:17

I have a simple spark function to test DF windowing:

    import org.apache.spark.sql.{DataFrame, SparkSession}

    object ScratchPad {

      def main(args:         


        
5条回答
  •  一生所求
    2021-01-04 21:34

    Folowing quick and dirty hack solves the problem

    System.setSecurityManager(null)
    

    Anyway as it's related to automated tests only maybe it's not that problematic after all ;)

提交回复
热议问题