Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-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 05A9CF302 for ; Wed, 24 Apr 2013 19:39:34 +0000 (UTC) Received: (qmail 11139 invoked by uid 500); 24 Apr 2013 19:39:33 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 11116 invoked by uid 500); 24 Apr 2013 19:39:33 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 11108 invoked by uid 99); 24 Apr 2013 19:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 19:39:33 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of benjamin.mahler@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vc0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 19:39:28 +0000 Received: by mail-vc0-f173.google.com with SMTP id ia10so832677vcb.32 for ; Wed, 24 Apr 2013 12:39:07 -0700 (PDT) X-Received: by 10.220.64.208 with SMTP id f16mr23477844vci.32.1366832347170; Wed, 24 Apr 2013 12:39:07 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPSA id tn7sm1221652vdc.8.2013.04.24.12.39.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Apr 2013 12:39:06 -0700 (PDT) Received: by mail-vc0-f182.google.com with SMTP id ht11so2180441vcb.13 for ; Wed, 24 Apr 2013 12:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=S1PAWlOYslDnasOwpv+4i8mtBb2krlyyRYQh2w+TIgo=; b=lrYxncF0FP2BtYoQ+zrrFfPEks8Bvdr2ZBDK9rX2y3XnWUu+9cVZ1MQb2SREyDmJfn 8sqyqldYP9J+PeHEq+1biOXBoHfqXWYdOQdhLzELHWbt6WdS1y34blIvKB0vUeuu+HIP hHX83UEMF9OmBhV1Sdm6FYkJzWuWBKPIQEYq89qM0R3ybW72JZN+U6nz0d8c/0Ch9npv EVhzOa/NZbq6Mhsgo10m6bi7+SsvvAiWKKTBkuAmWJRer2kNDLIzluqAY3J0nHBrhDus /rqsoPvZ2M5SxXSQNA/9FwAQIsuE8kG+b7U9NoQSC42Z1ucKUsmLc+BWl2grGzfxIGkk +L9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=S1PAWlOYslDnasOwpv+4i8mtBb2krlyyRYQh2w+TIgo=; b=VzHvRJkQlj4jQnbk55x/otYvLJ4/ni5hCHh3ysF+I9Pu2bzSiXeBorXpi4qoNdiH3q YOqmFrgBQugYAPzr5wF/ira18+EBu+duCeMMs3/vCEOzmiDd6oRPe+dXS11btvSWoP+v Njzf6uk7sErz0VeKksuyY1hER/90M++rfWnGm+nu8Gh19m+AIbiLoyGpgb2j9BV5tHt/ mEOzYk70rXQkww4KhRiBzipfWOfhYEYRcNm+D71DpDverymx/DM7eMU60R+KgoqRU6r6 1TY6mMTSbJXKATh8oP19XNv+T1WLgMbmWBZ9Zejnw5+1/FAfsJeb9yTpaEgQQEHewwUF hhRg== X-Received: by 10.52.17.102 with SMTP id n6mr12575878vdd.109.1366832345417; Wed, 24 Apr 2013 12:39:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.168.5 with HTTP; Wed, 24 Apr 2013 12:38:45 -0700 (PDT) In-Reply-To: References: From: Benjamin Mahler Date: Wed, 24 Apr 2013 12:38:45 -0700 Message-ID: Subject: Re: help about support/post-review tools To: "mesos-dev@incubator.apache.org" Content-Type: multipart/alternative; boundary=bcaec502d5046a91f304db2074dc X-Gm-Message-State: ALoCoQktxB+YUDFD9oFl65W7jc5zwQZ2txF3lbDnuHURIdFOZ82X35jzx7KraxXAOf6Ho7Q+WTHT X-Virus-Checked: Checked by ClamAV on apache.org --bcaec502d5046a91f304db2074dc Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Would love to hear a litte more about how you're using mesos! Are you writing your own framework or have you been using the Hadoop framework exclusively? Are you using other third-party frameworks? Ben On Tue, Apr 23, 2013 at 7:42 PM, =CD=F5=B9=FA=B6=B0 wr= ote: > Hi Ben, > > Thanks a lot. I didn't notice the wrong patch in my second post-review. I > did 2 commits. Sorry about that. > > My team is going to use mesos to deploy our service. And I hope to learn > more details about Mesos. :) > > Guodong > > > On Wed, Apr 24, 2013 at 1:47 AM, Benjamin Mahler > wrote: > > > Hey Guodong, I'm going to get this submitted for you, thanks for the > patch! > > To make a commit you would need committer access to the project, > something > > we will definitely be considering as you help out and contribute furthe= r! > > > > I looked at your diff and it looked like you made two commits? With > > post-reviews, there is a 1:1 commit:review ratio, so ReviewBoard shows > your > > patch only having the second commit: > > > > diff --git > > a/hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java > > b/hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.java > > index > > > > > 3074bebee3ea4b907b3e24541490cd0d80dcd3e1..afe401f5265e3d9494af7eace42eec4= 5943184a3 > > 100644 > > --- a/hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.jav= a > > +++ b/hadoop/mesos/src/java/org/apache/hadoop/mapred/MesosScheduler.jav= a > > @@ -224,6 +224,7 @@ public class MesosScheduler extends TaskScheduler > > implements Scheduler { > > // Let the underlying task scheduler do the actual task scheduling= . > > List tasks =3D taskScheduler.assignTasks(taskTracker); > > > > + // The Hadoop Fair Scheduler is known to return null. > > if (tasks !=3D null) { > > // Keep track of which TaskTracker contains which tasks. > > for (Task task : tasks) { > > > > In the future, we use 'git commit --amend' when looking to update an > > existing review. Interactive rebasing also works when your commit is > buried > > in history. > > > > But don't worry about it this time! I'll fix this up manually :) > > > > > > On Mon, Apr 22, 2013 at 8:21 PM, =CD=F5=B9=FA=B6=B0 wrote: > > > > > BTW: how can I submit my code to the remote repo? > > > > > > I see you guys use git-svn, but I use git to pull the repo out. Is it > Ok > > to > > > merge my branch to trunk and push my commit to remote repo? > > > > > > Thanks. > > > > > > Guodong > > > > > > > > > On Tue, Apr 23, 2013 at 11:03 AM, Vinod Kone > > wrote: > > > > > > > also, it should be safe to manually delete the bad "Review: ...." > line > > > from > > > > your log message. > > > > > > > > > > > > On Mon, Apr 22, 2013 at 8:00 PM, Benjamin Mahler > > > > wrote: > > > > > > > > > That definitely looks like a bug! It looks like your version of > > > > post-review > > > > > might have different output than the version we typically use. Wh= at > > > > version > > > > > of post-review are you running? > > > > > > > > > > Here is an expected git log message: > > > > > > > > > > commit 741d67a65713a349450165d5f6cc9f916e04814d > > > > > Author: Benjamin Mahler > > > > > Date: Mon Apr 15 16:10:44 2013 -0700 > > > > > > > > > > Removed the hostname:port slave map from the Master. > > > > > > > > > > Review: https://reviews.apache.org/r/10534 > > > > > > > > > > > > > > > On Mon, Apr 22, 2013 at 7:52 PM, =CD=F5=B9=FA=B6=B0 wrote: > > > > > > > > > > > Hi all, > > > > > > > > > > > > I am using support/post-review.py to submit my review. But the > git > > > log > > > > of > > > > > > my commit seems wrong. I don't know the reason. Now, I can not > > update > > > > my > > > > > > review request with this tool, since it can not parse the corre= ct > > > > > > review-request-id from git log. > > > > > > > > > > > > The latest 2 commits of my branch is like the following. > > > > > > > > > > > > Author: guodong wang > > > > > > Date: Tue Apr 23 10:16:39 2013 +0800 > > > > > > > > > > > > add some comments > > > > > > > > > > > > commit a688741ae523abb2d83496daa6eae84809d2f2ad > > > > > > Author: guodong wang > > > > > > Date: Mon Apr 22 10:41:15 2013 +0800 > > > > > > > > > > > > fix NullPointerException in MesosScheduler when using > > > fairscheduler > > > > > as > > > > > > the underlying scheduler > > > > > > > > > > > > Review: Created new window in existing browser session. > > > > > > > > > > > > I think the green line is not the right log, Is it possible tha= t > > > > > > support/post-review.py generated the wrong Review information ? > > > > > > > > > > > > I think I can modify the git log manually to bypass this proble= m. > > But > > > > > still > > > > > > want to know the reason of it. > > > > > > > > > > > > Thanks. :) > > > > > > > > > > > > Guodong > > > > > > > > > > > > > > > > > > > > > --bcaec502d5046a91f304db2074dc--