diff --git a/docs/interpreter/cassandra.md b/docs/interpreter/cassandra.md
index 2eb86c3d000..3cec02d18e3 100644
--- a/docs/interpreter/cassandra.md
+++ b/docs/interpreter/cassandra.md
@@ -6,8 +6,7 @@ group: manual
---
{% include JB/setup %}
-## 1. Cassandra CQL Interpreter for Apache Zeppelin
-
+## Cassandra CQL Interpreter for Apache Zeppelin
+
+ | 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. |
+
+
+
+The schema objects (cluster, keyspace, table, type, function and aggregate) are displayed in a tabular format.
There is a drop-down menu on the top left corner to expand objects details. On the top right menu is shown the Icon legend.
+
+ | 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 |
-
-
-
-
-## 14. Bugs & Contacts
+## Bugs & Contacts
If you encounter a bug for this interpreter, please create a **[JIRA]** ticket and ping me on Twitter
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
[Tuple CQL syntax]: http://docs.datastax.com/en/cql/3.1/cql/cql_reference/tupleType.html
diff --git a/docs/interpreter/elasticsearch.md b/docs/interpreter/elasticsearch.md
index ba1b6f78868..7b70528c00a 100644
--- a/docs/interpreter/elasticsearch.md
+++ b/docs/interpreter/elasticsearch.md
@@ -6,13 +6,10 @@ group: manual
---
{% include JB/setup %}
-
## Elasticsearch Interpreter for Apache Zeppelin
[Elasticsearch](https://www.elastic.co/products/elasticsearch) is a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data quickly and in near real time. It is generally used as the underlying engine/technology that powers applications that have complex search features and requirements.
-