[ 
https://issues.apache.org/jira/browse/HADOOP-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Giridharan Kesavan updated HADOOP-5232:
---------------------------------------

    Attachment: test.patch
                nightly.patch

I 've addressed all your comments from Nigel and submitting an improved version 
of the patch here...

We have two patch here. one is called the nightly.patch which we should apply 
in the nightly folder 
and the second one called test.patch which we should apply on the hadoop base 
folder.

All the comments mentioned by Nigel are addressed by these two patches.  We no 
more have a folder for queues. we have a simple txt file which acts as a patch 
queue.

Please Review.

Here are the example cmd for patch-admin job and the patch build job.
###################################################
PATCH_ADMIN_BUILD 

CALLER IS THE HUDSON PARAMATERISED VARIABLE and HAS ITS DEFAULT VALUE SET TO 
USER

CMD:
export BUILD_SERVERS="<SERVER2 HOSTNAME> <SERVER2 HOSTNAME>"
CALLEDBY=${CALLER}
export CALLEDBY

cd $workspace\nightly 
sh hudsonPatchQueueAdmin.sh HADOOP <patch_queue_dir> 
</buildWithParameters?token=<token> <PATH_TO_CURL>
 
###########################################

PATCH BUILD:
DEFECTNUM IS THE HUDSON PARAMATERISED VARIABLE and HAS ITS DEFAULT VALUE SET TO 
""

cmd:
export defect=${DEFECTNUM}
export 
PATCH_ADMIN_URL=http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/buildWithParameters?token=<token>

other options remaining the same we would be modifying the value for 
trigger.url 
-Dtrigger.url=http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-Admin//buildWithParameters?token=<token>
and we would add one more variable for curl.
-Dcurl.cmd=<path to curl>

#############################################################




> preparing HadoopPatchQueueAdmin.sh,test-patch.sh scripts to run builds on 
> hudson slaves.
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5232
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5232
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: build
>            Reporter: Giridharan Kesavan
>            Assignee: Giridharan Kesavan
>         Attachments: hudsonPatchQueueAdmin.sh.patch, nightly.patch, 
> test-patch.sh.patch, test.patch
>
>
> To modify hadoopPatchQueueAdmin.sh and test-patch.sh script to run patch 
> builds on hudson slaves.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to