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

nijel commented on KNOX-486:
----------------------------

hi

bq. Perhaps, we need to provide a system property means to override it, instead?

gateway conf dir can be intact (here it supports system variable 
GATEWAY_HOME_VAR. Still i think "conf" may not be required to be appended as in 
other hadoop components). 
We can think of making the typologies configurable, where the cluster 
configurations are present.

As of now the topologies folder depends on gateway conf dir. 

{code}hadoop.gateway (GatewayServer.java:start(313)) - Loading topologies from 
directory: /home/Knox/topologies{code}. Here GATEWAY_CONF_HOME is configured as 
/home/Knox. Instead we can also read if from gateway.gateway.conf.dir. 
Preference can be System variable->configuration -> default value

please give your opinion.


> 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
> * GatewayConfigImpl class level javadocs are also obsolete and should be 
> addressed by this effort as well.
> 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)

Reply via email to