Hadoop Security Guide
Also available as:
PDF
loading table of contents...
Service Directory Structure

The Knox Gateway consists of a directory structure that you should become familiar with before attempting to add a new service to the gateway.

If you navigate to the data directory in your Knox home directory ({GATEWAY_HOME}/data}, you will see the following directory structure:

Services
    Service name
        Version
            service.xml
            rewrite.xml

For example, if you were to navigate to the WebHDFS Service directory, you would see the following directory structure:

Services
    WebHDFS
        2.4.0
            service.xml
            rewrite.xml