Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-13678

Misconfiguration in cassandra-env.sh does not report any errors.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • Local/Config
    • Cassandra 3.11 at Ubuntu 15.04.

    Description

      Once I have misconfigured the file /etc/cassandra/cassandra-env.sh. I changed the MAX_HEAP_SIZE="1500M" and did not change the HEAP_NEWSIZE="350M", letting it commented. Now I know that if you change one, you MUST change the other, but even knowing that it is written in the file in comments, I think some error message should appear to the user.

      When it occured to me, I looked in the files /var/log/cassandra/system.log and debug.log and there wasn't any line telling about the error. The command {{ #service cassandra start }} is just responseless.

      There should be some warning in the logs and maybe in the stdout, warning that the interpretation of the cassandra-env.sh parameters was wrong.

      I attached the file in which the error happens.

      Attachments

        1. cassandra-env.sh
          12 kB
          Lucas Benevides Dias

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lucas_benevides Lucas Benevides Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified