Hi Arpit,

Thanks for your guide!  As a new contributor, I still have following two questions need your help:

1) So I guess I should run 'test-patch.sh' on my local environment against branch-1.2, not on Apache Hadoop test server, right?
2) On branch-1.2, I found the 'test-patch.sh' is on ./src/test/bin/test-patch.sh, not ./dev-support/test-patch.sh. My command is 'sh ./src/test/bin/test-patch.sh MAPREDUCE-4490.patch', however failed with message 'ERROR: usage ./src/test/bin/test-patch.sh HUDSON [args] | DEVELOPER [args]'. What's the correct way to manually run 'test-patch.sh'?

2014-02-15 5:25 GMT+08:00 Arpit Agarwal <aagarwal@hortonworks.com>:
Hi Sam,

Hadoop Jenkins does not accept patches for 1.x.

You can manually run 'test-patch.sh' to verify there are no regressions introduced by your patch and copy-paste the results into a Jira comment.

On Thu, Feb 13, 2014 at 10:50 PM, sam liu <samliuhadoop@gmail.com> wrote:
Hi Experts,

I have been working on the JIRA https://issues.apache.org/jira/browse/MAPREDUCE-4490 and attached MAPREDUCE-4490.patch which could fix this jira. I would like to contribute my patch to community, but encountered some issues.

MAPREDUCE-4490 is an issue on Hadoop-1.x versions, and my patch based on the  latest code of origin/branch-1.2. However, current trunk bases on Yarn and does not has such issue any more. So my patch could not be applied on current trunk code, and it's actually no need to generate a similar patch on trunk at all.

How to submit the patch MAPREDUCE-4490.patch only to origin/branch-1.2, not trunk? Is it allowed by Apache Hadoop?


NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.