[
https://issues.apache.org/jira/browse/KNOX-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16092471#comment-16092471
]
Larry McCay edited comment on KNOX-975 at 7/19/17 2:13 AM:
-----------------------------------------------------------
This patch doesn't work because the rewrite rules are all wrong - at least for
my version of the NodeManager UI.
[~jeffreyr97] - Are you sure that you attached the right one?
For instance - I change the following:
{code}
<rule dir="IN" name="NODEUI/node/root1"
pattern="*://*:*/**/node/?{host}?{port}">
<rewrite template="{$serviceScheme[NODEUI]}://{host}:{port}/node"/>
</rule>
{code}
to:
{code}
<rule dir="IN" name="NODEUI/node/root1" pattern="*://*:*/**/node">
<rewrite template="{$serviceUrl[NODEUI]}/"/>
</rule>
{code}
I don't imagine that the first is working in your environment either as it is
sending requests back to through the gateway again. This must be an older patch.
was (Author: lmccay):
This patch doesn't work because the rewrite rules are all wrong - at least for
my version of the NodeManager UI.
[~jeffreyr97] - Are you sure that you attached the right one?
For instance - I change the following:
{code}
<rule dir="IN" name="NODEUI/node/root1" pattern="*://*:*/**/node/?host?port">
<rewrite template="{$serviceScheme[NODEUI]}://{host}:{port}/node"/>
</rule>
{code}
to:
{code}
<rule dir="IN" name="NODEUI/node/root1" pattern="*://*:*/**/node">
<rewrite template="{$serviceUrl[NODEUI]}/"/>
</rule>
{code}
I don't imagine that the first is working in your environment either as it is
sending requests back to through the gateway again. This must be an older patch.
> Add NodeManager Service Definition
> ----------------------------------
>
> Key: KNOX-975
> URL: https://issues.apache.org/jira/browse/KNOX-975
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Jeffrey E Rodriguez
> Assignee: Jeffrey E Rodriguez
> Fix For: 0.13.0
>
> Attachments: KNOX-975.001.patch, KNOX-975.002.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Add YARN NodeManager service definition.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)