Joe, Here is the Kafka release process notes that I had written from the last release. Sorry that I couldn't formalize it into a wiki. Will do that soon -
# checkout kafka trunk svn co https://svn.apache.org/repos/asf/incubator/kafka/trunk kafka cd kafka ./sbt update package test doc mkdir ~/kafka-0.7.0-incubating cp -r * ~/kafka-0.7.0-incubating cd ~/kafka-0.7.0-incubating # remove the .svn files find . -name ".svn" | xargs rm -rf # make sure the *.sh scripts have execute permissions find . -name "*sh" | xargs chmod ugoa+x # remove the .class files, except those in the project directory, since it is useful to run unit tests out of the box find . -name "*.class" | grep -v project | xargs rm # try rebuilding code ./sbt package # test it ./sbt test # copy the kafka jar to root cp core/target/scala_2.8.0/kafka-0.7.0.jar . # remove the .class files, except those in the project directory, since it is useful to run unit tests out of the box find . -name "*.class" | grep -v project | xargs rm # add the CHANGES.txt file Go to Apache JIRA and click on the version 0.7. (https://issues.apache.org/jira/browse/KAFKA/fixforversion/12317243) Click Release Notes Configure it to output text copy paste that to CHANGES.txt 2. quickstart # tar it tar cvf kafka-0.7.0-incubating-src.tar kafka-0.7.0-incubating-src/ gzip kafka-0.7.0-incubating-src.tar # create a gpg key if you don't have one already http://www.webupd8.org/2010/01/how-to-create-your-own-gpg-key.html # if you are signing the release for the first time, add your key to the kafka/KEYS file gpg --list-sigs Neha Narkhede && gpg --armor --export Neha Narkhede >> ~/Projects/kafka-top-level/KEYS cd ~/Projects/kafka-top-level svn commit -m "Updating KEYS file with pgp key for Neha Narkhede" # sign the tarball gpg --armor --output kafka-0.7.0-incubating-src.tar.gz.asc --detach-sig kafka-0.7.0-incubating-src.tar.gz md5sum kafka-0.7.0-incubating-src.tar.gz > kafka-0.7.0-incubating-src.tar.gz.md5 # add the html version of release notes vi RELEASE-NOTES.html Go to Apache JIRA and click on the version 0.7. (https://issues.apache.org/jira/browse/KAFKA/fixforversion/12317243) Click Release Notes Configure it to output html copy paste that to RELEASE-NOTES.html If the release includes new Features, include the following in the Release Notes - Let me know if you have questions. Thanks Neha On Tue, Jun 19, 2012 at 11:24 AM, Joe Stein <crypt...@gmail.com> wrote: > ok, I uploaded a patch https://issues.apache.org/jira/browse/KAFKA-368 (not > receiving JIRA emails not sure if there is issue or not) > > anything else we want/need to-do (after this patch is reviewed > and committed) before rolling RC3 ? > > On Tue, Jun 19, 2012 at 12:08 PM, Jun Rao <jun...@gmail.com> wrote: > >> Joe, >> >> Perhaps we can just remove the pig-0.8.0.jar in the 0.7.1 release. We can >> sort out the remaining jars in 0.8. >> >> Thanks, >> >> Jun >> >> On Mon, Jun 18, 2012 at 10:22 PM, Joe Stein <crypt...@gmail.com> wrote: >> >> > if the jars that are left are still an issue >> > >> > find ./branches/0.7.1/ -name *jar >> > ./branches/0.7.1//contrib/hadoop-consumer/lib/pig-0.8.0-core.jar >> > ./branches/0.7.1//contrib/hadoop-consumer/lib/piggybank.jar >> > ./branches/0.7.1//contrib/hadoop-producer/lib/pig-0.8.0-core.jar >> > ./branches/0.7.1//contrib/hadoop-producer/lib/piggybank.jar >> > ./branches/0.7.1//lib/sbt-launch.jar >> > >> > pig-0.8.0-core.jar is in maven >> > >> > piggybank is not maven >> > >> > sbt-launch.jar we either have to leave in (since we have such an older >> > version) or proceed with >> https://issues.apache.org/jira/browse/KAFKA-134so >> > we can point people to the "latest" sbt since this is what we need to get >> > things rolling >> > >> > and then there is the nunit dll >> > >> > not sure if all or none are an issue or if the goal here is just to move >> > ping-0.8.0-core.jar out and into maven? want to keep this discussion >> moving >> > so we can come to an agreement for RC3 >> > >> > >> > >> > On Mon, Jun 18, 2012 at 10:47 PM, Chris Burroughs < >> > chris.burrou...@gmail.com >> > > wrote: >> > >> > > My interpretation of the long "Binary dependencies in source releases" >> > > thread is that the build tools are (I think) defensible, but it really >> > > would be best if we could get rid of the rest. >> > > >> > > I see that Neha and Jacob already did most of the work last round in >> > > KAFKA-222 (go team!). In the comments pig is called out as a problem, >> > > but it looks like this is taken care of in PIG-1334. Any reason we >> > > can't mavenize those as well? >> > > >> > > I'm not sure what to do with DLLs. >> > > >> > > >> > > >> > > -------- Original Message -------- >> > > Subject: Re: [VOTE] Release Kafka 0.7.1-incubating (Candidate 2) >> > > Date: Mon, 18 Jun 2012 21:34:41 -0400 >> > > From: Joe Stein <crypt...@gmail.com> >> > > Reply-To: gene...@incubator.apache.org >> > > To: gene...@incubator.apache.org >> > > CC: kafka-dev@incubator.apache.org >> > > >> > > I uploaded a md5 checksum >> > > >> http://people.apache.org/~joestein/kafka-0.7.1-incubating-candidate-2/to >> > > go along with the detached signature that was generated already >> > > >> > > starting the kafka server is in the quick start >> > > http://incubator.apache.org/kafka/quickstart.html >> > > >> > > looking at Cassandra and Hadoop source distributions both have jars in >> > them >> > > too, so not sure the issue you are raising others might have a better >> > > understanding or I am missing something you are trying to point out >> > > >> > > I would like to keep the RC2 voting open for another few days to see if >> > > this release passes (as folks have not had time to review) or we can >> get >> > to >> > > what issues we need to have resolved that can be done for RC3 for a new >> > > vote either with objective to getting 0.7.1 released. >> > > >> > > current votes: >> > > >> > > +1 [1] +0 [0] -1 [0] from the PPMC >> > > >> > > and >> > > >> > > +1 [0] +0 [0] -1 [0] from the IPMC >> > > >> > > please let me know if there is something different we want or should >> have >> > > been doing here or that I can be or should be doing differently. >> > > >> > > thanks! >> > > >> > > On Mon, Jun 18, 2012 at 4:53 PM, Kevan Miller <kevan.mil...@gmail.com >> > > >wrote: >> > > >> > > > Things that I've noted: >> > > > >> > > > I don't see a checksum for your release in >> > > > >> > http://people.apache.org/~joestein/kafka-0.7.1-incubating-candidate-2/-- >> > > > your release manager will need to generate a checksum for the >> release. >> > > > >> > > > It would be nice if your archive extracted into an >> > > > apache-kafka-0.7.1-incubating directory (or similar name rather than >> > .), >> > > > but that's minor. >> > > > >> > > > I see the following binary files in your source distribution: >> > > > >> > > > ./clients/csharp/lib/nunit/2.5.9/nunit.framework.dll >> > > > ./contrib/hadoop-consumer/lib/pig-0.8.0-core.jar >> > > > ./contrib/hadoop-consumer/lib/piggybank.jar >> > > > ./contrib/hadoop-producer/lib/pig-0.8.0-core.jar >> > > > ./contrib/hadoop-producer/lib/piggybank.jar >> > > > ./lib/sbt-launch.jar >> > > > >> > > > If I understand correctly, this does not meet a definition of an open >> > > > source release (which is what an apache release is…). It looks like >> > this >> > > is >> > > > how your last release was packaged, also… I don't know if this is a >> > > > blocking issue (for an incubator release), but I think you need to >> work >> > > on >> > > > resolving this (i.e. remove binaries from your source)… >> > > > >> > > > IIUC, your LICENSE/NOTICE files are documenting your "source" >> > (including >> > > > the above jars). Do you document the LICENSE/NOTICE of your >> binaries? I >> > > > built kafka and see that a number jars are pulled in… I have no idea >> > what >> > > > the LICENSING for these artifacts is… and whether or not they conform >> > to >> > > > ASF standards (I did not review them all). Your project needs to >> > document >> > > > them. >> > > > >> > > > FYI, I couldn't figure out from the documentation how to start a >> server >> > > > after I built kafka. >> > > > >> > > > --kevan >> > > > >> > > > On Jun 18, 2012, at 1:14 PM, Jun Rao wrote: >> > > > >> > > > > Any other voters? >> > > > > >> > > > > Thanks, >> > > > > >> > > > > Jun >> > > > > >> > > > > On Thu, Jun 14, 2012 at 11:42 AM, Joe Stein <crypt...@gmail.com> >> > > wrote: >> > > > > >> > > > >> Hello, >> > > > >> >> > > > >> This is the second candidate for the second incubator release for >> > > Apache >> > > > >> Kafka, version 0.7.1-incubating. >> > > > >> >> > > > >> This release fixes the following issues >> > > > >> >> > > > >> >> > > > >> > > >> > >> http://people.apache.org/~joestein/kafka-0.7.1-incubating-candidate-2/RELEASE-NOTES.html >> > > > >> >> > > > >> RC2 fixes the issue identified in RC1 => >> > > > >> https://issues.apache.org/jira/browse/KAFKA-365 change copyright >> in >> > > > NOTICE >> > > > >> to 2012 >> > > > >> >> > > > >> *** Please download, test and vote by Monday June, 18th, 12pm PDT >> > > > >> >> > > > >> Release artifacts: >> > > > >> >> > > http://people.apache.org/~joestein/kafka-0.7.1-incubating-candidate-2/ >> > > > >> >> > > > >> The tag to be voted upon (off the 0.7.1 branch): >> > > > >> >> > > > >> >> > > > >> > > >> > >> https://svn.apache.org/repos/asf/incubator/kafka/tags/kafka-0.7.1-incubating-candidate-2 >> > > > >> >> > > > >> Kafka's KEYS file containing PGP keys we use to sign the release: >> > > > >> http://svn.apache.org/repos/asf/incubator/kafka/trunk/KEYS >> > > > >> >> > > > >> /* >> > > > >> Joe Stein >> > > > >> http://www.linkedin.com/in/charmalloc >> > > > >> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop >> > >> > > > >> */ >> > > > >> >> > > > >> > > > >> > > > --------------------------------------------------------------------- >> > > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org >> > > > For additional commands, e-mail: general-h...@incubator.apache.org >> > > > >> > > > >> > > >> > > >> > > -- >> > > >> > > /* >> > > Joe Stein >> > > http://www.linkedin.com/in/charmalloc >> > > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> >> > > */ >> > > >> > > >> > >> > >> > -- >> > >> > /* >> > Joe Stein >> > http://www.linkedin.com/in/charmalloc >> > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> >> > */ >> > >> > > > > -- > > /* > Joe Stein > http://www.linkedin.com/in/charmalloc > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > */