[
https://issues.apache.org/jira/browse/CASSSIDECAR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17902725#comment-17902725
]
Jon Haddad commented on CASSSIDECAR-122:
----------------------------------------
We should not have the yaml files in the JAR - that's really weird and counter
to the nature of configs. Please remove that.
Configs should *always* load off the filesystem, as files.
> yaml configuration defaults to a file that doesn't exist
> --------------------------------------------------------
>
> Key: CASSSIDECAR-122
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-122
> Project: Sidecar for Apache Cassandra
> Issue Type: Bug
> Components: Configuration
> Reporter: Jon Haddad
> Assignee: Francisco Guerrero
> Priority: Normal
> Time Spent: 40m
> Remaining Estimate: 0h
>
> In the CassandraSidecarDaemon, it loads a default yaml like this:
> {noformat}
> String yamlConfigurationPath = System.getProperty("sidecar.config",
> "file://./conf/config.yaml");
> {noformat}
> but that config file doesn't exist in the distribution.
> {noformat}
> $ ls conf
> logback.xml sidecar.yaml
> {noformat}
> That file doesn't exist in the repository.
> We should pick a default name and have it be consistent.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]