[
https://issues.apache.org/jira/browse/KNOX-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Larry McCay updated KNOX-486:
-----------------------------
Description:
Configuration Name in gateway-default.xml is not same as the name used in
"org.apache.hadoop.gateway.config.impl.GatewayConfigImpl"
* The deployments directory is no longer found in the conf directory.
* This config item is not actually referenced anywhere in the server that I see
with a quick grep
* Perhaps we can use this to override the default conf dir location itself?
* or perhaps it should just be removed
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}
was:
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}
> Configuration Item gateway.gateway.conf.dir is Obsolete
> -------------------------------------------------------
>
> Key: KNOX-486
> URL: https://issues.apache.org/jira/browse/KNOX-486
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.5.0
> Reporter: Larry McCay
>
> Configuration Name in gateway-default.xml is not same as the name used in
> "org.apache.hadoop.gateway.config.impl.GatewayConfigImpl"
> * The deployments directory is no longer found in the conf directory.
> * This config item is not actually referenced anywhere in the server that I
> see with a quick grep
> * Perhaps we can use this to override the default conf dir location itself?
> * or perhaps it should just be removed
> 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)