Just to add more specific use-case of YARN UI.
BTW my KNOX service was running behind another FE proxy.
When I typed https://<MY_FE_PROXY>/gateway/sandbox/yarn in my browser, I saw
the message " This is standby RM. Redirecting to the current active RM:
http://<PRIMARY_DIRECT_YARN_UI_HOST>:8088/cluster".
At this time, my browser also tried to connect to
"http://<DIRECT_YARN_UI_HOST_PRIMARY>:8088/cluster" but it's timed out because
the YARN internal host was behind the firewall and was not directly accessible
through browser.
Looks like Knox was sending a response to FE proxy with a header "Refresh: 3;
url=http://<DIRECT_YARN_UI_HOST_PRIMARY>:8088/cluster". My question is : is
there a way for Knox to replace the internal Yarn Host or endpoint with
something like knoxy endpoint.
Regards,Mohammad
On Tuesday, November 1, 2016 12:24 PM, Mohammad Islam <[email protected]>
wrote:
Hi,I'm wandering if there is any built-in support in Knox for any (NN/RM) UI
to automatically forward to active NN/RM.
I saw there is HA support in WebHDFS level. But not sure if I need to do
anything special for HDFSUI. The same is true for YARNUI.
Regards,Mohammad