[
https://issues.apache.org/jira/browse/GEARPUMP-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15251256#comment-15251256
]
darion yaphet edited comment on GEARPUMP-57 at 4/21/16 5:54 AM:
----------------------------------------------------------------
In ClusterConfig if GEARPUMP_CUSTOM_CONFIG_FILE is specified gearpump will use
this config file otherwise it will use application.conf as default
{code}
val file = Option(System.getProperty(GEARPUMP_CUSTOM_CONFIG_FILE))
file match {
case Some(path) =>
LOG.info("loading config file " + path + "..........")
load(ClusterConfigSource(path))
case None =>
LOG.info("loading config file application.conf...")
load(ClusterConfigSource(configFile))
}
{code}
So I think we are using default config file : application.conf
was (Author: darion):
In ClusterConfig if GEARPUMP_CUSTOM_CONFIG_FILE is specified gearpump will use
this config file otherwise it will use application.conf as default
{code:title=Bar.java|borderStyle=solid}
val file = Option(System.getProperty(GEARPUMP_CUSTOM_CONFIG_FILE))
file match {
case Some(path) =>
LOG.info("loading config file " + path + "..........")
load(ClusterConfigSource(path))
case None =>
LOG.info("loading config file application.conf...")
load(ClusterConfigSource(configFile))
}
{code}
So I think we are using default config file : application.conf
> Couldn't load conf/gear.conf
> ----------------------------
>
> Key: GEARPUMP-57
> URL: https://issues.apache.org/jira/browse/GEARPUMP-57
> Project: Apache Gearpump
> Issue Type: Bug
> Components: core, daemon
> Affects Versions: 0.8.0
> Reporter: darion yaphet
> Assignee: darion yaphet
> Labels: easyfix
>
> I try to make a gearpump cluster and and running gearpump application.
> I found when I start up daemons they are always using application.conf.
> [ClusterConfig$] loading config file application.conf...
> It seems don't specified the config file add
> -Dgearpump.config.file="${PROG_HOME}/conf/gear.conf"
> in bin/master bin/worker and bin/service will be OK
> But how to fix building process ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)