However it could be a good idea to overload also the getExecutionEnvironment() to be able to pass a custom configuration..what do you think? Otherwise I have to know a priori if I'm working in a local deployment or in a remote one, or check if getExecutionEnvironment() returned an instance of LocalEnvironment/RemoteEnvironment..
On Tue, Oct 6, 2015 at 10:53 AM, Flavio Pompermaier <pomperma...@okkam.it> wrote: > Yes Stephan! > I usually work with the master version, at least in development ;) > Thanks for the quick support! > > Best, > Flavio > > On Tue, Oct 6, 2015 at 10:48 AM, Stephan Ewen <se...@apache.org> wrote: > >> Hi! >> >> Are you on the SNAPSHOT master version? >> >> You can pass the configuration to the constructor of the execution >> environment, or create one via >> ExecutionEnvironment.createLocalEnvironment(config) or via >> createRemoteEnvironment(host, port, configuration, jarFiles); >> >> The change of the signature was part of an API cleanup for the next >> release. Sorry for the inconvenience... >> >> Stephan >> >> >> On Tue, Oct 6, 2015 at 10:36 AM, Flavio Pompermaier <pomperma...@okkam.it >> > wrote: >> >>> Hi to all, >>> >>> today my code doesn't compile anymore because ExecutionEnvironment >>> doesn't have setConfiguration() anymore..how can I set the following >>> parameters in my unit tests? >>> >>> - ConfigConstants.TASK_MANAGER_TMP_DIR_KEY >>> - ConfigConstants.BLOB_STORAGE_DIRECTORY_KEY >>> - ConfigConstants.TASK_MANAGER_NETWORK_NUM_BUFFERS_KEY >>> >>> Best, >>> Flavio >>> >> >> >