[ https://issues.apache.org/jira/browse/KNOX-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandeep More updated KNOX-1031: ------------------------------- Attachment: KNOX-1031.001.patch Hello [~pbeauvois] I created the patch out of the comments you posted and attached it to the bug. During the initial testing the patch seems to be working fine. I am a bit uncomfortable with the api though, i.e. currently the patch expects url as follows {code} https://localhost:8443/gateway/sandbox/timeline/v1/timeline {code} The 'timeline/v1/timeline' part looks a bit awkward. Given that this is a REST api may be you can rename this as 'timeline-api' so the url might look something like {code} https://localhost:8443/gateway/sandbox/timeline-api/v1/timeline {code} It would also be more clear that it servers as an API and not an UI. Also, you can find more info on how to contribute on the [Wiki|https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process ] > 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 > Fix For: 0.14.0 > > Attachments: KNOX-1031.001.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 (v6.4.14#64029)