Return-Path: X-Original-To: apmail-infrastructure-dev-archive@minotaur.apache.org Delivered-To: apmail-infrastructure-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 ED0FB17EF for ; Wed, 20 Apr 2011 15:00:51 +0000 (UTC) Received: (qmail 52230 invoked by uid 500); 20 Apr 2011 15:00:50 -0000 Delivered-To: apmail-infrastructure-dev-archive@apache.org Received: (qmail 51493 invoked by uid 500); 20 Apr 2011 15:00:49 -0000 Mailing-List: contact infrastructure-dev-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: infrastructure-dev@apache.org Delivered-To: mailing list infrastructure-dev@apache.org Received: (qmail 51478 invoked by uid 99); 20 Apr 2011 15:00:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 15:00:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of owen.omalley@gmail.com designates 74.125.83.178 as permitted sender) Received: from [74.125.83.178] (HELO mail-pv0-f178.google.com) (74.125.83.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 15:00:41 +0000 Received: by pvg7 with SMTP id 7so559338pvg.23 for ; Wed, 20 Apr 2011 08:00:20 -0700 (PDT) Received: by 10.68.41.67 with SMTP id d3mr9973231pbl.287.1303311620580; Wed, 20 Apr 2011 08:00:20 -0700 (PDT) Received: from [10.0.0.59] (c-98-234-216-58.hsd1.ca.comcast.net [98.234.216.58]) by mx.google.com with ESMTPS id y7sm678039pbc.36.2011.04.20.08.00.18 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 08:00:19 -0700 (PDT) Subject: Re: HADOOP-7106: Re-organize hadoop subversion layout Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Owen O'Malley In-Reply-To: Date: Wed, 20 Apr 2011 08:00:16 -0700 Cc: Nigel Daley , Ian Holsman , infrastructure-dev@apache.org Content-Transfer-Encoding: quoted-printable Message-Id: <9B529359-B589-4229-BA96-188C762A8E31@apache.org> References: <4112B27D-7DCF-4C8E-AD61-6884BA7E738C@mac.com> <844F39DC-0A5D-4AAE-AF8D-EFD4CC83C18A@mac.com> To: general@hadoop.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org On Apr 19, 2011, at 10:58 PM, Todd Lipcon wrote: > On Tue, Apr 19, 2011 at 10:20 PM, Todd Lipcon = wrote: >=20 >>=20 >> I'm currently looking into how the git mirrors are setup in = Apache-land. Uh, why isn't infra-dev on this thread? For those on infra-dev, the context is that Nigel is trying to merge = together the source trees of the Hadoop sub-projects that were split = apart 2 years ago. So he is taking: prefix =3D http://svn.apache.org/repos/asf/hadoop/ $prefix/common/trunk -> $prefix/trunk/common $prefix/hdfs/trunk -> $prefix/trunk/hdfs $prefix/mapreduce/trunk -> $prefix/trunk/mapreduce and play similar games with the rest of the branches and tags. For more = details look at HADOOP-7106. =46rom the project split, subversion was able to track the history = across the subversion moves between projects, but not git. Four questions: 1. Is there anything we can do to minimize the history loss in git? 2. Are we going to be able to preserve our sha's or are they going to = change again? 3. What changes do we need to make to the subversion notification file? 4. Are there any other changes that need to be coordinated? After considering it this morning, I believe that the least disruptive = move is to leave common at the same url and merge hdfs and mapreduce = back in: $prefix/common/trunk/* -> $prefix/common/trunk/common/* $prefix/hdfs/trunk -> $prefix/common/trunk/hdfs $prefix/mapreduce/trunk -> $prefix/common/trunk/mapreduce This will preserve the hashes and history for common (and the 20 = branches). We'll still need to play git voodoo to get git history for = hdfs and mapreduce, but it is far better than starting a brand new git = clone. -- Owen