/// <summary>Constructs a split with host information</summary> /// <param name="file">the file name</param> /// <param name="start">the position of the first byte in the file to process</param> /// <param name="length">the number of bytes in the file to process</param> /// <param name="hosts">the list of hosts containing the block, possibly null</param> /// <param name="inMemoryHosts">the list of hosts containing the block in memory</param> public FileSplit(Path file, long start, long length, string[] hosts, string[] inMemoryHosts ) { fs = new Org.Apache.Hadoop.Mapreduce.Lib.Input.FileSplit(file, start, length, hosts , inMemoryHosts); }
public FileSplit(Org.Apache.Hadoop.Mapreduce.Lib.Input.FileSplit fs) { this.fs = fs; }
protected internal FileSplit() { fs = new Org.Apache.Hadoop.Mapreduce.Lib.Input.FileSplit(); }