Uploaded image for project: 'Sidecar for Apache Cassandra'
  1. Sidecar for Apache Cassandra
  2. CASSANDRASC-10

Read sidecar.yaml from sidecar.config System Property instead of classpath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • None
    • None

    Description

      I was experimenting earlier with running multiple sidecar instances against multiple local C* nodes (using a ccm cluster) and noticed that the distribution of sidecar did not include the conf directory and instead was loading sidecar.yaml from the classpath. I noticed the lines in build.gradle:

      // Config file location should be in file:/// format for local files,
      // when we have the fix for adding /conf directory to classpaht, we can get away with below default JvmArg
      

      From this statement I assume the expectation was that eventually the sidecar.config system property would be used to locate the sidecar.yaml file.

      Attachments

        Activity

          People

            andrew.tolbert Andy Tolbert
            andrew.tolbert Andy Tolbert
            Andy Tolbert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m