Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE844DBB9 for ; Thu, 17 Jan 2013 01:11:45 +0000 (UTC) Received: (qmail 60628 invoked by uid 500); 17 Jan 2013 01:11:45 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 60585 invoked by uid 500); 17 Jan 2013 01:11:45 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 60576 invoked by uid 99); 17 Jan 2013 01:11:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 01:11:45 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache.mailbox@gmail.com designates 209.85.212.54 as permitted sender) Received: from [209.85.212.54] (HELO mail-vb0-f54.google.com) (209.85.212.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 01:11:39 +0000 Received: by mail-vb0-f54.google.com with SMTP id l1so1975965vba.13 for ; Wed, 16 Jan 2013 17:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Axl/7lpQ1/LDPLhqqBIpwh1MSkA6rJByQPzwjq/0jkc=; b=zfTUM+UBMV3Aazjyo3WuS87AGfLT0bwJf9fEMamdqV0z03ZqOVimpJh8ZtD6Ntd8CU edfJ79R+y+JxQdKyXJyoDDd/OtIrtlhqz7LNNs/SWKPeOv+iND2Zeq3BlFmeakbE/Asx MQ/r/Gk2TuAdjT6VsvgqJjfIJRm33KWmCkHfnxJ3OGWBVVkMMsR4wvXrcvF4MKIH6gMK ZfRUeWm8lRgqKtoLxzE/PhwKBOCHnz3TrJ0P7q8YcmLWLfqO3WkyBuIEndaE2YS3oOlg Zvzyt54DtYafyhTHANlEN2Xr8FtTF6Uy8NUKqWb1tRz/0rEGFSBB1eH745oOPYm29O61 BNTA== MIME-Version: 1.0 X-Received: by 10.220.149.73 with SMTP id s9mr3471243vcv.51.1358385078119; Wed, 16 Jan 2013 17:11:18 -0800 (PST) Received: by 10.220.105.138 with HTTP; Wed, 16 Jan 2013 17:11:17 -0800 (PST) In-Reply-To: References: <566834A0CA4ED742A53644FF331260D41658BAD0@PRN-MBX01-5.TheFacebook.com> Date: Wed, 16 Jan 2013 17:11:17 -0800 Message-ID: Subject: Re: [jira] [Commented] (GIRAPH-474) Add an option not to use direct byte buffers From: Eli Reisman To: dev@giraph.apache.org Content-Type: multipart/alternative; boundary=f46d04388ea90cadfa04d371aca0 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04388ea90cadfa04d371aca0 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the link, Claudio, I'll check that out. I think Alessandro is right about which branches are which, I committed the "long way" using a copy of trunk for 474 so I think my attempt is the one that made it into trunk. I think the giraph474 branch is a failed commit from someone's dev branch (not mine, I typically name something equally creative like "jira474") so we can safely prune it out. The branch marked "branch-0.1" should not be deleted as far as I know, since it seems to be the source tree for our 0.1 release? On Mon, Jan 14, 2013 at 3:02 PM, Claudio Martella < claudio.martella@gmail.com> wrote: > Hi Eli, > > you may want to have a look at: > > http://www.apache.org/dev/git.html#workflow > > which gives a few command examples of the workflow described by Alessandro. > > On Mon, Jan 14, 2013 at 11:56 PM, Eli Reisman > wrote: > > Nice, thanks! I had specified the branches for push like that on my own > > repos, but was hoping to see the exact syntax for doing it to our apache > > repo online by someone who had successfully done it without breaking > things > > before I could bring myself to brave it. Now I have seen it, I'll try > it! I > > had been using a separate clean git repo + patch on trunk for my commits > > last week :) > > > > thanks again! > > > > Alessandro: feeling brave enough to delete the "giraph474" branch from > the > > remote repo? Do you know if that commit actually made it into trunk or > not? > > > > On Mon, Jan 14, 2013 at 11:11 AM, Alessandro Presta >wrote: > > > >> It shouldn't be a problem to work and commit from the same checkout. > This > >> is what I do: > >> 1) Create a new branch (say GIRAPH-XYZ) > >> 2) Apply the patch > >> 3) Update the CHANGELOG > >> 4) git commit -a > >> 5) git push origin GIRAPH-XYZ:trunk > >> Those extra branches are the result of someone inadvertently pushing a > new > >> branch to the remote. > >> Making changes directly on your master branch is generally not a good > >> practice in git. > >> > >> On 1/14/13 11:05 AM, "Eli Reisman" wrote: > >> > >> >Hey, Giraph-Dev folks. Looking at our > >> >https://git-wip-us.apache.org/repos/asf/giraph.git repo, we have some > >> >funny > >> >branches creeping in. Please disambiguate the situation for me if you > can, > >> >but here's what I think: > >> > > >> >When you do dev work, have a repo with your dev branches. > >> > > >> >when you're ready to commit, get the patch itself from the JIRA in > >> >question, and download (or maintain) a SEPARATE repo. This is so you > can > >> >commit the patch to TRUNK. What worked for me is: > >> > > >> >1. dl this repo from the HTTPS URL only. Alternately, keep this repo on > >> >TRUNK all the time, and call "git pull" before a new commit > >> >2. apply the patch > >> >3. run mvn verify etc. > >> >4. update the CHANGELOG > >> >5. run git commit -a > >> >6. run git push > >> > > >> >this pushes the current updated commit to TRUNK on the remote repo. If > you > >> >commit directly from your dev branch on your dev repo, you have to tell > >> >git > >> >to apply to trunk or it will make a new alternate branch matching your > dev > >> >branch. > >> > > >> >I think this is the method for doing commits now. Hows this sound to > you > >> >folks? > >> > > >> > > >> >On Sun, Jan 13, 2013 at 9:50 AM, Eli Reisman (JIRA) > >> >wrote: > >> > > >> >> > >> >> [ > >> >> > >> >> > https://issues.apache.org/jira/browse/GIRAPH-474?page=com.atlassian.jira > >> . > >> > >>plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552260#c > >> >>omment-13552260] > >> >> > >> >> Eli Reisman commented on GIRAPH-474: > >> >> ------------------------------------ > >> >> > >> >> Hey Maja, try a 'git branch -a' in your Giraph repo, something went > >> >>wrong > >> >> with this commit, it seems to be on its own branch or something. > >> >> > >> >> > >> >> > Add an option not to use direct byte buffers > >> >> > -------------------------------------------- > >> >> > > >> >> > Key: GIRAPH-474 > >> >> > URL: > https://issues.apache.org/jira/browse/GIRAPH-474 > >> >> > Project: Giraph > >> >> > Issue Type: Improvement > >> >> > Reporter: Maja Kabiljo > >> >> > Assignee: Maja Kabiljo > >> >> > Attachments: GIRAPH-474.patch, GIRAPH-474.patch > >> >> > > >> >> > > >> >> > Using direct byte buffers makes it harder to control the memory > used > >> >>by > >> >> giraph. It's a bit faster than regular buffers though (from some > >> >> experiments I run the difference was about 10%), so I am adding it > as an > >> >> option. > >> >> > >> >> -- > >> >> This message is automatically generated by JIRA. > >> >> If you think it was sent incorrectly, please contact your JIRA > >> >> administrators > >> >> For more information on JIRA, see: > >> >>http://www.atlassian.com/software/jira > >> >> > >> > >> > > > > -- > Claudio Martella > claudio.martella@gmail.com > --f46d04388ea90cadfa04d371aca0--