For Parsing job history logs in H23, One way I see is to figure out the
history file path
(JobHistoryUtils.getConfiguredHistoryServerDoneDirPrefix(conf)/YYYY/MM/DD/<job
serial number>/<job_id>-*.jhist) .
Then parse it with JobHistoryParser to get a JobInfo object out of it.

There's also a JobHistory server now, but I don't see code which would
return me jobhistory file location or some parseable content (json?)
for constructing the Jobinfo obj.

I was just curious that whether the first approach is OK, or are there more
better ways to achieve this?

Reply via email to