I'm trying to access WebHDFS UI on my cluster where knox and HDFS HA is enabled.
When my Namenode1 is active and Namenode2 is in StandbyState, WebHDFS is accessible. But when Namennode2 becomes active and Namenode1 is stopped, WebHDFS is not accessible (Here Namenode1 is not in standby state, I have stopped it manually).
From error it looks like WebHDFS request is going to master-02 which is stopped instead of going to Active Namenode master-03.
When I manually change knox topology and write master-03 as first url in NAMENODE and HDFSUI, Knox starts to point master-03. So I think knox gateway points to first URL only.