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
>

Reply via email to