Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodetool prints help with no error message when it cannot connect to scylla-jmx #40

Open
tgrabiec opened this issue Jul 19, 2017 · 0 comments
Labels
bug Something isn't working right

Comments

@tgrabiec
Copy link
Contributor

tgrabiec commented Jul 19, 2017

Version: scylla-tools-2.0.rc0-20170717.e83b7f0.el7.centos.noarch

Output:

$ nodetool status
usage: nodetool [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
        [(-pw <password> | --password <password>)] [(-p <port> | --port <port>)]
        [(-u <username> | --username <username>)] [(-h <host> | --host <host>)]
        <command> [<args>]

The most commonly used nodetool commands are:
    bootstrap             Monitor/manage node's bootstrap process
    cleanup               Triggers the immediate cleanup of keys no longer belonging to a node. By default, clean all keyspaces
    clearsnapshot         Remove the snapshot with the given name from the given keyspaces. If no snapshotName is specified we will remove all snapshots
    compact               Force a (major) compaction on one or more tables
    compactionhistory     Print history of compaction
    compactionstats       Print statistics on compactions
    decommission          Decommission the *node I am connecting to*
    describecluster       Print the name, snitch, partitioner and schema version of a cluster
    describering          Shows the token ranges info of a given keyspace
    disablebackup         Disable incremental backup
    disablebinary         Disable native transport (binary protocol)
    disablegossip         Disable gossip (effectively marking the node down)
    drain                 Drain the node (stop accepting writes and flush all tables)
    enablebackup          Enable incremental backup
    enablebinary          Reenable native transport (binary protocol)
    enablegossip          Reenable gossip
    flush                 Flush one or more tables
    getendpoints          Print the end points that owns the key
    getlogginglevels      Get the runtime logging levels
    gossipinfo            Shows the gossip information for the cluster
    help                  Display help information
    info                  Print node information (uptime, load, ...)
    listsnapshots         Lists all the snapshots along with the size on disk and true size.
    move                  Move node on the token ring to a new token
    netstats              Print network information on provided host (connecting node by default)
    proxyhistograms       Print statistic histograms for network operations
    rebuild               Rebuild data by streaming from other nodes (similarly to bootstrap)
    refresh               Load newly placed SSTables to the system without restart
    removenode            Show status of current node removal, force completion of pending removal or remove provided ID
    repair                Repair one or more tables
    ring                  Print information about the token ring
    setlogginglevel       Set the log level threshold for a given class. If both class and level are empty/null, it will reset to the initial configuration
    settraceprobability   Sets the probability for tracing any given request to value. 0 disables, 1 enables for all requests, 0 is the default
    snapshot              Take a snapshot of specified keyspaces or a snapshot of the specified table
    status                Print cluster information (state, load, IDs, ...)
    statusbackup          Status of incremental backup
    statusbinary          Status of native transport (binary protocol)
    statusgossip          Status of gossip
    stop                  Stop compaction
    tablehistograms       Print statistic histograms for a given table
    tablestats            Print statistics on tables
    version               Print cassandra version

See 'nodetool help <command>' for more information on a specific command.

versus:

nodetool -p 7199 status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address       Load       Tokens       Owns    Host ID                               Rack
UN  10.241.0.202  436.64 GB  256          ?       0a5612f4-4de5-445c-9c40-5e126cde2335  rack1
UN  10.241.0.203  600.84 GB  256          ?       b37cf858-19b5-42d1-964e-9654971bfffb  rack1
UN  10.241.0.210  491.49 GB  256          ?       0e0403ce-bf81-4d2a-8564-07b9ba6503e4  rack1
UL  10.24010.211  372.97 GB  256          ?       a9f424d4-dad4-490c-89f9-bfdbec935c0e  rack1

It doesn't immediately occur to one what the cause is.

@tgrabiec tgrabiec added the bug Something isn't working right label Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

No branches or pull requests

1 participant