Example #1
0
 /// <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);
 }
Example #2
0
 public FileSplit(Org.Apache.Hadoop.Mapreduce.Lib.Input.FileSplit fs)
 {
     this.fs = fs;
 }
Example #3
0
 protected internal FileSplit()
 {
     fs = new Org.Apache.Hadoop.Mapreduce.Lib.Input.FileSplit();
 }