Re: Unable to use "Batch Start Time" on worker nodes.

2015-11-30 Thread Abhishek Anand
Thanks TD !! I think this should solve my purpose. On Sun, Nov 29, 2015 at 6:17 PM, Tathagata Das wrote: > You can get the batch start (the expected, not the exact time when the > jobs are submitted) from DStream operation "transform". There is a version > of transform that allows you specif

Re: Unable to use "Batch Start Time" on worker nodes.

2015-11-29 Thread Tathagata Das
You can get the batch start (the expected, not the exact time when the jobs are submitted) from DStream operation "transform". There is a version of transform that allows you specify a function with two params - the parent RDD and the batch time at which the RDD was generated. TD On Thu, Nov 26,

Unable to use "Batch Start Time" on worker nodes.

2015-11-26 Thread Abhishek Anand
Hi , I need to use batch start time in my spark streaming job. I need the value of batch start time inside one of the functions that is called within a flatmap function in java. Please suggest me how this can be done. I tried to use the StreamingListener class and set the value of a variable in