wfxxh opened a new pull request #26408: Branch 2.4
URL: https://github.com/apache/spark/pull/26408
 
 
   [CORE] Can not destroy broadcast in spark2.4.3
   ### When I submit my program in spark2.4.3 the broadcast can not be 
destroyed .But submit in cdh spark2 version 2.1.0.cloudera2 it can be destroyed
   My code like this 
   
   >  val batch = Seq(1 to 9999: _*)
       val strSeq = batch.map(i => s"xxh-$i")
       val rdd = sc.parallelize(strSeq)
       rdd.cache()
       batch.foreach(_ => {
         val broc = sc.broadcast(strSeq)
         rdd.map(id => {
           broc.value.contains(id)
         }).collect()
         broc.destroy()
       })
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to