spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinoo Ganesh <vgan...@palantir.com>
Subject Re: Adding Custom finalize method to RDDs.
Date Mon, 10 Jun 2019 20:32:03 GMT
Generally overriding the finalize() method is an antipattern (it was in fact deprecated in
java 11  https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize())
. What’s the use case here?

From: Nasrulla Khan Haris <Nasrulla.Khan@microsoft.com.INVALID>
Date: Monday, June 10, 2019 at 15:44
To: "dev@spark.apache.org" <dev@spark.apache.org>
Subject: RE: Adding Custom finalize method to RDDs.

Hello Everyone,
Is there a way  to do it from user-code ?

Thanks,
Nasrulla

From: Nasrulla Khan Haris <Nasrulla.Khan@microsoft.com.INVALID>
Sent: Sunday, June 9, 2019 5:30 PM
To: dev@spark.apache.org
Subject: Adding Custom finalize method to RDDs.

Hi All,

Is there a way to add custom finalize method to RDD objects to add custom logic when RDDs
are destructed by JVM ?

Thanks,
Nasrulla

Mime
View raw message