You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by dz...@apache.org on 2022/01/31 09:46:08 UTC

[drill-site] branch master updated (280d025 -> 9244fe0)

This is an automated email from the ASF dual-hosted git repository.

dzamo pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git.


    from 280d025  Merge pull request #25 from wschoot/patch-1
     new 53d4542  Add some sub headings to compiling-drill-from-source.
     new 9244fe0  Document profiles REST API call variations.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../010-compiling-drill-from-source.md             |  6 ++++
 .../rest-api/010-rest-api-introduction.md          | 33 ++++++++++++++--------
 2 files changed, 27 insertions(+), 12 deletions(-)

[drill-site] 02/02: Document profiles REST API call variations.

Posted by dz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dzamo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git

commit 9244fe0c22f5777142600e4b556423c1aad58671
Author: James Turton <ja...@somecomputer.xyz>
AuthorDate: Mon Jan 31 11:41:59 2022 +0200

    Document profiles REST API call variations.
---
 .../rest-api/010-rest-api-introduction.md          | 33 ++++++++++++++--------
 1 file changed, 21 insertions(+), 12 deletions(-)

diff --git a/_docs/en/developer-information/rest-api/010-rest-api-introduction.md b/_docs/en/developer-information/rest-api/010-rest-api-introduction.md
index 0d3cdce..adf3bc3 100644
--- a/_docs/en/developer-information/rest-api/010-rest-api-introduction.md
+++ b/_docs/en/developer-information/rest-api/010-rest-api-introduction.md
@@ -193,18 +193,27 @@ Get the profiles of running and completed queries.
 
 **Response Body**
 
-        {
-          "runningQueries" : [ ],
-          "finishedQueries" : [ {
-            "queryId" : "29b2e988-35e7-4c85-3151-32c7d3347f15",
-            "time" : "11/18/2015 16:23:19",
-            "location" : "http://localhost:8047/profile/29b2e988-35e7-4c85-3151-32c7d3347f15.json",
-            "foreman" : "10.250.50.31",
-            "query" : "select * from dfs.`/Users/joe-user/apache-drill-1.4.0/sample-data/donuts.json` where name= 'Cake'",
-            "state" : "COMPLETED",
-            "user" : "anonymous"
-          },
-          . . .
+```json
+{
+  "runningQueries" : [ ],
+  "finishedQueries" : [ {
+    "queryId" : "29b2e988-35e7-4c85-3151-32c7d3347f15",
+    "time" : "11/18/2015 16:23:19",
+    "location" : "http://localhost:8047/profile/29b2e988-35e7-4c85-3151-32c7d3347f15.json",
+    "foreman" : "10.250.50.31",
+    "query" : "select * from dfs.`/Users/joe-user/apache-drill-1.4.0/sample-data/donuts.json` where name= 'Cake'",
+    "state" : "COMPLETED",
+    "user" : "anonymous"
+  },
+  . . .
+}
+```
+
+#### Supported variations
+```
+GET /profiles/[running|completed]
+GET /profiles/json?status=[all|running|completed]
+```
 
 ----------
 

[drill-site] 01/02: Add some sub headings to compiling-drill-from-source.

Posted by dz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dzamo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill-site.git

commit 53d454263ea8bd9657e21ff48d1f726e955796e0
Author: James Turton <ja...@somecomputer.xyz>
AuthorDate: Wed Jan 19 15:00:48 2022 +0200

    Add some sub headings to compiling-drill-from-source.
---
 .../develop-drill/010-compiling-drill-from-source.md                | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/_docs/en/developer-information/develop-drill/010-compiling-drill-from-source.md b/_docs/en/developer-information/develop-drill/010-compiling-drill-from-source.md
index 4c39a5e..b645ac2 100644
--- a/_docs/en/developer-information/develop-drill/010-compiling-drill-from-source.md
+++ b/_docs/en/developer-information/develop-drill/010-compiling-drill-from-source.md
@@ -41,16 +41,22 @@ Build Apache Drill:
 
     mvn clean install -DskipTests
 
+### Compiling for MapR environments
+
 If you want to deploy Apache Drill on the MapR platform, include the `-Pmapr` option to build Drill under the MapR profile.
 
     mvn clean install -DskipTests -Pmapr
 
+### Compiling for Hadoop 2 environments
+
 **Introduced in release: 1.20**
 
 Drill updated its Hadoop client libraries to Hadoop 3 in release 1.17 leaving Hadoop 2 users unable to upgrade beyond Drill 1.16.  As of Drill 1.20 it once again becomes possible to build Drill for deployment in an Hadoop 2 environment, by including the `-Phadoop-2` option to select the Hadoop 2 profile.
 
     mvn clean install -DskipTests -Phadoop-2
 
+### Build outputs
+
 A tarball is built and appears in the distribution/target directory. Move the tarball to another directory for unpacking. Unpack the tarball and then connect to Drill and query sample data, or connect Drill to your data sources.
 
   * To connect Drill to your data sources, refer to [Connect to Data Sources]({{ site.baseurl }}/docs/connect-a-data-source-introduction) for instructions.