Patent ID: 7979743

Claim:
A computer-implemented method for determining correctness of a job plan in a stream processing application executed by a stream application framework, the stream application framework including a plurality of processing elements executing across a plurality of compute nodes, comprising: receiving a job plan for a stream processing application, the job plan comprising at least a first directed sequence of processing elements from the plurality of processing elements, wherein each processing element in the first directed sequence of processing elements is configured to generate an output data for a respective input data; identifying, based on predetermined criteria, a second directed sequence of processing elements, similar to the first directed sequence of processing elements; processing a set of input data in both the first directed sequence of processing elements and the second directed sequence of processing elements; and upon determining that a first output of processing the set of input data in the first directed sequence of processing elements is inconsistent with a second output of processing the set of input data in the second directed sequence of processing elements: identifying an invalid directed sequence of processing elements, wherein the invalid directed sequence of processing elements is a subset of at least one of the first directed sequence of processing elements and the second directed sequence of processing elements, and wherein processing the invalid directed sequence of processing elements results in incorrect results; and performing at least one corrective action to correct the invalid directed sequence of processing elements.