[
https://issues.apache.org/jira/browse/KNOX-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685223#comment-16685223
]
Sunil Govindan commented on KNOX-1031:
--------------------------------------
Hi [~risdenk]
This patch is adding rewrite rules for ATS 1.5 and ATS v2.
Tested with URLs like below
ASTv2
[https://ctr-e138-1518143905142-571798-01-000002.hwx.site:8443/gateway/ui/yarntimelinev2/ws/v2/timeline/clusters/workload1/flows]
[https://ctr-e138-1518143905142-571798-01-000002.hwx.site:8443/gateway/ui/yarntimelinev2/ws/v2/timeline/]
ATSv1.5
[https://ctr-e138-1518143905142-571798-01-000002.hwx.site:8443/gateway/ui/yarntimeline/ws/v1/applicationhistory/]
[https://ctr-e138-1518143905142-571798-01-000002.hwx.site:8443/gateway/ui/yarntimeline/ws/v1/applicationhistory/containers/container_e03_1542023648820_0007_01_000002/logs/stdout]
My topology looks like this:
{code:java}
<service>
<role>YARNTIMELINE</role>
<url>http://ctr-e138-1518143905142-571797-01-000002.hwx.site:8188</url>
</service>
<service>
<role>YARNTIMELINEV2</role>
<url>http://ctr-e138-1518143905142-571797-01-000002.hwx.site:8198</url>
</service>{code}
> Apache Hadoop Timeline Server REST API support
> ----------------------------------------------
>
> Key: KNOX-1031
> URL: https://issues.apache.org/jira/browse/KNOX-1031
> Project: Apache Knox
> Issue Type: New Feature
> Components: Server
> Affects Versions: 0.13.0
> Environment: Apache Hadoop clusters, HortonWorks clusters, Cloudera
> clusters, MapR clusters
> Reporter: Pierre Beauvois
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: KNOX-1031.001.patch, KNOX-1031.002.patch
>
>
> Timeline Server REST API as documented here: [Timeline Server REST
> API|https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/TimelineServer.html#Timeline_Server_REST_API_v1]
> The TLS REST API provides a RESTful interface to a Timeline Server. It makes
> it easy to produce and consume messages, view the state of the cluster, and
> perform administrative actions
> This feature allow to call Timeline Server REST API through Knox. It could be
> enabled in your topology by adding the following sample:
> {code:java}
> <service>
> <role>TIMELINESERVER</role>
> <url>http://{timelineserver-host}:{timelineserver-port}</url>
> </service>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)