Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 BC84317706 for ; Thu, 2 Oct 2014 17:02:20 +0000 (UTC) Received: (qmail 29671 invoked by uid 500); 2 Oct 2014 17:02:20 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 29569 invoked by uid 500); 2 Oct 2014 17:02:20 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 29558 invoked by uid 99); 2 Oct 2014 17:02:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 17:02:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stevel@hortonworks.com designates 209.85.223.176 as permitted sender) Received: from [209.85.223.176] (HELO mail-ie0-f176.google.com) (209.85.223.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 17:02:15 +0000 Received: by mail-ie0-f176.google.com with SMTP id rp18so2951520iec.35 for ; Thu, 02 Oct 2014 10:01:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=6XtYhmhXtVN68wcE0lkfV6MMM+TTIrkpXBFFF/z+I7k=; b=K1aBGg/wpSw/5LpM7dWZP7uaTYwKvRFJcvgHh8KMKL8mMbHszj/OJD8pfLeEZoMTd+ W5DJ7rhSGt/kAQWS/TlRFlH0tewhqxQ4FAAXoIqKvWeqvBTP5b/3vn0ATboO6Ib3R6eN xQWYxGV1KQq1dnZfXFT4/vYVwhHQy0eaWchGmZQbJ7jhrlTZnjYh7YUNSKVlZ8mrNlqb f+/jeC39u4IKBhrG6+uf/pLCCIiynuDPAA6zwAed5se+ocecXK1THN7C/A8dzRGCqXpn cumc3vzaZO2/7OpqWKyOwLKl3V5Xj1KSK8YgWDAEBomiHtmEgDaNmcCWBrXMh59p25X/ S74Q== X-Gm-Message-State: ALoCoQlM1mFuDt7LBCLTN4UVtNPKumVDYR+vNQ5bcYVB4MG/0jr4kBsGSv0qovW9KhoSmN1IlokfeOVD1dPYavVCXKMbS1YklXGh/8BhZUoBPfgp0qcWx7Kg4JTkP0FDIPvHM94GVWp2 MIME-Version: 1.0 X-Received: by 10.42.46.81 with SMTP id j17mr6914120icf.54.1412269314363; Thu, 02 Oct 2014 10:01:54 -0700 (PDT) Received: by 10.107.11.217 with HTTP; Thu, 2 Oct 2014 10:01:54 -0700 (PDT) In-Reply-To: References: <6E267278-58B9-43D6-A161-8727804E9581@altiscale.com> Date: Thu, 2 Oct 2014 10:01:54 -0700 Message-ID: Subject: Re: [DISCUSS] Resolving the divergences for web-related code between branch-2 and trunk From: Steve Loughran To: "hdfs-dev@hadoop.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 1 October 2014 17:25, Allen Wittenauer wrote: > > This is also an interesting precedent: Are we declaring that UIs are = defacto non-stable? Does this mean we can break the output of, e.g., count= or ls or whatever because they don't have stabilities associated with them= ? What line is to be drawn here? IMO, difficulty in moving code is NOT a = sufficient reason to throw out the compatibility guarantees. It is only an= indicator that we as a community are taking too long getting out releases. > > If we do this change, then it's pretty much open season on all of= other UI-incompatible changes sitting in trunk (and there are a bunch=E2= =80=A6.). Are we really ready to open the floodgates? http://hadoop.apache.org/docs/r2.5.1/hadoop-project-dist/hadoop-common/Comp= atibility.html#Web_UI Web UI =3D=3D=3D=3D=3D=3D Web UI, particularly the content and layout of web pages, changes could potentially interfere with attempts to screen scrape the web pages for information. Policy =3D=3D=3D=3D=3D Web pages are not meant to be scraped and hence incompatible changes to them are allowed at any time. Users are expected to use REST APIs to get any information. we're saying "REST is stable; UI flexible" w.r.t browser simulation; HtmlUnit even handles javascript in its inside-JUnit4 test runs, negotiated connections &c. It can assess basic functionality. Real browser testing can be done with Selenium the risk that AW is pointing out on the NN UI is that it has been around and stable long enough that it predates webhdfs, and because of its JSP-free view, has been amenable to scraping. Some people probably are still using it. Does that mean we should keep it? If it cost nothing, I'd be in favour, but if the ongoing maintenance is high then I think that it has to be retired at some time. All that's being argued about is "when". (BTW, this pushes for a REST-first policy on all future web work. Do the stable API then make the human-friendly view a thin layer in front of it) --=20 CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to= =20 which it is addressed and may contain information that is confidential,=20 privileged and exempt from disclosure under applicable law. If the reader= =20 of this message is not the intended recipient, you are hereby notified that= =20 any printing, copying, dissemination, distribution, disclosure or=20 forwarding of this communication is strictly prohibited. If you have=20 received this communication in error, please contact the sender immediately= =20 and delete it from your system. Thank You.