hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12661) Ozone: Support optional documentation link in KSM/SCM webui
Date Tue, 24 Apr 2018 20:58:08 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451079#comment-16451079

Hudson commented on HDFS-12661:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12661. Ozone: Support optional documentation link in KSM/SCM webui. (aengineer: rev 252cf8bbbc459ad63ddde45213eb1de2b5ccbe57)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/ozone.js
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/templates/tools.html

> Ozone: Support optional documentation link in KSM/SCM webui
> -----------------------------------------------------------
>                 Key: HDFS-12661
>                 URL: https://issues.apache.org/jira/browse/HDFS-12661
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: HDFS-7240
>         Attachments: HDFS-12661-HDFS-7240.001.patch, HDFS-12661-HDFS-7240.002.patch
> In some cases it could be useful to include additional documentation to the SCM/KSM web
> This patch includes an optional hook. During the startup scm/ksm web ui do a HTTP HEAD
request and if docs/index.html exists, an additional Documentation link will be displayed
in the menu header. 
> Long term we can generate documentation automatically from the source. 
> Testing:
> Do a full build, start scm: no link in the ui.
> Add some optional documentation (choose one):
> * hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/scm/docs/index.html (before build)
> * hadoop-hdfs-project/hadoop-hdfs/target/webapps/scm/docs/index.html (after clean, before
> * hadoop-dist/target/hadoop-3.1.0-SNAPSHOT/share/hadoop/hdfs/webapps/scm/docs/index.html
(after build)
> And start scm again. There should be a documentation link in the menu which opens the
optional documentation.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message