code: public static RpcService createRpcService(
  			String hostname,
  			String portRangeDefinition,
  			Configuration configuration) throws Exception {
  		final ActorSystem actorSystem = BootstrapTools.startActorSystem(configuration, hostname, portRangeDefinition, LOG);
  		return instantiateAkkaRpcService(configuration, actorSystem);
  	}
docs: Utility method to create RPC service from configuration and hostname, port.
  
  @param hostname   The hostname/address that describes the TaskManager's data location.
  @param portRangeDefinition   The port range to start TaskManager on.
  @param configuration                 The configuration for the TaskManager.
  @return   The rpc service which is used to start and connect to the TaskManager RpcEndpoint .
  @throws IOException      Thrown, if the actor system can not bind to the address
  @throws Exception      Thrown is some other error occurs while creating akka actor system