You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2022/04/04 19:59:00 UTC

[jira] [Updated] (CASSANDRA-17516) Official Cassandra packages are missing runtime dependency procps-ng

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

Brandon Williams updated CASSANDRA-17516:
-----------------------------------------
    Summary: Official Cassandra packages are missing runtime dependency procps-ng  (was: Official Cassandra RPMs are missing runtime dependency procps-ng)

> Official Cassandra packages are missing runtime dependency procps-ng
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-17516
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17516
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Dylan Richardson
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 3.0.x, 3.11.x, 4.0.x, 4.x
>
>         Attachments: patch
>
>
> Nodetool depends on the free command-line utility, but the official Cassandra RPM does not explicitly install it. free comes from procps-ng, so this package should be made an explicit dependency in the RPM's spec file.
> Here's what you get when invoking nodetool without free installed:
> bash-5.1# nodetool status
> /etc/cassandra/conf/cassandra-env.sh: line 21: free: command not found
> expr: syntax error: unexpected argument '2'
> expr: syntax error: unexpected argument '2'
> /etc/cassandra/conf/cassandra-env.sh: line 59: [: : integer expression expected
> /etc/cassandra/conf/cassandra-env.sh: line 63: [: : integer expression expected
> /etc/cassandra/conf/cassandra-env.sh: line 67: [: : integer expression expected
> expr: syntax error: unexpected argument '4'
> /etc/cassandra/conf/cassandra-env.sh: line 81: [: : integer expression expected
> I have attached a patch that should fix this issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org