You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/09/08 10:11:00 UTC
[jira] [Commented] (HADOOP-14850) Read HttpServer2 resources
directly from the source tree (if exists)
[ https://issues.apache.org/jira/browse/HADOOP-14850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158417#comment-16158417 ]
Hadoop QA commented on HADOOP-14850:
------------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 5s{color} | {color:red} HADOOP-14850 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HADOOP-14850 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12886035/HADOOP-14850.001.patch |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/13206/console |
| Powered by | Apache Yetus 0.6.0-SNAPSHOT http://yetus.apache.org |
This message was automatically generated.
> 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
>
>
> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org