The main function of the operator is to store a map in internal state, I want to validate behavior / contents of that map following operator recovery and during checkpointing.
- Ilya Ganelin [id:image001.png@01D1F7A4.F3D42980] From: Sanjay Pujare <san...@datatorrent.com> Reply-To: "users@apex.apache.org" <users@apex.apache.org> Date: Friday, April 28, 2017 at 3:42 PM To: "users@apex.apache.org" <users@apex.apache.org> Subject: Re: Test validating Operator checkpoint recovery behavior Is this an input/output/processing operator? In the apex-malhar repo you can search for "testRecovery" (or "testRecover") in all the *.java files and you'll find many examples. Hope that helps On Fri, Apr 28, 2017 at 3:13 PM, Ganelin, Ilya <ilya.gane...@capitalone.com<mailto:ilya.gane...@capitalone.com>> wrote: Hi all, I’d like to explicitly test the behavior of one of my operators following checkpoint window recovery. Is there an existing test you could point me to that does something similar? Thanks! - Ilya Ganelin [cid:image002.png@01D2C038.6FB1CAB0] ________________________________ The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer. ________________________________________________________ The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.