Yeah, this is my question. I can get the finished MR job history in json through history server, like http://ip:19888/ws/v1/history/mapreduce/jobs/job_123456. But now, I need to get it through knox due to some security issue. But during the url rewrite in knox, I don't find a right service to use to do the rewrite, neither jobhistoryui nor yarn.
So my question is Is there a way to get the finished MR job history in json through knox? Guang On Fri, Oct 27, 2017 at 8:16 PM, larry mccay <[email protected]> wrote: > Hmmmm, I'm not sure what you are expecting from Knox here. > > If you are looking for JSON then you should definitely be looking at an > API not a UI service. > I don't know that there is a jobhistory API maybe the resource manager API > will meet your needs - not sure. > > > On Fri, Oct 27, 2017 at 7:29 PM, Guang Yang <[email protected]> wrote: > >> Hi all, >> >> Now we're use knox to rewrite all kinds of service urls to hadoop world. >> All others work well except the one to get mapreduce job history info. >> >> I found in the resources/services repo, we just have jobhistoryui instead >> of simple jobhistory. And this is the problem that I'm facing, I just want >> to get the history info in json or xml, not UI. But all of the rewrite >> rules in jobhistoryui are for UIs. Is there some way that I can get the >> info in json through knox? Is the jobhistoryui the right service to use? >> >> Thanks in advance. >> >> Guang >> > >
