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

Berenguer Blasi updated CASSANDRA-17516:
----------------------------------------
    Status: Ready to Commit  (was: Review In Progress)

> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to