[
https://issues.apache.org/jira/browse/YARN-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Klochkov updated YARN-465:
---------------------------------
Attachment: YARN-465-trunk--n5.patch
YARN-465-branch-2--n5.patch
Ravi,
The main method in WebAppProxyServer is blocking and it's installing an
exception handler which calls System.exit, so it shouldn't be used in tests.
Yes, it was a mistake that join() was just removed without making corresponding
change in main() - I fixed that.
Yes, you're correct about the originalPort logging. I got rid of this confusing
"port" variable and fixed logging.
Also, I made patches for branch-2 and trunk as similar as possible.
Attaching updated patches.
> fix coverage org.apache.hadoop.yarn.server.webproxy
> ----------------------------------------------------
>
> Key: YARN-465
> URL: https://issues.apache.org/jira/browse/YARN-465
> Project: Hadoop YARN
> Issue Type: Sub-task
> Affects Versions: 3.0.0, 0.23.7, 2.0.4-alpha
> Reporter: Aleksey Gorshkov
> Assignee: Andrey Klochkov
> Attachments: YARN-465-branch-0.23-a.patch,
> YARN-465-branch-0.23.patch, YARN-465-branch-2-a.patch,
> YARN-465-branch-2--n3.patch, YARN-465-branch-2--n4.patch,
> YARN-465-branch-2--n5.patch, YARN-465-branch-2.patch, YARN-465-trunk-a.patch,
> YARN-465-trunk--n3.patch, YARN-465-trunk--n4.patch, YARN-465-trunk--n5.patch,
> YARN-465-trunk.patch
>
>
> fix coverage org.apache.hadoop.yarn.server.webproxy
> patch YARN-465-trunk.patch for trunk
> patch YARN-465-branch-2.patch for branch-2
> patch YARN-465-branch-0.23.patch for branch-0.23
> There is issue in branch-0.23 . Patch does not creating .keep file.
> For fix it need to run commands:
> mkdir
> yhadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/proxy
> touch
> yhadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/proxy/.keep
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)