dse client-tool cassandra
Performs token management and partitioner discovery.
| Token management commands require Kerberos authentication mode. | 
Synopsis
dse <connection_options> client-tool cassandra
(cancel-token <token> |
generate-token [<username>] |
renew-token <token> |
partitioner)| Syntax conventions | Description | 
|---|---|
| UPPERCASE | Literal keyword. | 
| Lowercase | Not literal. | 
| 
 | Variable value. Replace with a valid option or user-defined value. | 
| 
 | Optional.
Square brackets (  | 
| 
 | Group.
Parentheses (  | 
| 
 | Or.
A vertical bar (  | 
| 
 | Repeatable.
An ellipsis (  | 
| 
 | Single quotation (  | 
| 
 | Map collection.
Braces (  | 
| 
 | Set, list, map, or tuple.
Angle brackets (  | 
| 
 | End CQL statement.
A semicolon (  | 
| 
 | Separate the command line options from the command arguments with two hyphens (  | 
| 
 | Search CQL only: Single quotation marks (  | 
| 
 | Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. | 
- cancel-token token
- 
Cancel the specified token. 
- generate-token [username]
- 
Generate delegation token to access Kerberos DSE from non-Kerberos clusters. - 
When the username is not specified, the current user is the token renewer. Only DSE processes can renew a token. 
- 
When the username is specified as the token renewer, that user can renew and cancel the token. 
 
- 
- partitioner
- 
Returns the partitioner that is being used by the node. 
- renew-token token
- 
Renew the specified token. 
Examples
Generate token for the current user
dse client-tool cassandra --generate-tokenGenerate token with user AdminAlicia as the token renewer</p>
dse client-tool cassandra generate-token --token-renewer AdminAliciaReturn the current partitioner
dse client-tool cassandra partitionerCancel specified token
dse client-tool cassandra cancel-token <token>Renew specified token
dse client-tool cassandra renew-token <token>