Bernhard K. Weisshuhn created CASSANDRA-10946:
-------------------------------------------------
Summary: jemalloc detection fails due to quoting issues in regex
Key: CASSANDRA-10946
URL: https://issues.apache.org/jira/browse/CASSANDRA-10946
Project: Cassandra
Issue Type: Bug
Components: Configuration, Tools
Environment: ubuntu 14.04
Reporter: Bernhard K. Weisshuhn
Priority: Minor
Attachments:
0001-fix-detection-of-jemalloc-on-linux-remove-quoting-is.patch
When creating the list of paths where to search for jemalloc, we parse ldconfig
output to get more directories. The current pattern used to filter out indented
rows from ldconfig does not work because of quoting issues of the involved
dollar sign.
I found just changing the regex to '^\s' works and seems lees error prone.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)