nodesync tracing show

Display the events of a NodeSync tracing session.

Display the events of a NodeSync tracing session.

Synopsis

nodesync main_options tracing show
[(-c | --color)]
[(-f | --follow)] 
[(-i <traceIdStr> | --id <traceIdStr>)]
[(-n <nodeList> | --nodes <nodeList>)] 
[--quiet]
[(-t <timeoutStr> | --timeout <timeoutStr>)] 
[(-v | --verbose)]
Table 1. Legend
Syntax conventions Description
UPPERCASE Literal keyword.
Lowercase Not literal.
Italics Variable value. Replace with a valid option or user-defined value.
[ ] Optional. Square brackets ( [ ] ) surround optional command arguments. Do not type the square brackets.
( ) Group. Parentheses ( ( ) ) identify a group to choose from. Do not type the parentheses.
| Or. A vertical bar ( | ) separates alternative elements. Type any one of the elements. Do not type the vertical bar.
... Repeatable. An ellipsis ( ... ) indicates that you can repeat the syntax element as often as required.
'Literal string' Single quotation ( ' ) marks must surround literal strings in CQL statements. Use single quotation marks to preserve upper case.
{ key:value } Map collection. Braces ( { } ) enclose map collections or key value pairs. A colon separates the key and the value.
<datatype1,datatype2> Set, list, map, or tuple. Angle brackets ( < > ) enclose data types in a set, list, map, or tuple. Separate the data types with a comma.
cql_statement; End CQL statement. A semicolon ( ; ) terminates all CQL statements.
[ -- ] Separate the command line options from the command arguments with two hyphens ( -- ). This syntax is useful when arguments might be mistaken for command line options.
' <schema> ... </schema> ' Search CQL only: Single quotation marks ( ' ) surround an entire XML schema declaration.
@xml_entity='xml_entity_type' Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files.

Main options

The following options apply to all nodesync commands.
-ca, --cql-auth-provider cql_Authprovider
CQL auth provider class name.
-cp, --cql-password cql_password
CQL password.
-cs | --cql-ssl
Use SSL for CQL connection.
-cu, --cql-username cql_username
CQL username.
-h, --host cql_host
Connect to the specified remote CQL host.
help
Displays options and usage instructions. Use nodesync help subcommand for more information on a specific command.
-jp, --jmx-password jmx_password
JMX password.
-jpf, --jmx-password-file jmx_password_file
Path to JMX password file.
-js | --jmx-ssl
Use SSL for JMX.
-ju, --jmx-username jmx_username
JMX username.
-p, --port cql_port
Connection port for CQL.
-k, --keyspace keyspace_name
Specify a default keyspace for unqualified table names or wildcards in the table_list.
--quiet
Suppress warning and error messages.
-v | --verbose
Display all messages.
--
Separates table list from the rest of the command.
table_list
Target tables using any of the following methods:
  • Qualified table names: keyspace_name.table_name. For example, cycling.comments.
  • Default keyspace -k option with:
    • Unqualified table names. For example -k cycling cyclist_alt_stats comments cyclist_races.
    • An asterisk in double quotes to select all tables. For example, -k cycling "*".
-n, --nodes node_list
Only disable tracing on the listed nodes. Specify the host name or IP address in a comma separated list.

Default: all nodes.

--quiet
Suppresses messages from displaying on stdout.

show options

-c, --color Colorize each trace event according from which host it originates from. Has no effect if the trace only come from a single host -ca <cqlAuthProvider>, --cql-auth-provider <cqlAuthProvider> CQL auth provider class name -cp <cqlPassword>, --cql-password <cqlPassword> CQL password -cs, --cql-ssl Enable SSL for CQL -cu <cqlUsername>, --cql-username <cqlUsername> CQL username -f, --follow Continuously show the trace events, showing new events as they come. Note that this won't exit unless you either manually exit (with Ctrl-c) or use a timeout (--timeout option) -h <cqlHost>, --host <cqlHost> CQL contact point address -i <traceIdStr>, --id <traceIdStr> The trace ID to show. If omitted, this will check if some nodes have tracing enable, and if all node that have it use the same trace ID, it will default to showing that. Otherwise, the command error out. -jp <jmxPassword>, --jmx-password <jmxPassword> JMX password -jpf <jmxPasswordFile>, --jmx-password-file <jmxPasswordFile> Path to the JMX password file -js, --jmx-ssl Enable SSL for JMX -ju <jmxUsername>, --jmx-username <jmxUsername> JMX username -n <nodeList>, --nodes <nodeList> Comma separated of nodes address on which to act; if omitted, all (live) nodes will be included -p <cqlPort>, --port <cqlPort> CQL port number --quiet Quiet output; don't print warnings -t <timeoutStr>, --timeout <timeoutStr> When --follow is used, automatically exit after the provided amountof time elapses. This default to seconds, but a 's', 'm' or 'h' suffix can be used for seconds, minutes or hours respectively. -v, --verbose Verbose output

Examples

nodesync tracing show -i e60dfd70-eb5a-11e7-8bde-b5dcb560a8ef

Starting NodeSync tracing on /10.200.176.186 (elapsed: 2.7ms)
Adding continuous proposer for demo.health_data (elapsed: 6.9m)
[#-] Skipping (10,-9223372036854775808] of demo.health_data, state updated: was recently validated by another node (2h ago, previously know: 2h ago) (elapsed: 6.9m)
[#0] Starting validation on (-9223372036854775798,10] of demo.health_data (validated 2h ago) (elapsed: 6.9m)
[#1] Starting validation on (-9223372036854775808,-9223372036854775798] of demo.health_data (validated 2.1h ago) (elapsed: 6.9m)
[#0] Completed validation (full_in_sync) in 4ms: validated 0B and repaired 0B (elapsed: 6.9m)
[#2] Starting validation on (10,-9223372036854775808] of demo.health_data (validated 2h ago) (elapsed: 6.9m)
[#1] Completed validation (full_in_sync) in 9ms: validated 0B and repaired 0B (elapsed: 6.9m)
[#2] Completed validation (full_in_sync) in 2ms: validated 0B and repaired 0B (elapsed: 6.9m)