Bläddra i källkod

HUE-8756 [docs] Add Druid to the list of connectors

Romain Rigaux 6 år sedan
förälder
incheckning
ccc31bc

+ 2 - 2
docs/docs-site/config.toml

@@ -1,4 +1,4 @@
-baseURL = 'http://cloudera.github.io/hue/docs-4.4.0/' # Note: also in [params]
+baseURL = 'http://cloudera.github.io/hue/latest/' # Note: also in [params]
 
 languageCode = "en-us"
 title = "Hue Documentation"
@@ -12,7 +12,7 @@ home = [ "HTML", "RSS", "JSON"]
 
 [params]
   # For logo and favicon partials
-  baseURL = 'http://cloudera.github.io/hue/docs-4.4.0/'
+  baseURL = 'http://cloudera.github.io/hue/latest/'
 
   # Prefix URL to edit current page. Will display an "Edit this page" button on top right hand corner of every page.
   # Useful to give opportunity to people to create merge request for your doc.

+ 18 - 1
docs/docs-site/content/administrator/configuration/editor/_index.md

@@ -130,6 +130,23 @@ Secondly, we need to add a new interpreter to the notebook app. This will allow
 
 Same as Presto.
 
+### Apache Druid
+
+First, make sure that Hue can talk to Druid via the pydruid SqlAlchemy connector. Either make sure it is in the global Python environment or install it in the Hue virtual environment.
+
+      ./build/env/bin/pip install pydruid
+
+**Note** Make sure the version is equal or more to 0.4.1 if not you will get a "Can't load plugin: sqlalchemy.dialects:druid".
+
+In the hue.ini configuration file, now let's add the interpreter. Here 'druid-host.com' would be the machine where Druid is running.
+
+      [notebook]
+      [[interpreters]]
+      [[[druid]]]
+      name = Druid
+      interface=sqlalchemy
+      options='{"url": "druid://druid-host.com:8082/druid/v2/sql/"}'
+
 ### Teradata
 
     [[[teradata]]]
@@ -203,7 +220,7 @@ The Phoenix JDBC client driver is bundled with the Phoenix binary and source rel
 
 ### BigQuery
 
-### Drill
+### Apache Drill
 
 The [Drill JDBC driver](http://maprdocs.mapr.com/home/Hue/ConfigureHuewithDrill.html) can be used.
 

+ 14 - 23
docs/docs-site/content/user/editor/_index.md

@@ -217,12 +217,12 @@ Turns a list of semi-colon separated queries into an interactive presentation. I
 
 Use the query editor with any database.
 
-### Hive
-### Impala
+### Apache Hive
+### Apache Impala
 ### MySQL
 ### Oracle
-### KSQL / Kafka SQL
-### Solr SQL
+### KSQL / Apache Kafka SQL
+### Apache Solr SQL
 
 With Solr 5+, query collections like we would query a regular Hive or Impala table.
 
@@ -236,7 +236,7 @@ As Solr SQL is pretty recent, there are some caveats, notably Solr lacks support
 
 which prevents a SQL UX experience comparable to the standard other databases (but we track it in [HUE-3686](https://issues.cloudera.org/browse/HUE-3686)).
 
-### Presto
+### Apache Presto
 
 Presto is a high performance, distributed SQL query engine for big data.
 
@@ -247,8 +247,12 @@ Presto is a high performance, distributed SQL query engine for big data.
 ### BigQuery
 ### AWS Athena
 ### Spark SQL
-### Phoenix
-### Kylin
+### Apache Phoenix
+### Apache Druid
+
+Apache Druid is an ["OLAP style"](http://druid.io/) database.
+
+### Apache Kylin
 Apache Kylin is an open-source online analytical processing (OLAP) engine.
 See how to configure the [Kylin Query Editor](http://gethue.com/using-hue-to-interact-with-apache-kylin/).
 
@@ -307,28 +311,15 @@ A Java job design consists of a main class written in Java.
 
 ### Pig
 
-A Pig job design consists of a Pig script.
-
-<table>
-<tr><td>Script name</td><td>Script name or path to the Pig script.</td></tr>
-</table>
+Type [Apache Pig](https://pig.apache.org/) Latin instructions to load/merge data to perform ETL or Analytics.
 
 ### Sqoop
 
-A Sqoop job design consists of a Sqoop command.
-
-<table>
-<tr><td>Command</td><td>The Sqoop command.</td></tr>
-</table>
+Run an SQL import from a traditional relational database via an [Apache Sqoop](https://sqoop.apache.org/) command.
 
 ### Shell
 
-A Shell job design consists of a shell command.
-
-<table>
-<tr><td>Command</td><td>The shell command.</td></tr>
-<tr><td>Capture output</td><td>Indicate whether to capture the output of the command.</td></tr>
-</table>
+Type or specify a path to a regular shell script.
 
 [Read more about it here](http://gethue.com/use-the-shell-action-in-oozie/).