Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C60141963D for ; Thu, 7 Apr 2016 16:13:16 +0000 (UTC) Received: (qmail 50693 invoked by uid 500); 7 Apr 2016 16:13:16 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 50632 invoked by uid 500); 7 Apr 2016 16:13:16 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 50620 invoked by uid 99); 7 Apr 2016 16:13:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 16:13:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D69D4180315 for ; Thu, 7 Apr 2016 16:13:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.549 X-Spam-Level: * X-Spam-Status: No, score=1.549 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=uci-edu.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id E5NN8XV360y4 for ; Thu, 7 Apr 2016 16:13:12 +0000 (UTC) Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com [209.85.213.47]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id BAA925F1BE for ; Thu, 7 Apr 2016 16:13:06 +0000 (UTC) Received: by mail-vk0-f47.google.com with SMTP id e185so105388134vkb.1 for ; Thu, 07 Apr 2016 09:13:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uci-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Cp1YULy8+vqc3pTICC5TumgVOHQQjSBHypXqP+nlMk4=; b=TpePbj3THH68gr82LwBB/xbTJ2tEN2DUcZI2vnuMUBXDcBMI7PNggG6hjbqS4IWSPQ 7fuSKFHRnp1UEFFOcO49e4D2FnLWiR2eDYxxJP5sQOjmDx5aaF0+8IYO0+SDrYFY21o+ xwIE6hJS2p3+IxfD+PdIbmVFW60uDTtJAeEueRR56obPAY3W9MIO8zxGK+wvl6iIWXdb WEtEvN9JZo9pRvxJo2G6DzvfA2fcEpTFfgGD70jjGowAkzsLpt+PgO9HS2oskkUwSa17 moD2xED+9UoGznAko2T5Sp32RStosgI9nYJc8jdE7L2Mom3PMmvCo+wmBU4pk+fEu9EG Vzug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Cp1YULy8+vqc3pTICC5TumgVOHQQjSBHypXqP+nlMk4=; b=mwbgm/4PDA1H5SHCHI1/+j29XGwFPEczqX0ybYDFA6x2oJgN46dMcs9CS/rKN57UUz j08wWncQ72aUV0VEL2UAWvZMugYhugFw9K6cAaa3chOqWoemy/TgqFszGMSzz3AtmHoi Q1UMjt3Q7lyxPKXZAYbiqtOzUY6oUDk/AcQH9EEFCpO+ZjN/mMQc329B0Oim+ACLdP5W l3JdgVhRO2I+rleAJgCcC6JWK8zblkuTxB8oJ951zlG7zNLPzfuIsqCJPIs6HOec0PF5 /9OC/krmUkLa6DHiUsKdhueWUEtJXbKvNntdpQp3wKhQOnOXZd9U6iGq7nvSXWO8oCPc MWiQ== X-Gm-Message-State: AD7BkJJTbT0fI5lUdm2/pJRDI5lbtz583c5EqWmLUHNTLEn5TlmdN2+xmeIH6T8Yc+Q62U0hWLC7/dom4JXl8w== X-Received: by 10.31.149.73 with SMTP id x70mr1524619vkd.83.1460045580232; Thu, 07 Apr 2016 09:13:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.179 with HTTP; Thu, 7 Apr 2016 09:12:40 -0700 (PDT) In-Reply-To: References: <71F2D731-2B41-49FC-9F27-1A00BB58C87F@apache.org> <84DF74BD-8BE2-42C0-B449-D9A18A29DC78@apache.org> <5702CBDE.5090407@gmail.com> From: Ian Maxon Date: Thu, 7 Apr 2016 09:12:40 -0700 Message-ID: Subject: Re: The Great Merge To: dev@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113d2d662a7cc7052fe75a67 --001a113d2d662a7cc7052fe75a67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Also, please don't push any new changes to Hyracks. You will need to merge these into your asterix change or a new change if it is a hyracks change with no asterixdb content. I have disabled the jenkins job that verifies hyracks patches on Gerrit so hopefully nothing gets through. On Thu, Apr 7, 2016 at 8:02 AM, Ian Maxon wrote: > Alright, everything is pushed. Please post here or start another thread i= f > you start to experience issues. > > On Tue, Apr 5, 2016 at 12:21 PM, Ian Maxon wrote: > >> Just as a reminder, I'll be merging this tommorow since it seems like >> everything should go fairly smoothly. >> >> On Mon, Apr 4, 2016 at 1:20 PM, Steven Jacobs wrote: >> >>> http://landbeforetime.wikia.com/wiki/Great_Valley >>> >>> On Mon, Apr 4, 2016 at 1:19 PM, Steven Jacobs wrote: >>> >>> > No, we are living in the GREAT valley :) >>> > Steven >>> > >>> > On Mon, Apr 4, 2016 at 1:17 PM, Mike Carey wrote: >>> > >>> >> Sounds like things are GOOD! Excellent. (So not to be feared like >>> the >>> >> event that the name of this one keeps reminding me of: >>> >> http://landbeforetime.wikia.com/wiki/Great_Earthshake :-).) >>> >> >>> >> >>> >> On 4/4/16 1:12 PM, Steven Jacobs wrote: >>> >> >>> >>> It seems that I might be the only one concerned here, but it seems >>> like >>> >>> there should be others, so I am continuing this thread. >>> >>> >>> >>> I modified the perl REGEX from Chris' summer solution, and it works= ! >>> >>> >>> >>> Once Ian has merged master: >>> >>> >>> >>> 1. On your local branch, find the *parent* of the first commit you >>> want >>> >>> to >>> >>> migrate onto the new master, e.g. >>> >>> de6e0da24c26037967eb9a937d2c77c6c43e8761 >>> >>> >>> >>> 2. Run this magic command: >>> >>> >>> >>> git format-patch --stdout >>> de6e0da24c26037967eb9a937d2c77c6c43e8761 | >>> >>> perl -pe 's#asterix-#asterixdb/asterix-#g' > /tmp/my.patch >>> >>> >>> >>> 3. Now fetch master, and create a new local branch from it: >>> >>> >>> >>> git switch master; git pull; git checkout -B newbranch >>> >>> >>> >>> 4. Apply your tweaked patch: >>> >>> >>> >>> git am /tmp/my.patch >>> >>> >>> >>> >>> >>> This recognized ALL of my file moves/renames and applied them >>> correctly. >>> >>> It >>> >>> leaves only two issues: >>> >>> 1) Something similar will probably need to be done for Hyracks >>> changes >>> >>> 2) My pom changes didn't apply. This isn't so bad since there are >>> only a >>> >>> few pom files total. >>> >>> >>> >>> >>> >>> I hope this helps, >>> >>> Steven >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Fri, Apr 1, 2016 at 11:31 AM, Steven Jacobs >>> wrote: >>> >>> >>> >>> Here is Chris's original solution to give context. I think changing >>> the >>> >>>> REGEX might be enough to re-use the solution: >>> >>>> >>> >>>> 1. On your local branch, find the *parent* of the first commit you >>> want >>> >>>> to >>> >>>> migrate onto the new master. If you were fully up-to-date before t= he >>> >>>> repackaging commits went in, this will be Till's >>> >>>> change 95350e253f3462b1fb8d08396b4fddadaa33bf53, so I'll use that >>> here. >>> >>>> >>> >>>> 2. Run this magic command: >>> >>>> >>> >>>> git format-patch --stdout >>> 95350e253f3462b1fb8d08396b4fddadaa33bf53 | >>> >>>> perl -pe 's#edu(.)uci.ics#org\1apache#g' > /tmp/my.patch >>> >>>> >>> >>>> 3. Now fetch the new master, and create a new local branch from it= : >>> >>>> >>> >>>> git switch master; git pull; git checkout -B newbranch >>> >>>> >>> >>>> 4. Apply your tweaked patch: >>> >>>> >>> >>>> git am /tmp/my.patch >>> >>>> >>> >>>> >>> >>>> Steven >>> >>>> >>> >>>> On Fri, Apr 1, 2016 at 11:07 AM, Steven Jacobs >>> >>>> wrote: >>> >>>> >>> >>>> I've tried doing this now on my branch. >>> >>>>> As I feared, all of the files that are renamed/moved become >>> conflicts >>> >>>>> (just a few hundred conflicts in my case =F0=9F=98=91). >>> >>>>> I'm wondering if we could use a similar technique for what we did >>> >>>>> during >>> >>>>> the summer (for the apache change) to get around this. >>> >>>>> >>> >>>>> Steven >>> >>>>> >>> >>>>> On Fri, Apr 1, 2016 at 9:40 AM, Till Westmann >>> >>>>> wrote: >>> >>>>> >>> >>>>> I=E2=80=99m not sure I completely understand what you are saying.= Is this a >>> >>>>>> temporary state that will get cleaned up later or is this >>> supposed to >>> >>>>>> stay this way (having "-fullstack" in the names)? >>> >>>>>> >>> >>>>>> Thanks, >>> >>>>>> Till >>> >>>>>> >>> >>>>>> >>> >>>>>> On 31 Mar 2016, at 19:39, Ian Maxon wrote: >>> >>>>>> >>> >>>>>> I'm not sure if it was necessary to rename it, but the original >>> issue >>> >>>>>> is >>> >>>>>> >>> >>>>>>> that the hyracks repo itself has a folder named hyracks, that >>> >>>>>>> contains >>> >>>>>>> hyracks. I thought this might confuse git if I did something li= ke >>> >>>>>>> make a >>> >>>>>>> new temporary folder, move everything into that, and then renam= e >>> it >>> >>>>>>> to >>> >>>>>>> 'hyracks'. >>> >>>>>>> >>> >>>>>>> On Thu, Mar 31, 2016 at 6:35 PM, Till Westmann >> > >>> >>>>>>> wrote: >>> >>>>>>> >>> >>>>>>> Interesting! >>> >>>>>>> >>> >>>>>>>> One thing I=E2=80=99m wondering about is why you=E2=80=99ve ad= ded "-fullstack" >>> to >>> >>>>>>>> the >>> >>>>>>>> artifactId and the hyracks module. >>> >>>>>>>> >>> >>>>>>>> Cheers, >>> >>>>>>>> Till >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> On 31 Mar 2016, at 17:21, Ian Maxon wrote: >>> >>>>>>>> >>> >>>>>>>> I've gone ahead and tried merging my topic branch with this >>> change, >>> >>>>>>>> and it >>> >>>>>>>> >>> >>>>>>>> turned out surprisingly well. I really didn't have many issues= . >>> I'll >>> >>>>>>>>> summarize the process: >>> >>>>>>>>> >>> >>>>>>>>> 1) Merge the change from asterixdb with your topic branch >>> checked >>> >>>>>>>>> out, so >>> >>>>>>>>> just 'git merge hyracks-merge2'. >>> >>>>>>>>> The only real conflict should be the pom, if you altered that= . >>> I >>> >>>>>>>>> found it >>> >>>>>>>>> easiest to just replicate my changes and take the upstream, >>> rather >>> >>>>>>>>> than >>> >>>>>>>>> trying anything funny, since usually pom changes are not majo= r. >>> >>>>>>>>> >>> >>>>>>>>> 2) Add your hyracks folder as a remote (for me, 'git remote a= dd >>> >>>>>>>>> hyracks-local file:///home/...') >>> >>>>>>>>> >>> >>>>>>>>> 3) Merge your hyracks topic branch into asterixdb ( ' git mer= ge >>> >>>>>>>>> hyracks-local/imaxon/hdfs') >>> >>>>>>>>> This also worked pretty well, the only extra hiccup besides >>> the pom >>> >>>>>>>>> was >>> >>>>>>>>> files I had created. Those appeared at the top level again >>> after >>> >>>>>>>>> the >>> >>>>>>>>> merge. >>> >>>>>>>>> But, all you have to do is move them back down one folder int= o >>> >>>>>>>>> hyracks-fullstack. >>> >>>>>>>>> >>> >>>>>>>>> That's about it really. I went ahead and pushed this up to >>> github >>> >>>>>>>>> as >>> >>>>>>>>> well >>> >>>>>>>>> so if anyone would like to take a look at the process or chec= k >>> out >>> >>>>>>>>> the >>> >>>>>>>>> branch to see what happened (at least for me), the branch is >>> here: >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> >>> https://github.com/parshimers/incubator-asterixdb/tree/imaxon/hdfs-plus= -hyracks >>> >>>>>>>>> >>> >>>>>>>>> Thanks, >>> >>>>>>>>> -Ian >>> >>>>>>>>> >>> >>>>>>>>> On Wed, Mar 30, 2016 at 6:17 PM, Ian Maxon >>> wrote: >>> >>>>>>>>> >>> >>>>>>>>> Chris found an issue with the way git histories were being >>> handled >>> >>>>>>>>> in >>> >>>>>>>>> the >>> >>>>>>>>> >>> >>>>>>>>> way I merged things, so I have revised the proposed branch: >>> >>>>>>>>>> >>> >>>>>>>>>> >>> >>>>>>>>>> >>> https://github.com/parshimers/incubator-asterixdb/commits/hyracks-merge= 2 >>> >>>>>>>>>> >>> >>>>>>>>>> Basically I was trying to fit everything into one commit, >>> because >>> >>>>>>>>>> I >>> >>>>>>>>>> thought at first that I could submit it to Gerrit that way. >>> >>>>>>>>>> However >>> >>>>>>>>>> that >>> >>>>>>>>>> doesn't work for other reasons, basically Gerrit tries to >>> treat >>> >>>>>>>>>> every new >>> >>>>>>>>>> commit from Hyracks as a new change. Splitting the commits o= f >>> the >>> >>>>>>>>>> repository merge fixes the issue. >>> >>>>>>>>>> >>> >>>>>>>>>> >>> >>>>>>>>>> @Till, I think that creating a textual patch would just be >>> more >>> >>>>>>>>>> work. If >>> >>>>>>>>>> I >>> >>>>>>>>>> were to do it that way I would try fetching the Gerrit patch= , >>> and >>> >>>>>>>>>> then >>> >>>>>>>>>> cherry-picking it onto a new branch that has the >>> hyracks+asterix >>> >>>>>>>>>> master >>> >>>>>>>>>> as >>> >>>>>>>>>> the head. >>> >>>>>>>>>> >>> >>>>>>>>>> On Wed, Mar 30, 2016 at 5:42 PM, Till Westmann < >>> tillw@apache.org> >>> >>>>>>>>>> wrote: >>> >>>>>>>>>> >>> >>>>>>>>>> To get existing patches in, could we just create a textual >>> patch >>> >>>>>>>>>> (e.g. >>> >>>>>>>>>> >>> >>>>>>>>>> from gerrit), apply that with the necessary -p option to a n= ew >>> >>>>>>>>>>> local >>> >>>>>>>>>>> checkout of the merged repositories and submit a new review >>> to >>> >>>>>>>>>>> gerrit? >>> >>>>>>>>>>> >>> >>>>>>>>>>> Thanks, >>> >>>>>>>>>>> Till >>> >>>>>>>>>>> >>> >>>>>>>>>>> On 30 Mar 2016, at 12:36, Ian Maxon wrote: >>> >>>>>>>>>>> >>> >>>>>>>>>>> Hi all, >>> >>>>>>>>>>> >>> >>>>>>>>>>> I went ahead preliminarily merged the Hyracks and AsterixDB >>> >>>>>>>>>>>> repositories >>> >>>>>>>>>>>> into one. Unfortunately this can't be reviewed in Gerrit s= o >>> you >>> >>>>>>>>>>>> all can >>> >>>>>>>>>>>> check it out here: >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> >>>>>>>>>>> >>> https://github.com/parshimers/incubator-asterixdb/tree/imaxon/merge-hyr= acks >>> >>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>>> You will likely have to do some ugly rebasing for whatever >>> >>>>>>>>>>>> changes >>> >>>>>>>>>>>> you >>> >>>>>>>>>>>> might have open once this gets done, since it moves >>> asterixdb >>> >>>>>>>>>>>> down >>> >>>>>>>>>>>> one >>> >>>>>>>>>>>> folder and swaps out pom.xml in the repository root. >>> Hyracks is >>> >>>>>>>>>>>> in >>> >>>>>>>>>>>> a >>> >>>>>>>>>>>> similar situation, though you would want to reapply your >>> change >>> >>>>>>>>>>>> to >>> >>>>>>>>>>>> the >>> >>>>>>>>>>>> AsterixDB repo from Hyracks (which is a bit odd). If you >>> would >>> >>>>>>>>>>>> like to >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> see >>> >>>>>>>>>>>> >>> >>>>>>>>>>> how this affects your branch please do try fetching the >>> branch I >>> >>>>>>>>>>> >>> >>>>>>>>>>>> linked >>> >>>>>>>>>>>> above and testing it out on a copy of your topic branch. >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> I'm still making sure all of the tests pass but nothing's >>> >>>>>>>>>>>> failed so >>> >>>>>>>>>>>> far. >>> >>>>>>>>>>>> Unless anyone has objections I think we should push this >>> change >>> >>>>>>>>>>>> either >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> this >>> >>>>>>>>>>>> >>> >>>>>>>>>>> week or early next week. >>> >>>>>>>>>>> >>> >>>>>>>>>>>> Let me know what you all think. >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> Thanks, >>> >>>>>>>>>>>> - Ian >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> >>>>>>>>>>>> >>> >>>>>>>>>>> >>> >>>>>>>>>> >>> >> >>> > >>> >> >> > --001a113d2d662a7cc7052fe75a67--