The organization I work for needs Knox to be able to proxy the Yarn UI so I've
been piecing together the existing patches for this and making additional
corrections to get it all working. During that I noticed something and I'm not
sure how to resolve it. Considering the following rule.
<rule dir="OUT" name="YARNUI/yarn/outbound/metrics" pattern="/metrics">
<rewrite template="{$frontend[url]}/yarn/metrics"/>
</rule>
I'd expect this to only rewrite things that started with '/metrics' however
it's also rewriting things like this '<div class="metrics"></div>' into '<div
class="https://knox_host:8433/gateway/default/yarn/metrics"></div>'. I've
taking a cursory look in Jira but I don't see this mentioned as an existing bug.
Generally I've gotten everything working and am just trying to clean up all the
css weirdness this introduces.
Thanks
Shawn Weeks