K0K0V0K commented on PR #8301:
URL: https://github.com/apache/hadoop/pull/8301#issuecomment-4011105384

   Thanks @Hean-Chhinling for the review!
   ------------------
   Sure @pan3793 , we are open to that!
   
   Yes, I think the same — the UI is not in the best shape and is somewhat hard 
to maintain.
   
   Two years ago, I created a UI PoC:
   https://github.com/K0K0V0K/yayu
   
   I had a vision that we should move away from JS code and use static 
rendering for the following reasons:
        •       If no JS is running, no vulnerabilities can be introduced 
through JS code.
        •       If we don’t have JS dependencies, we don’t need to constantly 
update them.
        •       The main language of Hadoop is Java, so if the UI is 
Java-based, the community could maintain it more easily.
        •       Writing UI tests for it would also be much easier.
   
   There is a downside regarding the UI experience, but in the context of 
Hadoop, I suspect users are more focused on security than on having a fancy UI.
   
   However, to be honest, I’m not sure if this is the right approach.
   May I ask your opinion about this?
   
   Should we move to a no-JS UI where users can see the cluster state, or 
should we move to a newer JS framework?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to