Set the disableLocalExecution() in ExecutionEnvironment to protected