giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Presta <>
Subject Re: [jira] [Commented] (GIRAPH-474) Add an option not to use direct byte buffers
Date Mon, 14 Jan 2013 19:11:24 GMT
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
> repo, we have some
>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
>to apply to trunk or it will make a new alternate branch matching your dev
>I think this is the method for doing commits now. Hows this sound to you
>On Sun, Jan 13, 2013 at 9:50 AM, Eli Reisman (JIRA) <>
>>     [
>> Eli Reisman commented on GIRAPH-474:
>> ------------------------------------
>> Hey Maja, try a 'git branch -a' in your Giraph repo, something went
>> 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:
>> >             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
>> 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:

View raw message