Confirmed ,you can use Accumulators :) Regards, Vaquar khan
On Mon, Nov 13, 2017 at 10:58 AM, Kedarnath Dixit < kedarnath_di...@persistent.com> wrote: > Hi, > > > We need some way to toggle the flag of a variable in transformation. > > > We are thinking to make use of spark Accumulators for this purpose. > > > Can we use these as below: > > > Variables -> Initial Value > > Variable1 -> 0 > > Variable2 -> 0 > > > In one of the transformations if we need to make Variable2's value to 1. > Can we achieve this using Accumulators? Please confirm. > > > Thanks! > > > With Regards, > > *~Kedar Dixit* > > kedarnath_di...@persistent.com | @kedarsdixit | M +91 90499 15588 > <+91%2090499%2015588> | T +91 (20) 6703 4783 <+91%2020%206703%204783> > > *Persistent Systems | **Partners In Innovation** | www.persistent.com > <http://www.persistent.com>* > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is > the property of Persistent Systems Ltd. It is intended only for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient, you are not authorized to read, retain, copy, print, > distribute or use this message. If you have received this communication in > error, please notify the sender and delete all copies of this message. > Persistent Systems Ltd. does not accept any liability for virus infected > mails. > -- Regards, Vaquar Khan +1 -224-436-0783 Greater Chicago