cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-10946) jemalloc detection fails due to quoting issues in regex
Date Tue, 29 Dec 2015 14:36:49 GMT

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

Mime
View raw message