You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nate McCall (JIRA)" <ji...@apache.org> on 2018/09/30 23:01:00 UTC

[jira] [Updated] (CASSANDRA-14787) nodetool status "Load" columns has wrong width

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

Nate McCall updated CASSANDRA-14787:
------------------------------------
    Labels: lhf nodetool  (was: )

> nodetool status "Load" columns has wrong width
> ----------------------------------------------
>
>                 Key: CASSANDRA-14787
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14787
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Lapo Luchini
>            Priority: Trivial
>              Labels: lhf, nodetool
>
> Using Cassandra 3.11.2 on FreeBSD, I get:
> {code:java}
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address            Load       Tokens       Owns (effective)  Host ID ...
> UN  server1.andxor.it  11.11 MiB  256          39.6%             ...
> UN  server2.andxor.it  32.04 MiB  256          41.8%             ...
> UN  server3.andxor.it  519.33 KiB  256          40.0%             ...
> UN  server4.andxor.it  10.95 MiB  256          40.3%             ...
> UN  server5.andxor.it  11.03 MiB  256          38.4%             ...
> {code}
> AFAICT this is caused by {{"%-9s"}} in [Status.java:292|https://github.com/apache/cassandra/blob/06209037ea56b5a2a49615a99f1542d6ea1b2947/src/java/org/apache/cassandra/tools/nodetool/Status.java#L292] which should be probably a 10 instead of 9.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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