Re: Adding Custom finalize method to RDDs.

2019-06-13 Thread Phillip Henry
la > > > > *From:* Phillip Henry > *Sent:* Tuesday, June 11, 2019 11:28 PM > *To:* Nasrulla Khan Haris > *Cc:* Vinoo Ganesh ; dev@spark.apache.org > *Subject:* Re: Adding Custom finalize method to RDDs. > > > > That's not the kind of thing a finalize m

RE: Adding Custom finalize method to RDDs.

2019-06-12 Thread Nasrulla Khan Haris
, Nasrulla From: Phillip Henry Sent: Tuesday, June 11, 2019 11:28 PM To: Nasrulla Khan Haris Cc: Vinoo Ganesh ; dev@spark.apache.org Subject: Re: Adding Custom finalize method to RDDs. That's not the kind of thing a finalize method was ever supposed to do. Use a try/finally block instead

Re: Adding Custom finalize method to RDDs.

2019-06-12 Thread Phillip Henry
; > > Thanks, > > Nasrulla > > > > *From:* Vinoo Ganesh > *Sent:* Monday, June 10, 2019 1:32 PM > *To:* Nasrulla Khan Haris ; > dev@spark.apache.org > *Subject:* Re: Adding Custom finalize method to RDDs. > > > > Generally overriding the finalize() meth

RE: Adding Custom finalize method to RDDs.

2019-06-11 Thread Nasrulla Khan Haris
I want to delete some files which I created In my datasource api, as soon as the RDD is cleaned up. Thanks, Nasrulla From: Vinoo Ganesh Sent: Monday, June 10, 2019 1:32 PM To: Nasrulla Khan Haris ; dev@spark.apache.org Subject: Re: Adding Custom finalize method to RDDs. Generally overriding

Re: Adding Custom finalize method to RDDs.

2019-06-10 Thread Vinoo Ganesh
To: "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 Sent: Sunday, June 9, 2019 5:30 PM To: dev@spark.apache.org Subject: Adding Custom finalize method to RDD

RE: Adding Custom finalize method to RDDs.

2019-06-10 Thread Nasrulla Khan Haris
Hello Everyone, Is there a way to do it from user-code ? Thanks, Nasrulla From: Nasrulla Khan Haris 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