You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2017/11/16 17:27:00 UTC

[jira] [Commented] (KNOX-1117) HostMap Provider configuration comment in topologies included with Knox has typos

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

Larry McCay commented on KNOX-1117:
-----------------------------------

Hi [~pzampino] - I would actually like to see these comments removed.
Topologies will be generated from descriptors primarily in the near future and comments don't survive the jaxb for the API which is used by the UI.

> HostMap Provider configuration comment in topologies included with Knox has typos
> ---------------------------------------------------------------------------------
>
>                 Key: KNOX-1117
>                 URL: https://issues.apache.org/jira/browse/KNOX-1117
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 0.14.0
>            Reporter: Phil Zampino
>            Assignee: Phil Zampino
>             Fix For: 0.15.0
>
>         Attachments: KNOX-1117.patch
>
>
> The topologies included in conf/topologies include hostmap provider config with a comment that needs some work (IMO).
> "Defines rules for mapping host names internal to a Hadoop cluster to externally accessible host names. For example, a hadoop service running in AWS may return a response that includes URLs containing the some AWS internal host name.  If the client needs to make a subsequent request to the host identified in those URLs they need to be mapped to external host names that the client Knox can use to connect.
> If the external hostname and internal host names are same turn of this provider by setting the value of enabled parameter as false.
> The name parameter specifies the external host names in a comma separated list.
> The value parameter specifies corresponding internal host names in a comma separated list."
> Note that when you are using Sandbox, the external hostname needs to be localhost, as seen in out of box sandbox.xml.  This is because Sandbox uses port mapping to allow clients to connect to the Hadoop services using localhost.  In real clusters, external host names would almost never be localhost."



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