You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2015/01/19 11:23:34 UTC

[jira] [Created] (KNOX-485) Gateway deployment directory value is been hardcoded , instead of value being read from exposed configuration.

J.Andreina created KNOX-485:
-------------------------------

             Summary: Gateway deployment directory value is been hardcoded , instead of value being read from exposed configuration.
                 Key: KNOX-485
                 URL: https://issues.apache.org/jira/browse/KNOX-485
             Project: Apache Knox
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.5.0
            Reporter: J.Andreina


Issue1 :
======

During Gateway startup , deployment directory value is been hardcoded , instead of value being read from available configuration .

{noformat}
  @Override
  public String getGatewayDeploymentDir() {
    return getGatewayDataDir() + File.separator + "deployments";
  }
{noformat}

Issue2:
======
   Configuration Name in gateway-default.xml is not same as the name used in "org.apache.hadoop.gateway.config.impl.GatewayConfigImpl"

{noformat}
  private static final String GATEWAY_CONFIG_FILE_PREFIX = "gateway";
  public static final String DEPLOYMENT_DIR = GATEWAY_CONFIG_FILE_PREFIX + ".deployment.dir";
{noformat}

Incorrect Configuration name in gateway-default.xml
{noformat}
    <property>
        <name>gateway.gateway.conf.dir</name>
        <value>deployments</value>
        <description>The directory within GATEWAY_HOME that contains gateway topology deployments.</description>
    </property>
{noformat}









--
This message was sent by Atlassian JIRA
(v6.3.4#6332)