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

Jon Haddad edited comment on CASSSIDECAR-122 at 12/3/24 5:59 PM:
-----------------------------------------------------------------

I think simply renaming the config file would have worked fine to fix this 
issue.  I'm not sure why we have the other stuff here.

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.


was (Author: rustyrazorblade):
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: 50m
>  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]

Reply via email to