[
https://issues.apache.org/jira/browse/CASSANDRA-16279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yakir Gibraltar updated CASSANDRA-16279:
----------------------------------------
Description:
Possible small bug in {{cassandra-env.sh}} of Cassandra 4:
[https://github.com/apache/cassandra/blob/trunk/conf/cassandra-env.sh#L98]
The following command incorrect:
{{echo "$JVM_OPTS" | grep -q "^-[X]log:gc"}}
Should be:
{{echo "$JVM_OPTS" | grep -qe "-[X]log:gc"}}
The variable {{$JVM_OPTS}} not starting with {{-Xlog..}} , and always return
1, remove {{^}} and add {{-qe}} will solve the problem.
It's causing that {{cassandra-env.sh}} ignoring variable of {{-Xlog}} in
{{jvm11-server.options}} and {{jvm8-server.options}}
Right now, let's say that i added
was:
Possible small bug in {{cassandra-env.sh}} of Cassandra 4:
[https://github.com/apache/cassandra/blob/trunk/conf/cassandra-env.sh#L98]
The following command incorrect:
{{echo "$JVM_OPTS" | grep -q "^\-[X]log:gc"}}
Should be:
{{echo "$JVM_OPTS" | grep -qe "\-[X]log:gc"}}
The variable {{$JVM_OPTS}} not starting with {{-Xlog..}} , and always return
1, remove {{^}} and add {{\-qe}} will solve the problem.
It's causing that {{cassandra-env.sh}} ignoring variable of {{-Xlog}} in
{{jvm11-server.options}} and {{jvm8-server.options}}
> Incorrect check for -Xlog in cassandra-env.sh
> ----------------------------------------------
>
> Key: CASSANDRA-16279
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16279
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Reporter: Yakir Gibraltar
> Priority: Normal
> Fix For: 4.0-beta
>
>
> Possible small bug in {{cassandra-env.sh}} of Cassandra 4:
> [https://github.com/apache/cassandra/blob/trunk/conf/cassandra-env.sh#L98]
> The following command incorrect:
> {{echo "$JVM_OPTS" | grep -q "^-[X]log:gc"}}
> Should be:
> {{echo "$JVM_OPTS" | grep -qe "-[X]log:gc"}}
> The variable {{$JVM_OPTS}} not starting with {{-Xlog..}} , and always
> return 1, remove {{^}} and add {{-qe}} will solve the problem.
> It's causing that {{cassandra-env.sh}} ignoring variable of {{-Xlog}} in
> {{jvm11-server.options}} and {{jvm8-server.options}}
>
> Right now, let's say that i added
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]