cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Roth (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-12748) CS fails to start up if GREP_COLOR is set
Date Wed, 05 Oct 2016 06:56:21 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15547876#comment-15547876
] 

Benjamin Roth edited comment on CASSANDRA-12748 at 10/5/16 6:55 AM:
--------------------------------------------------------------------

{noformat}
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
{noformat}


was (Author: brstgt):
{noformat}
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
{/noformat}

> 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)

Mime
View raw message