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

Anu Engineer commented on HADOOP-14850:
---------------------------------------

+1, I am willing to commit this to the trunk. I am not sure if this is needed 
in the beta1. [~elek] Please feel free to reopen this if you really want this 
in beta1 so we can discuss it.

[~andrew.wang] Are you ok with this patch being committed to beta1, It will not 
have any impact per se, but it is not any functionality gain either. 
Is there any guidance on what should go to beta1? Any change which will not 
impact code or any code that is essential for beta1? 

Right now, I am holding the "essential" bar, since we want to release in Nov 
2017. Please let me know if you think otherwise.

> Read HttpServer2 resources directly from the source tree (if exists)
> --------------------------------------------------------------------
>
>                 Key: HADOOP-14850
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14850
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>         Attachments: HADOOP-14850.001.patch, HADOOP-14850.002.patch, 
> HADOOP-14850.003.patch
>
>
> Currently the Hadoop server components can't be started from IDE during the 
> development. There are two reasons for that:
> 1. some artifacts are in provided scope which are definitelly needed to run 
> the server (see HDFS-12197)
> 2. The src/main/webapp dir should be on the classpath (but not).
> In this issue I suggest to fix the second issue by reading the web resources 
> (html and css files) directly from the source tree and not from the classpath 
> but ONLY if the src/main/webapp dir exists. Similar approach exists in 
> different projects (eg. in Spark).
> WIth this patch the web development of the web interfaces are significant 
> easier as the result could be checked immediatelly with a running severt 
> (without rebuild/restart). I used this patch during the development of the 
> Ozone web interfaces.
> As the original behaviour of the resource location has not been change if 
> "src/main/webapp" doesn't exist, I think it's quite safe.  And the method is 
> called only once during the creation of the HttpServer2 there is also no 
> change in performance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to