-
- | Command |
- Description |
-
-
- | DESCRIBE CLUSTER; |
- Show the current cluster name and its partitioner |
-
-
- | DESCRIBE KEYSPACES; |
- List all existing keyspaces in the cluster and their configuration (replication factor, durable write ...) |
-
-
- | DESCRIBE TABLES; |
- List all existing keyspaces in the cluster and for each, all the tables name |
-
-
- | DESCRIBE TYPES; |
- List all existing user defined types in the current (logged) keyspace |
-
-
- | DESCRIBE FUNCTIONS <keyspace_name>; |
- List all existing user defined functions in the given keyspace |
-
-
- | DESCRIBE AGGREGATES <keyspace_name>; |
- List all existing user defined aggregates in the given keyspace |
-
-
- | DESCRIBE KEYSPACE <keyspace_name>; |
- Describe the given keyspace configuration and all its table details (name, columns, ...) |
-
-
- | DESCRIBE TABLE (<keyspace_name>).<table_name>; |
-
- Describe the given table. If the keyspace is not provided, the current logged in keyspace is used.
- If there is no logged in keyspace, the default system keyspace is used.
- If no table is found, an error message is raised.
- |
-
-
- | DESCRIBE TYPE (<keyspace_name>).<type_name>; |
-
- Describe the given type(UDT). If the keyspace is not provided, the current logged in keyspace is used.
- If there is no logged in keyspace, the default system keyspace is used.
- If no type is found, an error message is raised.
- |
-
-
- | DESCRIBE FUNCTION (<keyspace_name>).<function_name>; |
- Describe the given user defined function. The keyspace is optional. |
-
-
- | DESCRIBE AGGREGATE (<keyspace_name>).<aggregate_name>; |
- Describe the given user defined aggregate. The keyspace is optional. |
-
-
+
-
- | Property Name |
- Description |
- Default Value |
-
-
- | cassandra.cluster |
- Name of the Cassandra cluster to connect to |
- Test Cluster |
-
-
- | cassandra.compression.protocol |
- On wire compression. Possible values are: NONE, SNAPPY, LZ4 |
- NONE |
-
-
- | cassandra.credentials.username |
- If security is enable, provide the login |
- none |
-
-
- | cassandra.credentials.password |
- If security is enable, provide the password |
- none |
-
-
- | cassandra.hosts |
-
- Comma separated Cassandra hosts (DNS name or IP address).
-
- Ex: '192.168.0.12,node2,node3'
- |
- localhost |
-
-
- | cassandra.interpreter.parallelism |
- Number of concurrent paragraphs(queries block) that can be executed |
- 10 |
-
-
- | cassandra.keyspace |
-
- Default keyspace to connect to.
-
- It is strongly recommended to let the default value
- and prefix the table name with the actual keyspace
- in all of your queries.
-
- |
- system |
-
-
- | cassandra.load.balancing.policy |
-
- Load balancing policy. Default = new TokenAwarePolicy(new DCAwareRoundRobinPolicy())
- To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
- At runtime the interpreter will instantiate the policy using
- Class.forName(FQCN).
- |
- DEFAULT |
-
-
- | cassandra.max.schema.agreement.wait.second |
- Cassandra max schema agreement wait in second |
- 10 |
-
-
- | cassandra.pooling.core.connection.per.host.local |
- Protocol V2 and below default = 2. Protocol V3 and above default = 1 |
- 2 |
-
-
- | cassandra.pooling.core.connection.per.host.remote |
- Protocol V2 and below default = 1. Protocol V3 and above default = 1 |
- 1 |
-
-
- | cassandra.pooling.heartbeat.interval.seconds |
- Cassandra pool heartbeat interval in secs |
- 30 |
-
-
- | cassandra.pooling.idle.timeout.seconds |
- Cassandra idle time out in seconds |
- 120 |
-
-
- | cassandra.pooling.max.connection.per.host.local |
- Protocol V2 and below default = 8. Protocol V3 and above default = 1 |
- 8 |
-
-
- | cassandra.pooling.max.connection.per.host.remote |
- Protocol V2 and below default = 2. Protocol V3 and above default = 1 |
- 2 |
-
-
- | cassandra.pooling.max.request.per.connection.local |
- Protocol V2 and below default = 128. Protocol V3 and above default = 1024 |
- 128 |
-
-
- | cassandra.pooling.max.request.per.connection.remote |
- Protocol V2 and below default = 128. Protocol V3 and above default = 256 |
- 128 |
-
-
- | cassandra.pooling.new.connection.threshold.local |
- Protocol V2 and below default = 100. Protocol V3 and above default = 800 |
- 100 |
-
-
- | cassandra.pooling.new.connection.threshold.remote |
- Protocol V2 and below default = 100. Protocol V3 and above default = 200 |
- 100 |
-
-
- | cassandra.pooling.pool.timeout.millisecs |
- Cassandra pool time out in millisecs |
- 5000 |
-
-
- | cassandra.protocol.version |
- Cassandra binary protocol version |
- 3 |
-
-
- | cassandra.query.default.consistency |
-
- Cassandra query default consistency level
-
- Available values: ONE, TWO, THREE, QUORUM, LOCAL\_ONE, LOCAL\_QUORUM, EACH\_QUORUM, ALL
- |
- ONE |
-
-
- | cassandra.query.default.fetchSize |
- Cassandra query default fetch size |
- 5000 |
-
-
- | cassandra.query.default.serial.consistency |
-
- Cassandra query default serial consistency level
-
- Available values: SERIAL, LOCAL_SERIAL
- |
- SERIAL |
-
-
- | cassandra.reconnection.policy |
-
- Cassandra Reconnection Policy.
- Default = new ExponentialReconnectionPolicy(1000, 10 * 60 * 1000)
- To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
- At runtime the interpreter will instantiate the policy using
- Class.forName(FQCN).
- |
- DEFAULT |
-
-
- | cassandra.retry.policy |
-
- Cassandra Retry Policy.
- Default = DefaultRetryPolicy.INSTANCE
- To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
- At runtime the interpreter will instantiate the policy using
- Class.forName(FQCN).
- |
- DEFAULT |
-
-
- | cassandra.socket.connection.timeout.millisecs |
- Cassandra socket default connection timeout in millisecs |
- 500 |
-
-
- | cassandra.socket.read.timeout.millisecs |
- Cassandra socket read timeout in millisecs |
- 12000 |
-
-
- | cassandra.socket.tcp.no_delay |
- Cassandra socket TCP no delay |
- true |
-
-
- | cassandra.speculative.execution.policy |
-
- Cassandra Speculative Execution Policy.
- Default = NoSpeculativeExecutionPolicy.INSTANCE
- To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
- At runtime the interpreter will instantiate the policy using
- Class.forName(FQCN).
- |
- DEFAULT |
-
-
+
+
+ | Property Name |
+ Description |
+ Default Value |
+
+
+ | cassandra.cluster |
+ Name of the Cassandra cluster to connect to |
+ Test Cluster |
+
+
+ | cassandra.compression.protocol |
+ On wire compression. Possible values are: NONE, SNAPPY, LZ4 |
+ NONE |
+
+
+ | cassandra.credentials.username |
+ If security is enable, provide the login |
+ none |
+
+
+ | cassandra.credentials.password |
+ If security is enable, provide the password |
+ none |
+
+
+ | cassandra.hosts |
+
+ Comma separated Cassandra hosts (DNS name or IP address).
+
+ Ex: '192.168.0.12,node2,node3'
+ |
+ localhost |
+
+
+ | cassandra.interpreter.parallelism |
+ Number of concurrent paragraphs(queries block) that can be executed |
+ 10 |
+
+
+ | cassandra.keyspace |
+
+ Default keyspace to connect to.
+
+ It is strongly recommended to let the default value
+ and prefix the table name with the actual keyspace
+ in all of your queries
+
+ |
+ system |
+
+
+ | cassandra.load.balancing.policy |
+
+ Load balancing policy. Default = new TokenAwarePolicy(new DCAwareRoundRobinPolicy())
+ To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
+ At runtime the interpreter will instantiate the policy using
+ Class.forName(FQCN)
+ |
+ DEFAULT |
+
+
+ | cassandra.max.schema.agreement.wait.second |
+ Cassandra max schema agreement wait in second |
+ 10 |
+
+
+ | cassandra.pooling.core.connection.per.host.local |
+ Protocol V2 and below default = 2. Protocol V3 and above default = 1 |
+ 2 |
+
+
+ | cassandra.pooling.core.connection.per.host.remote |
+ Protocol V2 and below default = 1. Protocol V3 and above default = 1 |
+ 1 |
+
+
+ | cassandra.pooling.heartbeat.interval.seconds |
+ Cassandra pool heartbeat interval in secs |
+ 30 |
+
+
+ | cassandra.pooling.idle.timeout.seconds |
+ Cassandra idle time out in seconds |
+ 120 |
+
+
+ | cassandra.pooling.max.connection.per.host.local |
+ Protocol V2 and below default = 8. Protocol V3 and above default = 1 |
+ 8 |
+
+
+ | cassandra.pooling.max.connection.per.host.remote |
+ Protocol V2 and below default = 2. Protocol V3 and above default = 1 |
+ 2 |
+
+
+ | cassandra.pooling.max.request.per.connection.local |
+ Protocol V2 and below default = 128. Protocol V3 and above default = 1024 |
+ 128 |
+
+
+ | cassandra.pooling.max.request.per.connection.remote |
+ Protocol V2 and below default = 128. Protocol V3 and above default = 256 |
+ 128 |
+
+
+ | cassandra.pooling.new.connection.threshold.local |
+ Protocol V2 and below default = 100. Protocol V3 and above default = 800 |
+ 100 |
+
+
+ | cassandra.pooling.new.connection.threshold.remote |
+ Protocol V2 and below default = 100. Protocol V3 and above default = 200 |
+ 100 |
+
+
+ | cassandra.pooling.pool.timeout.millisecs |
+ Cassandra pool time out in millisecs |
+ 5000 |
+
+
+ | cassandra.protocol.version |
+ Cassandra binary protocol version |
+ 3 |
+
+
+ | cassandra.query.default.consistency |
+
+ Cassandra query default consistency level
+
+ Available values: ONE, TWO, THREE, QUORUM, LOCAL_ONE, LOCAL_QUORUM, EACH_QUORUM, ALL
+ |
+ ONE |
+
+
+ | cassandra.query.default.fetchSize |
+ Cassandra query default fetch size |
+ 5000 |
+
+
+ | cassandra.query.default.serial.consistency |
+
+ Cassandra query default serial consistency level
+
+ Available values: SERIAL, LOCAL_SERIAL
+ |
+ SERIAL |
+
+
+ | cassandra.reconnection.policy |
+
+ Cassandra Reconnection Policy.
+ Default = new ExponentialReconnectionPolicy(1000, 10 * 60 * 1000)
+ To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
+ At runtime the interpreter will instantiate the policy using
+ Class.forName(FQCN)
+ |
+ DEFAULT |
+
+
+ | cassandra.retry.policy |
+
+ Cassandra Retry Policy.
+ Default = DefaultRetryPolicy.INSTANCE
+ To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
+ At runtime the interpreter will instantiate the policy using
+ Class.forName(FQCN)
+ |
+ DEFAULT |
+
+
+ | cassandra.socket.connection.timeout.millisecs |
+ Cassandra socket default connection timeout in millisecs |
+ 500 |
+
+
+ | cassandra.socket.read.timeout.millisecs |
+ Cassandra socket read timeout in millisecs |
+ 12000 |
+
+
+ | cassandra.socket.tcp.no_delay |
+ Cassandra socket TCP no delay |
+ true |
+
+
+ | cassandra.speculative.execution.policy |
+
+ Cassandra Speculative Execution Policy.
+ Default = NoSpeculativeExecutionPolicy.INSTANCE
+ To Specify your own policy, provide the fully qualify class name (FQCN) of your policy.
+ At runtime the interpreter will instantiate the policy using
+ Class.forName(FQCN)
+ |
+ DEFAULT |
+
+
+
+## Change Log
+
+**2.0** _(Zeppelin {{ site.ZEPPELIN_VERSION }})_ :
+* Update help menu and add changelog
+* Add Support for **User Defined Functions**, **User Defined Aggregates** and **Materialized Views**
+* Upgrade Java driver version to **3.0.0-rc1**
+
+**1.0** _(Zeppelin 0.5.5-incubating)_ :
+* Initial version
## Bugs & Contacts
If you encounter a bug for this interpreter, please create a **[JIRA]** ticket and ping me on Twitter
- at **[@doanduyhai]**.
+ at **[@doanduyhai]**
+
[Cassandra Java Driver]: https://github.com/datastax/java-driver
[standard CQL syntax]: http://docs.datastax.com/en/cql/3.1/cql/cql_using/use_collections_c.html