Hi Ajay,
Timeline server REST API should help you
<ip:webaddress>/ws/v1/timeline
Sample out
{"About":"Timeline
API","timeline-service-version":"3.0.0-alpha2-SNAPSHOT","timeline-service-build-version":"3.0.0-alpha2-SNAPSHOT
from ca33bdd5c6afd45110edb6961d1c492bcb009472 by root source checksum
a4f754475b5999bad5114074e2318d42","timeline-service-version-built-on":"2016-11-11T15:08Z","hadoop-version":"3.0.0-alpha2-SNAPSHOT","hadoop-build-version":"3.0.0-alpha2-SNAPSHOT
from ca33bdd5c6afd45110edb6961d1c492bcb009472 by root source checksum
5ffa748d589f12a28c678021fe3a2af","hadoop-version-built-on":"2016-11-11T15:00
Regards
Bibin
From: AJAY GUPTA [mailto:[email protected]]
Sent: 22 November 2016 22:55
To: [email protected]
Subject: Determine whether yarn timeline server is running
Hi
I need to create an API which will return information whether the yarn timeline
server is running or not. Is there any way to determine this via code?
Thanks,
Ajay