[jira] [Updated] (HDFS-12661) Ozone: Support optional documentation link in KSM/SCM webui

2017-10-14 Thread Anu Engineer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-12661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anu Engineer updated HDFS-12661:

  Resolution: Fixed
Hadoop Flags: Reviewed
   Fix Version/s: HDFS-7240
Target Version/s: HDFS-7240
  Status: Resolved  (was: Patch Available)

[~elek] Thanks for the contribution. I have committed this to the feature 
branch.

> 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
> 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 ui.
> 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 build)
> * 
> 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
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12661) Ozone: Support optional documentation link in KSM/SCM webui

2017-10-14 Thread Elek, Marton (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-12661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elek, Marton updated HDFS-12661:

Attachment: HDFS-12661-HDFS-7240.002.patch

Unnecessary  tag is removed. The doc link is added to the common tools so 
we don't need to add separated directive.

> 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
> 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 ui.
> 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 build)
> * 
> 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
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12661) Ozone: Support optional documentation link in KSM/SCM webui

2017-10-13 Thread Elek, Marton (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-12661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elek, Marton updated HDFS-12661:

Attachment: HDFS-12661-HDFS-7240.001.patch

> 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
> Attachments: HDFS-12661-HDFS-7240.001.patch
>
>
> In some cases it could be useful to include additional documentation to the 
> SCM/KSM web ui.
> 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 build)
> * 
> 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
(v6.4.14#64029)

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



[jira] [Updated] (HDFS-12661) Ozone: Support optional documentation link in KSM/SCM webui

2017-10-13 Thread Elek, Marton (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-12661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elek, Marton updated HDFS-12661:

Status: Patch Available  (was: Open)

> 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
> Attachments: HDFS-12661-HDFS-7240.001.patch
>
>
> In some cases it could be useful to include additional documentation to the 
> SCM/KSM web ui.
> 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 build)
> * 
> 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
(v6.4.14#64029)

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