Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 73B98200D18 for ; Wed, 27 Sep 2017 01:21:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 722851609EA; Tue, 26 Sep 2017 23:21:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B69301609D7 for ; Wed, 27 Sep 2017 01:21:54 +0200 (CEST) Received: (qmail 86294 invoked by uid 500); 26 Sep 2017 23:21:53 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 86282 invoked by uid 99); 26 Sep 2017 23:21:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2017 23:21:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 29C1B18154A for ; Tue, 26 Sep 2017 23:21:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id C4PU02BsWyMc for ; Tue, 26 Sep 2017 23:21:52 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 769B460DB2 for ; Tue, 26 Sep 2017 23:21:51 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id r136so12601379wmf.2 for ; Tue, 26 Sep 2017 16:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=aI5UV3HO0uNWfJ5/qYGR5MP0Q7B+rh2f+nDcb5+Ixwc=; b=VnvlSx32y5wceye+EV7cBHMJwdHSHeUTqXiBiNC5Gvf9slPKT0tMDFpMGR8h+0jW6/ GScBs4408cQAvcMvuXgqYWG2ptYpLQ+N9xUK16JpurtUVbE1hD7+DOqy2/xDpozizihC N/RvHZE/BJfVdsIR4N0tAtD3aMa8bjRlqZcwqydR+Lpu80H+im17bDfIQEnbKKi3WwEu 8zbt6WIsDZFOltZtpjTKYCbxUiRtrUuYw2z6qVPia+Sw4VzifPzXh+7FiRZpmd0JbVZ3 PxlputjpzX1+gPh32i9GAXpcIM7tSP7Kib6mhXgxZWP7wfgyKGjQ7L+wb75h46GePxvG Bt/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=aI5UV3HO0uNWfJ5/qYGR5MP0Q7B+rh2f+nDcb5+Ixwc=; b=hx6zL0qLONS/qjRE9yPqZXK/hgHvSjrjX+Z+/zRyZbRTA97N7PEH5ZQd0uqH30W/xR UznBi6ly361GQCXX+0lLg1TpgpvzAlgw5oqO/nOIN5G58ZHqxbZCDBJ+uBe9P6D/hpZy T3qo23tvwu8CEranWPyxIvmyX36MBnLeGBH0KRfENLHgzpQz0Rfbd1N8b/obYTAtIbjB r0FjEjrGnAnczxnfAJ1kOGfTbTtXUAkiifUAgWHssQLZ9UTjOSMWrorygntEICJz5HHL R5QcM/4p2Jb5udZSOY/dNuLSRIh+YrooS5BxqQTUnen9ALU4jC84V6doXQlnLXmczi77 IWCQ== X-Gm-Message-State: AHPjjUjDkjjBE+XnvoY4KevDGDTa/Mco8yoxgSVPZW1TelkrcLqcAMj9 qaxljjijAKBGtGAP6jYwvY8xYVYfkuxKZG9PipDMNqcr X-Google-Smtp-Source: AOwi7QD5YQFezahA9Cj/BK228FnypoT9i11MJRqNdqMoK7aoPTxDaSLj9uuAhvGB6iJf8QnFBba3ElNnXBrCHTvWFQU= X-Received: by 10.80.139.252 with SMTP id n57mr18998049edn.291.1506468104848; Tue, 26 Sep 2017 16:21:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.165.104 with HTTP; Tue, 26 Sep 2017 16:21:14 -0700 (PDT) From: Sergiy Matusevych Date: Tue, 26 Sep 2017 16:21:14 -0700 Message-ID: Subject: Q: reef web interface configuration To: dev@reef.apache.org, "Julia Wang (QIUHE)" Cc: Doug Service , Markus Weimer Content-Type: multipart/alternative; boundary="f403045c243e414b0b055a1ff0dd" archived-at: Tue, 26 Sep 2017 23:21:55 -0000 --f403045c243e414b0b055a1ff0dd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Julia, I have a question about REEF HTTP server configuration in reef-bridge-client. We have the class org.apache.reef.bridge.client.YarnJobSubmissionClient. In its .launch() method, we submit a new YARN application via YarnSubmissionHelper.submit(), and *then* write the Driver=E2=80=99s HTTP endpoint info to the file. I have a few questions about this process: 1) why do we write the HTTP endpoint *after* we submit the YARN job? I understand that it takes seconds for YARN to actually launch the job, but still, shouldn't we write that file *before* it? 2) why do we need that file for HTTP endpoint configuration at all? Can't we pass the hostname and the port as part of the regular Driver configuration so it will be automatically injected where we need it? P.S. I am asking because we'll need to pass a few parameters for the new bridge configuration (basically, the port number of the new Java <-> .NET TCP bridge), and I wanted to know if we need to use a separate file for our config. Thank you, Sergiy. --f403045c243e414b0b055a1ff0dd--