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 21C7C109DF for ; Tue, 22 Oct 2013 23:00:28 +0000 (UTC) Received: (qmail 95369 invoked by uid 500); 22 Oct 2013 23:00:27 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 95301 invoked by uid 500); 22 Oct 2013 23:00:27 -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 95293 invoked by uid 99); 22 Oct 2013 23:00:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 23:00:27 +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 (nike.apache.org: domain of hmai@hortonworks.com designates 209.85.220.174 as permitted sender) Received: from [209.85.220.174] (HELO mail-vc0-f174.google.com) (209.85.220.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 23:00:20 +0000 Received: by mail-vc0-f174.google.com with SMTP id ie18so7513vcb.19 for ; Tue, 22 Oct 2013 15:59:59 -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:date:message-id:subject:from:to :content-type; bh=gVtulnIC/1+Zj3fAk1+fpx+ZoBT6m1VgnuEceI4emBA=; b=glblh95EBFSqijG7f6cGTyrfQYqhvhZfOEw9gTIGjIUGTQCf0Cga31tQntdTQB95Y5 poLqdMVH3HnyUsyTqh8WOOpyK8N4nw+hBqosVla1+kacyUq1MApE5IAPFmqOpKW6IHOP Dir8Xpb479AD6cgWbOLje699FSE8KyzNXeplDKf0NjvfXZnGLrUIFJmMcWElFJQpfoKG SGM78h3E/Bd75fc6X4wSgrHDIos5JE7vGJGdvqdVzHz6AB3QK89Rum7hKMUbq+8lYavI +uGKgp0anL7cg5abcrObfbckueT/JUXjpU/55hq3vfIX732ZUWPTtpWB1yKKOT8TqbIZ Qw0Q== X-Gm-Message-State: ALoCoQnJubYVIaToeEIVhC5kiSXqFZ4Fw0zwe2GQANyyyugFwUtXF0H7Y89MrOQzmVMLEPHvh2Vct0qaP/DGH7Fnx3RgWtOUvAteYofMkmJEmr85cEPxVCw= MIME-Version: 1.0 X-Received: by 10.52.164.16 with SMTP id ym16mr236796vdb.39.1382482799476; Tue, 22 Oct 2013 15:59:59 -0700 (PDT) Received: by 10.52.245.106 with HTTP; Tue, 22 Oct 2013 15:59:59 -0700 (PDT) Date: Tue, 22 Oct 2013 15:59:59 -0700 Message-ID: Subject: Replacing the JSP web UIs to HTML 5 applications From: Haohui Mai To: hdfs-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c22e582bdb0804e95c5c65 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c22e582bdb0804e95c5c65 Content-Type: text/plain; charset=US-ASCII Hi all, Jing Zhao and I recently have reimplemented the JSP-based web UIs in HTML 5 applications (HDFS-5333). Based on our prelimanary testing results we believe thst the new web UIs of the namenodes and the datanode are ready for everyday uses. You're more than welcome to try it out on trunk by visiting http:// /dfshealth.html There are a number of benefits from this transition. From a developer's prospective, the most notable one is *maintainability*: (1) The abstractions between the UI and the core server are well-defined, decoupling the UI and the core hadoop servers. (2) It allows us to deprecate the logic in the JSP pages. The old web UIs have to duplicate the logic in the JSPs. The logic is often out-of-dated and not well-tested, which leads to broken pages and security vulnerabilities(e.g. HDFS-5251, HDFS-5307, HDFS-5308, HDFS-5317 and HDFS-4901). The architecture of the new UIs prevent these bugs at the very beginning. I propose that deprecate the old, JSP-based web UIs in 2.3. I opened HDFS-5402 to track the relevant discussions. Your feedbacks are highly appreciated. Sincerely, Haohui -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You. --001a11c22e582bdb0804e95c5c65--