Repository: zeppelin
Updated Branches:
  refs/heads/master 4b63867aa -> c06c375e9


ZEPPELIN-1030 Added example for various jdbc-like interpreters

### What is this PR for?
Adding examples settings for JdbcInterpreter to use jdbc drivers. This hasn't 
changed actual codes

### What type of PR is it?
[Documentation]

### Todos
* [x] - Add example

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1030

### How should this be tested?
1. mvn clean package -DskipTests -Pspark-1.6 -pl 
'jdbc,zeppelin-interpreter,zeppelin-web,zeppelin-server,zeppelin-zengine,zeppelin-display'
2. Test it

### Screenshots (if appropriate)
<img width="744" alt="screen shot 2016-06-27 at 11 46 00 pm" 
src="https://cloud.githubusercontent.com/assets/3612566/16384014/6aef186a-3cc2-11e6-93e0-105fd9d29eff.png";>
<img width="1579" alt="screen shot 2016-06-27 at 11 47 59 pm" 
src="https://cloud.githubusercontent.com/assets/3612566/16384015/6af3a7ea-3cc2-11e6-88f5-1dc6bc672079.png";>

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jongyoul Lee <[email protected]>

Closes #1096 from jongyoul/ZEPPELIN-1030 and squashes the following commits:

1aaf0d2 [Jongyoul Lee] Added example for various interpreters


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/c06c375e
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/c06c375e
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/c06c375e

Branch: refs/heads/master
Commit: c06c375e91dd00dbba58ebf7fac4113b842cc5b2
Parents: 4b63867
Author: Jongyoul Lee <[email protected]>
Authored: Mon Jun 27 23:50:50 2016 +0900
Committer: Jongyoul Lee <[email protected]>
Committed: Tue Jun 28 00:37:37 2016 +0900

----------------------------------------------------------------------
 .../src/main/resources/interpreter-setting.json | 84 ++++++++++++++++++++
 1 file changed, 84 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/c06c375e/jdbc/src/main/resources/interpreter-setting.json
----------------------------------------------------------------------
diff --git a/jdbc/src/main/resources/interpreter-setting.json 
b/jdbc/src/main/resources/interpreter-setting.json
index 069880c..c60a987 100644
--- a/jdbc/src/main/resources/interpreter-setting.json
+++ b/jdbc/src/main/resources/interpreter-setting.json
@@ -45,6 +45,90 @@
         "propertyName": "zeppelin.jdbc.concurrent.max_connection",
         "defaultValue": "10",
         "description": "Number of concurrent execution"
+      },
+      "hive.url": {
+        "envName": null,
+        "propertyName": "hive.url",
+        "defaultValue": "jdbc:hive2://localhost:10000",
+        "description": ""
+      },
+      "hive.user": {
+        "envName": null,
+        "propertyName": "hive.user",
+        "defaultValue": "hive",
+        "description": ""
+      },
+      "hive.password": {
+        "envName": null,
+        "propertyName": "hive.password",
+        "defaultValue": "",
+        "description": ""
+      },
+      "hive.driver": {
+        "envName": null,
+        "propertyName": "hive.driver",
+        "defaultValue": "org.apache.hive.jdbc.HiveDriver",
+        "description": ""
+      },
+      "phoenix.url": {
+        "envName": null,
+        "propertyName": "phoenix.url",
+        "defaultValue": "jdbc:phoenix:localhost:2181:/hbase-unsecure",
+        "description": ""
+      },
+      "phoenix.user": {
+        "envName": null,
+        "propertyName": "phoenix.user",
+        "defaultValue": "phoenixuser",
+        "description": ""
+      },
+      "phoenix.password": {
+        "envName": null,
+        "propertyName": "phoenix.password",
+        "defaultValue": "",
+        "description": ""
+      },
+      "phoenix.driver": {
+        "envName": null,
+        "propertyName": "phoenix.driver",
+        "defaultValue": "org.apache.phoenix.jdbc.PhoenixDriver",
+        "description": ""
+      },
+      "tajo.url": {
+        "envName": null,
+        "propertyName": "tajo.url",
+        "defaultValue": "jdbc:tajo://localhost:26002/default",
+        "description": ""
+      },
+      "tajo.driver": {
+        "envName": null,
+        "propertyName": "tajo.driver",
+        "defaultValue": "org.apache.tajo.jdbc.TajoDriver",
+        "description": ""
+      },
+      "psql.url": {
+        "envName": null,
+        "propertyName": "psql.url",
+        "defaultValue": "jdbc:postgresql://localhost:5432/",
+        "description": ""
+      },
+      "psql.user": {
+        "envName": null,
+        "propertyName": "psql.user",
+        "defaultValue": "phoenixuser",
+        "description": ""
+      },
+      "psql.password": {
+        "envName": null,
+        "propertyName": "psql.password",
+        "defaultValue": "",
+        "description": ""
+      },
+      "psql.driver": {
+        "envName": null,
+        "propertyName": "psql.driver",
+        "defaultValue": "org.postgresql.Driver",
+        "description": ""
       }
     }
   }

Reply via email to