cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard K. Weisshuhn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10946) jemalloc detection fails due to quoting issues in regex
Date Mon, 28 Dec 2015 14:28:49 GMT

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

Bernhard K. Weisshuhn updated CASSANDRA-10946:
----------------------------------------------
    Description: 
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.


  was:
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.



> 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