Hi,

In MRUNIT-31 we used mockito to allow a single branch of code work
with hadoop 1 and hadoop 2. Patrick Hunt has filed a number of tickets
for items which don't work with hadoop 2. I do not see an easy way to
fix MRUNIT-167 and MRUNIT-161 in a single branch since hadoop 1 is
lacking a large number of methods that hadoop 2 supports.

As such, I think that we should think about the following:

1) Create hadoop-1 to support hadoop 1 with trunk supporting hadoop 2.
2) Resolve MRUNIT-167 and MRUNIT-161 in trunk.
3) Going forward we will have to backport from trunk to the hadoop-1
branch. At first this will be simple since they are so similar. Over
time this will become more difficult. Hopefully by the time it's too
difficult to support hadoop-1 most people will have already moved to
hadoop 2.
4) During releases we'll have to generate artifacts from both branches.

Thoughts?

--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/

Reply via email to