You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Roth (JIRA)" <ji...@apache.org> on 2016/10/05 06:54:20 UTC

[jira] [Updated] (CASSANDRA-12748) CS fails to start up if GREP_COLOR is set

     [ https://issues.apache.org/jira/browse/CASSANDRA-12748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Roth updated CASSANDRA-12748:
--------------------------------------
    Reproduced In: 3.10
           Status: Patch Available  (was: Open)

Index: conf/cassandra-env.sh
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- conf/cassandra-env.sh	(revision a79de2aae7f15c5794aacda442a13a8e4a91d65e)
+++ conf/cassandra-env.sh	(revision )
@@ -129,7 +129,7 @@
 
 # Read user-defined JVM options from jvm.options file
 JVM_OPTS_FILE=$CASSANDRA_CONF/jvm.options
-for opt in `grep "^-" $JVM_OPTS_FILE`
+for opt in `grep --color=never -e "^-" $JVM_OPTS_FILE`
 do
   JVM_OPTS="$JVM_OPTS $opt"
 done


> CS fails to start up if GREP_COLOR is set
> -----------------------------------------
>
>                 Key: CASSANDRA-12748
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12748
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benjamin Roth
>            Priority: Minor
>
> If env var GREP_COLOR is set, CS fails to start as startup command then contains ANSI codes.
> See cassandra-env.sh when JVM_OPTS_FILE is parsed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)