Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # dev - Replacing the JSP web UIs to HTML 5 applications


Copy link to this message
-
Replacing the JSP web UIs to HTML 5 applications
Haohui Mai 2013-10-22, 22:59
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://
<namenode>/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.