> Webui equivalent data has been exposed as jmx http APIs for a long time
Not true. HDFS-5342 was allegedly committed to branch-2 less than a year ago. Besides that obvious problem, how does one simulate HDFS browsing (especially going through the web auth--which is the key part!) via JMX or REST? Will it provide the guarantees that I know that users who are using browsers are functional? 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….). Are we really ready to open the floodgates? On Oct 1, 2014, at 4:05 PM, Suresh Srinivas <sur...@hortonworks.com> wrote: > Webui equivalent data has been exposed as jmx http APIs for a long time (I > think from 0.20 release, almost 4 years ago). We have made many jsp changes > that we have made that should have broken these applications many times. I > believe this is a frivolous objection for a functionality that as a community > we have never committed to keeping stable or backward compatible. > > Again I think given there is a clear and easier path for such uses to move > to, I am +1 on this change. > > Sent from phone > >> On Oct 1, 2014, at 3:44 PM, Allen Wittenauer <a...@altiscale.com> wrote: >> >> >> OK, then consider this an official objection. Yes, people do have >> workflows based upon scraping the Web UIs, especially workflows that >> simulate what interfaces users actually use. >> >>> On Oct 1, 2014, at 3:34 PM, Haohui Mai <h...@hortonworks.com> wrote: >>> >>> Hi, >>> >>> Thanks for the discussions. If there is no objection, I plan to merge the >>> related jiras from trunk to branch-2 in the coming days. >>> >>> ~Haohui >>> >>> On Wed, Oct 1, 2014 at 2:35 PM, Suresh Srinivas <sur...@hortonworks.com> >>> wrote: >>> >>>> Sorry for responding very late. I am +1 on removing the JSP UI in branch-2 >>>> for the following reasons: >>>> 1. The new web UI added has all the functionality of JSP UI. >>>> 2. For folks who might have used web UI to scrape the HDFS status, we have >>>> build a http JMX interface a long time ago. >>>> >>>> Given we do not guarantee the web UI as a stable and backward compatible >>>> interface, removing this should be okay. >>>> >>>> >>>> >>>>> On Thu, Sep 11, 2014 at 3:29 PM, Haohui Mai <h...@hortonworks.com> wrote: >>>>> >>>>> Hi all, >>>>> >>>>> In HDFS, the code that relates to webhdfs and UIs has diverged quite a >>>> bit >>>>> between branch-2 and trunk. This complicates the processes of maintaining >>>>> webhdfs in several jiras (e.g., HDFS-5946) >>>>> >>>>> Most of the divergences come from removing the JSP UI and the related >>>> clean >>>>> ups that are committed to trunk. >>>>> >>>>> Though I myself have to take the blame of creating these divergences -- I >>>>> wonder, is it acceptable to resolve these divergences, by committing >>>> these >>>>> patches that remove JSP UI to branch-2? This would save us the pains of >>>>> providing two patches when fixing issues in webhdfs. >>>>> >>>>> Note that the new HTML5-based UI is fairly mature, as it has been around >>>>> since 2.2, and it has been the default UI since 2.3. Compatibility, >>>>> however, might be a concern -- according to the compatibility guide, >>>> Hadoop >>>>> claims no compatibility for web UIs, thus we might be able to get away >>>> with >>>>> that. >>>>> >>>>> Thoughts? >>>>> >>>>> Regards, >>>>> 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. >>>> >>>> >>>> >>>> -- >>>> http://hortonworks.com/download/ >>>> >>>> -- >>>> 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. >>> >>> -- >>> 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. >> > > -- > 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.