I agree, print should print on the client. However, let's introduce some big hint in the error message in case of a second execute() that this error may arise from a previous execution.
Instead of "No sinks defined", let's print "The Flink job didn't contain any sinks. This may be because the sinks were already executed. If you executed the print() method on a DataSet before, the job would have already been executed. In this case, remove the call of execute() until you have defined further sinks". On Tue, Apr 28, 2015 at 1:24 PM, Fabian Hueske <fhue...@gmail.com> wrote: > +1 for the breaking change > > 2015-04-28 13:18 GMT+02:00 Ufuk Celebi <u...@apache.org>: > > > > > On 28 Apr 2015, at 12:31, Stephan Ewen <se...@apache.org> wrote: > > > > > +1 for the breaking change > > > > > > Let's not to this any more than necessary, bu this is a good case... > > > > +1 > > >