Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status

Current state: In-progressComplete

Discussion thread

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKNOX-928

...

This would provide interesting possibilities for existing hadoop cli's.

 

Architecture

The following is the startup sequence diagram for this feature. Changes are highlighted in blue.

Image Added 

 

Configuration

Configuration for this feature will be in gateway-site.xml config file.

Following are the settings relevant to this feature

  • The property gateway.port.mapping.enabled is used to turn feature ON/OFF.
  • The property gateway.port.mapping.{topologyName} and it value {port} maps {topologyName} to {port}.

Example:

Code Block
    <!-- Optional, true by default-->
    <property>
        <name>gateway.port.mapping.enabled</name>
        <value>true</value>
        <description>Enable/Disable gateway topology port mapping feature.</description>
    </property>

    <!-- Multi Port Gateway -->
    <property>
        <name>gateway.port.mapping.eerie</name>
        <value>5443</value>
        <description>The HTTP port for the Gateway.</description>
    </property>
    
    <property>
        <name>gateway.port.mapping.huron</name>
        <value>6443</value>
        <description>The HTTP port for the Gateway.</description>
    </property>
    
    <property>
        <name>gateway.port.mapping.ontario</name>
        <value>7443</value>
        <description>The HTTP port for the Gateway.</description>
    </property>

 

...

 

Improvements

  1. Need to address the inability for the hadoop java client to deal with spnego challenges from the DN redirect.

...