> On June 11, 2013, 9:12 p.m., Vinod Kone wrote: > > hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java, lines > > 427-428 > > <https://reviews.apache.org/r/11161/diff/5/?file=303786#file303786line427> > > > > Isn't 'begin' always equal to 'range.getBegin()' and 'end' always equal > > to 'range.getEnd()' ?
I didn't want to make the assumption that the range was ordered by smallest first. - Brenden ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/11161/#review21741 ----------------------------------------------------------- On June 11, 2013, 8:56 p.m., Brenden Matthews wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/11161/ > ----------------------------------------------------------- > > (Updated June 11, 2013, 8:56 p.m.) > > > Review request for mesos. > > > Description > ------- > > Don't accept offers on the same host/port. > > We'll try to find a port combination that hasn't already been used to > launch a TaskTracker. > > Review: https://reviews.apache.org/r/11161/ > > > Diffs > ----- > > hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java > afe401f5265e3d9494af7eace42eec45943184a3 > > Diff: https://reviews.apache.org/r/11161/diff/ > > > Testing > ------- > > Used in production at airbnb. > > make -j10 check && cd hadoop && make hadoop-2.0.0-mr1-cdh4.2.1 && make > hadoop-0.20.205.0 && make hadoop-0.20.2-cdh3u3 > > > Thanks, > > Brenden Matthews > >
