[ https://issues.apache.org/jira/browse/CASSANDRA-17516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dylan Richardson updated CASSANDRA-17516: ----------------------------------------- Description: 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. was: `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. > Official Cassandra RPMs are missing runtime dependency procps-ng > ---------------------------------------------------------------- > > Key: CASSANDRA-17516 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17516 > Project: Cassandra > Issue Type: Bug > Reporter: Dylan Richardson > Priority: Normal > 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