[ 
https://issues.apache.org/jira/browse/HDDS-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16684429#comment-16684429
 ] 

Elek, Marton commented on HDDS-832:
-----------------------------------

The problem in the HttpServer2:

{code}
 resourceUrl =
          getClass().getClassLoader().getResource("webapps/" + appName);
{code}

Here the resourceUrl is defined. This is the base prefix for for all the web 
resources. But in the new layout this is not a directory any more but a jar 
file location. (jar:///......hadoop-hdds-server-scm.jar:/webapps/scm).

So it's not enough to put something to the classpath. It should be in exactly 
the same jar file (or directory) where the original web folder is. And the web 
folder are parts of the jar files (servier-scm/ozone-manager)

For the easier workaround we need to put the docs folder (which is generated by 
hdds-ozone/docs) to the jar file of hadoop-hdds/server-scm/ and 
hadoop-ozone/ozone-manager/. To avoid circular dependencies we need to move 
hadoop-ozone/docs to hadoop-hdds/docs (a hdds project (eg. server-scm) 
shouldn't depends on a ozone projects).





> Docs folder is missing from the distribution package
> ----------------------------------------------------
>
>                 Key: HDDS-832
>                 URL: https://issues.apache.org/jira/browse/HDDS-832
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Blocker
>
> After the 0.2.1 release the dist package create (together with the classpath 
> generation) are changed. 
> Problems: 
> 1. /docs folder is missing from the dist package
> 2. /docs is missing from the scm/om ui



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to