Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 A4B6F183A7 for ; Tue, 13 Oct 2015 17:38:32 +0000 (UTC) Received: (qmail 73647 invoked by uid 500); 13 Oct 2015 17:38:32 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 73576 invoked by uid 500); 13 Oct 2015 17:38:32 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 73564 invoked by uid 99); 13 Oct 2015 17:38:32 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2015 17:38:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 91228C3BB0 for ; Tue, 13 Oct 2015 17:38:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.252 X-Spam-Level: *** X-Spam-Status: No, score=3.252 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id n8AjpljK4ZhA for ; Tue, 13 Oct 2015 17:38:19 +0000 (UTC) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 2396621114 for ; Tue, 13 Oct 2015 17:38:18 +0000 (UTC) Received: by obbzf10 with SMTP id zf10so19717930obb.2 for ; Tue, 13 Oct 2015 10:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=TeZ3ca3wJGFZzwnrvQttkCn+Xlxoih25yQaqLER5JWQ=; b=tD08BaF28EenbEvA24Cw39twMMGwqN9rpBMmKWm4LYBJXBd+xZJ2X/Bh0bomeuAjAD KFsK80Uh2BtjpwPdKH9w9FI9L73zAL88xwYAGLOhCO7w2RoZqSUmddq8ScyeNHonjfgd 56OY4wZ6DUkip6DyuC76yzkr+a/fXP+zUz/IMRI7I2Wi1kqCadZOU1nbOP9gJkNeRc4F VPT1c/jrQXGY1n6b9D5/pknxoC4rcQD+E/2mpOiUa4FDKWzsvk47DG0gtaW/fnK2oRIq ElvUvFuzEb4n7schNjqGwI3cI558DDlH2tsUL0WyFUyKKf21jbxCJsKk+0NIKu6S5Uqn 2oQg== X-Received: by 10.182.60.37 with SMTP id e5mr19940529obr.22.1444757896922; Tue, 13 Oct 2015 10:38:16 -0700 (PDT) MIME-Version: 1.0 Sender: sjlee0@gmail.com Received: by 10.202.69.67 with HTTP; Tue, 13 Oct 2015 10:37:57 -0700 (PDT) In-Reply-To: <1444751034985.51150@hortonworks.com> References: <1444750813436.92520@hortonworks.com> <1444751034985.51150@hortonworks.com> From: Sangjin Lee Date: Tue, 13 Oct 2015 10:37:57 -0700 X-Google-Sender-Auth: AsUYop6tZKeJMKes39jMbILIZco Message-ID: Subject: Re: [YARN-2928] rebasing to trunk To: "yarn-dev@hadoop.apache.org" Content-Type: multipart/alternative; boundary=089e01537a0a3b8e0f0521ffe988 --089e01537a0a3b8e0f0521ffe988 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks folks for chiming in. I'll finalize the rebase. We'll back out the changes made for HDFS-9187 later once that JIRA is closed. We should also look into the TestRPC change after this to see if we can avoid duplication. Please refrain from checking out the YARN-2928 branch for a little while until I force push the changes. I'll let you know when it's done. Thanks! Sangjin On Tue, Oct 13, 2015 at 8:42 AM, Junping Du wrote: > Thanks for the work, Sangjin! Please go ahead to complete rebase. > > About moving TestRPC from hadoop-common to hadoop-server-common, we were > adding "testRPCOnCollectorNodeManagerProtocol" by reusing existing code > in TestRPC which deal with server protocol so have to stay in > hadoop-server-common now. There is also another option to separate this > test case (added in YARN-2928 branch only) as a separated test class (lik= e: > TestServerRPC) with copy some test code from TestRPC, but it is not quite > reasonable just for merge convenient. > > > Thanks, > > > Junping=E2=80=8B > ------------------------------ > > Thanks Li! Naga's also fine with d35d861. Junping, are you OK with > completing the rebase as it stands? > > Sangjin > > On Mon, Oct 12, 2015 at 6:12 PM, Li Lu wrote: > > > Thanks Sangjin for the work! I=E2=80=99ve tested our temporary fix on H= Base UT > > failures (bd5af9c) and it looks good to me. I=E2=80=99m not an expert i= n HTrace or > > HDFS, but so far the fix works on our side. We may need to revert our > > current fix after HDFS-9187 is officially done, though. For now I=E2=80= =99m +1 on > > the temp fix in YARN-2928 branch. > > > > Li Lu > > > > On Oct 12, 2015, at 18:02, Sangjin Lee > sjlee@apache.org>> wrote: > > > > Hi folks, > > > > I have completed the rebase of YARN-2928 (this time cherry-picks really= ) to > > the trunk as of last Saturday. I resolved 10 merge conflicts most of wh= ich > > were minor. But I do want to call out a few of them, and would like you= to > > review how I resolved those conflicts before I make the rebase official= . I > > have just pushed this new branch ("*YARN-2928-rebase*") so you can take= a > > look at it. I'll swap the branches once we're satisfied. > > > > The following are those commits to review. I called out those who might= be > > best to review the merges. > > > > [3e3a8fe: Junping] > > Trunk added a new use (in TestContainerResourceIncreaseRPC > > < > > https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-= yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/TestContainerR= esourceIncreaseRPC.java#L99 > > >) > > of a method (TestRPC.newContainerToken) in TestRPC which we moved from > > yarn-common to yarn-server-common. I copied that method in > > TestContainerResourceIncreaseRPC. We could reconsider whether we want t= o > > move TestRPC from yarn-common to yarn-server-common. I don't recall the > > details of the discussion, but was there a strong reason to move TestRP= C > > out of yarn-common? If trunk keeps creating new uses of this class, it > > might be a problem. > > > > [d35d861: Naga] > > Trunk added a new RM event type (app updated: YARN-4044 > > < > > https://github.com/apache/hadoop/commit/a9aafad12b1d2f67e55e09a6fa261d6= 1789c9d7e > > >). > > I applied the same changes and moved code to > > AbstractTimelineServicePublisher, TimelineServiceV1Publisher, and > > TimelineServiceV2Publisher respectively. Naga, could you please confirm= if > > that new event is done right in the merge commit? > > > > [bd5af9c] > > It turns out HDFS-9080 broke the HBase mini-cluster, which in turn brok= e > > our HBase-based unit tests. This was caught by HDFS-9187 which has a pa= tch. > > The patch is not entirely correct (causes NPEs), and I applied a fixed > > version of that patch to our branch to ensure our tests pass. Let me kn= ow > > if you are OK with that. I don't think we can wait until HDFS-9187 gets > > resolved. > > > > If you could take a look at these commits, and let me know +1/-1, I'll = be > > able to take the next steps. Thanks everyone! > > > > Regards, > > Sangjin > >=E2=80=8B > > > --089e01537a0a3b8e0f0521ffe988--