[
https://issues.apache.org/jira/browse/CASSSIDECAR-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903126#comment-17903126
]
Jon Haddad commented on CASSSIDECAR-122:
----------------------------------------
> However, it is not possible to have a relative path URI. So that's why we
> have to change the logic here.
This is often done in a shell wrapper script that sets up the environment.
Take a look at how I've done it here:
[https://github.com/rustyrazorblade/easy-cass-lab/blob/main/bin/easy-cass-lab]
or here:
[https://github.com/rustyrazorblade/easy-cass-stress/blob/main/bin/easy-cass-stress]
> 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: 2h
> 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]