code: public static ExecutionEnvironment createRemoteEnvironment(String host, int port, int degreeOfParallelism, String... jarFiles) {
  		RemoteEnvironment rec = new RemoteEnvironment(host, port, jarFiles);
  		rec.setDegreeOfParallelism(degreeOfParallelism);
  		return rec;
  	}
docs: Creates a {@link RemoteEnvironment}. The remote environment sends (parts of) the program
  to a cluster for execution. Note that all file paths used in the program must be accessible from the
  cluster. The execution will use the specified degree of parallelism.
  
  @param host The host name or address of the master (JobManager), where the program should be executed.
  @param port The port of the master (JobManager), where the program should be executed.
  @param degreeOfParallelism The degree of parallelism to use during the execution.
  @param jarFiles The JAR files with code that needs to be shipped to the cluster. If the program uses
  user-defined functions, user-defined input formats, or any libraries, those must be
  provided in the JAR files.
  @return A remote environment that executes the program on a cluster.