You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2015/12/29 15:36:49 UTC

[jira] [Resolved] (CASSANDRA-10946) jemalloc detection fails due to quoting issues in regex

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

Robert Stupp resolved CASSANDRA-10946.
--------------------------------------
    Resolution: Fixed

Thanks!
Committed as f9ac6574561cccd6d829832166ef117ff6b7c5d2 to 2.2 and merged to 3.0 + trunk

> 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
>              Labels: easyfix
>         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 less error prone.



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