[ https://issues.apache.org/jira/browse/MESOS-5735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15356290#comment-15356290 ]
zhou xing commented on MESOS-5735: ---------------------------------- [~vinodkone] • WebUI may connect to a follower master and get /state from that master, in the code, it will use {{state.leader == state.pid}} to judge whether it is connecting to the leader master, if not, it will redirect. • For {{log_dir}} and {{external_log_dir}}, I think we can also get from GetFlags? • If we only want to only include the mutable stuff in GetState, I think client like WebUI can be changed to call GetVersion/GetFlags/GetMaster respectively. Considering that WebUI is periodically calling /state endpoint, I tend to think that keep GetState simple would be better. > Update WebUI to use v1 operator API > ----------------------------------- > > Key: MESOS-5735 > URL: https://issues.apache.org/jira/browse/MESOS-5735 > Project: Mesos > Issue Type: Bug > Reporter: Vinod Kone > Assignee: zhou xing > > Having the WebUI use the v1 API would be a good validation of it's usefulness > and correctness. -- This message was sent by Atlassian JIRA (v6.3.4#6332)