For proxying resources, Web UIs are much more of a moving target than REST APIs. :/
On Thu, Oct 27, 2016 at 6:38 PM, Mohammad Islam <misla...@yahoo.com> wrote: > Thanks Larry. > > I'm surprised that after spending 1 hours or so, I came to the same > findings/conclusions :) > > I will follow the process. > > Really appreciate your quick help. > > Regards, > Mohammad > > > > > On Thursday, October 27, 2016 3:16 PM, larry mccay <lmc...@apache.org> > wrote: > > > Hi Mohammad - > > This appears to require additional changes to the rewrite rules for the > UIs. > Look in {GATEWAY_HOME}/data/services/hdfsui/2.7.0/rewrite.xml for the > existing rules. > > If you could file a JIRA for the issue and provide a patch that would be > great to get into the 0.11.0 release. > > thanks! > > --larry > > On Thu, Oct 27, 2016 at 4:45 PM, Mohammad Islam < > misla...@yahoo.com.invalid> wrote: > > Hi All,I can't view the full UI (i.e. Namenode or Yarn UI) in browser. I > can only see a static page -- no dynamic content though. > I found one potential error. In browser, I saw few files download were > getting "404". When I saw it closely the failure downloads has wrong paths. > For example. > 1. Successful: This file has succeeded with 200 : "http://MY_KNOX_HOST:8445/ > gateway/sandbox/hdfs/static/ jquery-1.10.2.min.js > <http://my_knox_host:8445/gateway/sandbox/hdfs/static/jquery-1.10.2.min.js> > " > 2. Failure: This one got 404. http://MY_KNOX_HOST:8445/ > static/jquery.dataTables.min. js > <http://my_knox_host:8445/static/jquery.dataTables.min.js> > If you closely see the failure case, the full path is not > there. /gateway/sandbox/hdfs/ is missing. Btw I can see a few 404s. > Any idea? Or there could be something else? > Regards,Mohammad > > > > > >