hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7532) Hadoop web UI 2.0
Date Thu, 18 Aug 2011 23:04:33 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087378#comment-13087378
] 

Aaron T. Myers commented on HADOOP-7532:
----------------------------------------

bq. No, they're not enforced, you can easily turn off escaping with Jamon etc with one character.

"They're enforced by default but easy to turn off" is quite different from "they're not enforced."
It seems to me the main differentiator Hamlet has in this regard it that it's possible but
exceptionally difficult to disable escaping. I don't see this as terribly compelling.

bq. Another advantage I forgot to mention is the enforcement of HTML coding guidelines (for
style or security reasons), say forbid certain tags (font, center etc.) and attributes (all
the on* event attributes.). You cannot do this in any existing template systems. period.

I didn't realize that. That is kind of neat.

bq. The old wheel is not round/secure/robust enough?

Which wheels did you check out and find to be not round enough? :) I previously asked "Can
you perhaps enumerate which existing libraries you looked at, and why you ruled them out?"

bq. Which templating frameworks statically validates html for all possible combination of
queries?

I've used Twisted's templating framework fairly extensively, which does this. I have much
less experience with Java templating frameworks, so I don't know of a Java one which has this
feature, but I'd be surprised if one didn't already exist.

All this said, my aim is honestly not to critique Hamlet. Like Eli, I assume it's a good piece
of work. I'm just trying to make sure that other pre-existing options were thoroughly examined
and found to be so insufficient as to warrant writing a new templating engine. In HBASE-3835,
Todd describes some of the reasons why he went with Jamon in HBase. Does Hamlet fulfill all
of those requirements?

> Hadoop web UI 2.0
> -----------------
>
>                 Key: HADOOP-7532
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7532
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.23.0
>            Reporter: Luke Lu
>            Assignee: Luke Lu
>             Fix For: 0.23.0
>
>
> People have expressed interests of bringing Hadoop web UI up to date with the lightweight
embedded web mvc framework used in MAPREDUCE-279 (cf. MAPREDUCE-2399). This is the umbrella
jira for UI improvement for 0.23+. Individual items like web framework refactor/move and the
unique challenge for MR2 webapp security will be filed separately.
> Thoughts/ideas on various improvement of Hadoop web UI are welcome here. Some of the
ideas will naturally become sub-issues.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message