drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tshi...@apache.org
Subject [14/30] drill git commit: add rn, remove rest-api
Date Mon, 23 Nov 2015 21:53:57 GMT
add rn, remove rest-api


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

Branch: refs/heads/gh-pages
Commit: b5bd18e8dfc300da6b0809c65656b727a477442a
Parents: 363a72a
Author: Kristine Hahn <khahn@maprtech.com>
Authored: Sun Nov 22 19:44:05 2015 -0800
Committer: Kristine Hahn <khahn@maprtech.com>
Committed: Sun Nov 22 19:44:05 2015 -0800

----------------------------------------------------------------------
 _data/docs.json                             | 142 +++----
 _docs/developer-information/009-rest-api.md | 481 -----------------------
 _docs/rn/008-1.3.0-rn.md                    | 159 ++++++++
 3 files changed, 230 insertions(+), 552 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/b5bd18e8/_data/docs.json
----------------------------------------------------------------------
diff --git a/_data/docs.json b/_data/docs.json
index 4f0fd71..a65407e 100644
--- a/_data/docs.json
+++ b/_data/docs.json
@@ -375,12 +375,29 @@
             "next_title": "Apache Drill 1.1.0 Release Notes", 
             "next_url": "/docs/apache-drill-1-1-0-release-notes/", 
             "parent": "Release Notes", 
-            "previous_title": "Release Notes", 
-            "previous_url": "/docs/release-notes/", 
+            "previous_title": "Apache Drill 1.3.0 Release Notes", 
+            "previous_url": "/docs/apache-drill-1-3-0-release-notes/", 
             "relative_path": "_docs/rn/009-1.2.0-rn.md", 
             "title": "Apache Drill 1.2.0 Release Notes", 
             "url": "/docs/apache-drill-1-2-0-release-notes/"
         }, 
+        "Apache Drill 1.3.0 Release Notes": {
+            "breadcrumbs": [
+                {
+                    "title": "Release Notes", 
+                    "url": "/docs/release-notes/"
+                }
+            ], 
+            "children": [], 
+            "next_title": "Apache Drill 1.2.0 Release Notes", 
+            "next_url": "/docs/apache-drill-1-2-0-release-notes/", 
+            "parent": "Release Notes", 
+            "previous_title": "Release Notes", 
+            "previous_url": "/docs/release-notes/", 
+            "relative_path": "_docs/rn/008-1.3.0-rn.md", 
+            "title": "Apache Drill 1.3.0 Release Notes", 
+            "url": "/docs/apache-drill-1-3-0-release-notes/"
+        }, 
         "Apache Drill Contribution Guidelines": {
             "breadcrumbs": [
                 {
@@ -2671,8 +2688,8 @@
             "next_title": "Compiling Drill from Source", 
             "next_url": "/docs/compiling-drill-from-source/", 
             "parent": "Developer Information", 
-            "previous_title": "REST API", 
-            "previous_url": "/docs/rest-api/", 
+            "previous_title": "Developer Information", 
+            "previous_url": "/docs/developer-information/", 
             "relative_path": "_docs/developer-information/010-develop-drill.md", 
             "title": "Develop Drill", 
             "url": "/docs/develop-drill/"
@@ -2687,23 +2704,6 @@
                             "url": "/docs/developer-information/"
                         }
                     ], 
-                    "children": [], 
-                    "next_title": "Develop Drill", 
-                    "next_url": "/docs/develop-drill/", 
-                    "parent": "Developer Information", 
-                    "previous_title": "Developer Information", 
-                    "previous_url": "/docs/developer-information/", 
-                    "relative_path": "_docs/developer-information/009-rest-api.md", 
-                    "title": "REST API", 
-                    "url": "/docs/rest-api/"
-                }, 
-                {
-                    "breadcrumbs": [
-                        {
-                            "title": "Developer Information", 
-                            "url": "/docs/developer-information/"
-                        }
-                    ], 
                     "children": [
                         {
                             "breadcrumbs": [
@@ -2751,8 +2751,8 @@
                     "next_title": "Compiling Drill from Source", 
                     "next_url": "/docs/compiling-drill-from-source/", 
                     "parent": "Developer Information", 
-                    "previous_title": "REST API", 
-                    "previous_url": "/docs/rest-api/", 
+                    "previous_title": "Developer Information", 
+                    "previous_url": "/docs/developer-information/", 
                     "relative_path": "_docs/developer-information/010-develop-drill.md",

                     "title": "Develop Drill", 
                     "url": "/docs/develop-drill/"
@@ -2941,8 +2941,8 @@
                     "url": "/docs/design-docs/"
                 }
             ], 
-            "next_title": "REST API", 
-            "next_url": "/docs/rest-api/", 
+            "next_title": "Develop Drill", 
+            "next_url": "/docs/develop-drill/", 
             "parent": "", 
             "previous_title": "Troubleshooting", 
             "previous_url": "/docs/troubleshooting/", 
@@ -7558,23 +7558,6 @@
             "title": "REPEATED_COUNT", 
             "url": "/docs/repeated-count/"
         }, 
-        "REST API": {
-            "breadcrumbs": [
-                {
-                    "title": "Developer Information", 
-                    "url": "/docs/developer-information/"
-                }
-            ], 
-            "children": [], 
-            "next_title": "Develop Drill", 
-            "next_url": "/docs/develop-drill/", 
-            "parent": "Developer Information", 
-            "previous_title": "Developer Information", 
-            "previous_url": "/docs/developer-information/", 
-            "relative_path": "_docs/developer-information/009-rest-api.md", 
-            "title": "REST API", 
-            "url": "/docs/rest-api/"
-        }, 
         "RPC Overview": {
             "breadcrumbs": [
                 {
@@ -7628,11 +7611,28 @@
                         }
                     ], 
                     "children": [], 
-                    "next_title": "Apache Drill 1.1.0 Release Notes", 
-                    "next_url": "/docs/apache-drill-1-1-0-release-notes/", 
+                    "next_title": "Apache Drill 1.2.0 Release Notes", 
+                    "next_url": "/docs/apache-drill-1-2-0-release-notes/", 
                     "parent": "Release Notes", 
                     "previous_title": "Release Notes", 
                     "previous_url": "/docs/release-notes/", 
+                    "relative_path": "_docs/rn/008-1.3.0-rn.md", 
+                    "title": "Apache Drill 1.3.0 Release Notes", 
+                    "url": "/docs/apache-drill-1-3-0-release-notes/"
+                }, 
+                {
+                    "breadcrumbs": [
+                        {
+                            "title": "Release Notes", 
+                            "url": "/docs/release-notes/"
+                        }
+                    ], 
+                    "children": [], 
+                    "next_title": "Apache Drill 1.1.0 Release Notes", 
+                    "next_url": "/docs/apache-drill-1-1-0-release-notes/", 
+                    "parent": "Release Notes", 
+                    "previous_title": "Apache Drill 1.3.0 Release Notes", 
+                    "previous_url": "/docs/apache-drill-1-3-0-release-notes/", 
                     "relative_path": "_docs/rn/009-1.2.0-rn.md", 
                     "title": "Apache Drill 1.2.0 Release Notes", 
                     "url": "/docs/apache-drill-1-2-0-release-notes/"
@@ -7808,8 +7808,8 @@
                     "url": "/docs/apache-drill-0-4-0-release-notes/"
                 }
             ], 
-            "next_title": "Apache Drill 1.2.0 Release Notes", 
-            "next_url": "/docs/apache-drill-1-2-0-release-notes/", 
+            "next_title": "Apache Drill 1.3.0 Release Notes", 
+            "next_url": "/docs/apache-drill-1-3-0-release-notes/", 
             "parent": "", 
             "previous_title": "Value Vectors", 
             "previous_url": "/docs/value-vectors/", 
@@ -15720,23 +15720,6 @@
                             "url": "/docs/developer-information/"
                         }
                     ], 
-                    "children": [], 
-                    "next_title": "Develop Drill", 
-                    "next_url": "/docs/develop-drill/", 
-                    "parent": "Developer Information", 
-                    "previous_title": "Developer Information", 
-                    "previous_url": "/docs/developer-information/", 
-                    "relative_path": "_docs/developer-information/009-rest-api.md", 
-                    "title": "REST API", 
-                    "url": "/docs/rest-api/"
-                }, 
-                {
-                    "breadcrumbs": [
-                        {
-                            "title": "Developer Information", 
-                            "url": "/docs/developer-information/"
-                        }
-                    ], 
                     "children": [
                         {
                             "breadcrumbs": [
@@ -15784,8 +15767,8 @@
                     "next_title": "Compiling Drill from Source", 
                     "next_url": "/docs/compiling-drill-from-source/", 
                     "parent": "Developer Information", 
-                    "previous_title": "REST API", 
-                    "previous_url": "/docs/rest-api/", 
+                    "previous_title": "Developer Information", 
+                    "previous_url": "/docs/developer-information/", 
                     "relative_path": "_docs/developer-information/010-develop-drill.md",

                     "title": "Develop Drill", 
                     "url": "/docs/develop-drill/"
@@ -15974,8 +15957,8 @@
                     "url": "/docs/design-docs/"
                 }
             ], 
-            "next_title": "REST API", 
-            "next_url": "/docs/rest-api/", 
+            "next_title": "Develop Drill", 
+            "next_url": "/docs/develop-drill/", 
             "parent": "", 
             "previous_title": "Troubleshooting", 
             "previous_url": "/docs/troubleshooting/", 
@@ -15994,11 +15977,28 @@
                         }
                     ], 
                     "children": [], 
-                    "next_title": "Apache Drill 1.1.0 Release Notes", 
-                    "next_url": "/docs/apache-drill-1-1-0-release-notes/", 
+                    "next_title": "Apache Drill 1.2.0 Release Notes", 
+                    "next_url": "/docs/apache-drill-1-2-0-release-notes/", 
                     "parent": "Release Notes", 
                     "previous_title": "Release Notes", 
                     "previous_url": "/docs/release-notes/", 
+                    "relative_path": "_docs/rn/008-1.3.0-rn.md", 
+                    "title": "Apache Drill 1.3.0 Release Notes", 
+                    "url": "/docs/apache-drill-1-3-0-release-notes/"
+                }, 
+                {
+                    "breadcrumbs": [
+                        {
+                            "title": "Release Notes", 
+                            "url": "/docs/release-notes/"
+                        }
+                    ], 
+                    "children": [], 
+                    "next_title": "Apache Drill 1.1.0 Release Notes", 
+                    "next_url": "/docs/apache-drill-1-1-0-release-notes/", 
+                    "parent": "Release Notes", 
+                    "previous_title": "Apache Drill 1.3.0 Release Notes", 
+                    "previous_url": "/docs/apache-drill-1-3-0-release-notes/", 
                     "relative_path": "_docs/rn/009-1.2.0-rn.md", 
                     "title": "Apache Drill 1.2.0 Release Notes", 
                     "url": "/docs/apache-drill-1-2-0-release-notes/"
@@ -16174,8 +16174,8 @@
                     "url": "/docs/apache-drill-0-4-0-release-notes/"
                 }
             ], 
-            "next_title": "Apache Drill 1.2.0 Release Notes", 
-            "next_url": "/docs/apache-drill-1-2-0-release-notes/", 
+            "next_title": "Apache Drill 1.3.0 Release Notes", 
+            "next_url": "/docs/apache-drill-1-3-0-release-notes/", 
             "parent": "", 
             "previous_title": "Value Vectors", 
             "previous_url": "/docs/value-vectors/", 

http://git-wip-us.apache.org/repos/asf/drill/blob/b5bd18e8/_docs/developer-information/009-rest-api.md
----------------------------------------------------------------------
diff --git a/_docs/developer-information/009-rest-api.md b/_docs/developer-information/009-rest-api.md
deleted file mode 100644
index d21abad..0000000
--- a/_docs/developer-information/009-rest-api.md
+++ /dev/null
@@ -1,481 +0,0 @@
----
-title: "REST API"
-parent: "Developer Information"
----
-
-The Drill REST API provides programmatic access to Drill through the [Web Console](/starting-the-web-console/).
Using HTTP requests, you can run queries, perform storage plugin tasks, such as creating a
storage plugin, obtain profiles of queries, and get current memory metrics. 
-
-AN HTTP request uses the familiar Web Console URI:
-
-`http://<IP address or host name>:8047`
-
-## Getting Started
-
-Before making HTTP requests, [start Drill]({{site.baseurl}}/docs/starting-drill-on-linux-and-mac-os-x).
-
-Several examples in the document use the donuts.json file. To download this file, go to [Drill
test resources](https://github.com/apache/drill/blob/master/exec/java-exec/src/test/resources)
page, locate donuts.json in the list of files, and download it. When using cURL, use unicode
\u0027 for the single quotation mark as shown in the Query example.
-
-This documentation presents HTTP methods in the same order as functions appear in the Web
Console:
-
-[**Query**]({{site.baseurl}}/docs/rest-api/#query)
-
-Submit a query and return results.
-
-[**Profiles**](({{site.baseurl}}/docs/rest-api/#profiles))
-
-* Get the profiles of running and completed queries.  
-* Get the profile of the query that has the given queryid.  
-* Cancel the query that has the given queryid.  
-
-[**Storage**]({{site.baseurl}}/docs/rest-api/#storage)
-
-* Get the list of storage plugin names and configurations.  
-* Get the definition of the named storage plugin.  
-* Enable or disable the named storage plugin.  
-* Create or update a storage plugin configuration.  
-* Delete a storage plugin configuration.  
-* Get Drillbit information, such as ports numbers.  
-* Get the current memory metrics.  
-
-[**Threads**](({{site.baseurl}}/docs/rest-api/#threads))
-
-Get the status of threads.  
-
-[**Options**]({{site.baseurl}}/docs/rest-api/#options)
-
-* List information about system/session options.  
-* Change the value or type of the named option.  
-
-
-## Query
-
-Using the query method, you can programmatically run queries. 
-
-----------
-
-### POST /query.json
-
-Submit a query and return results.
-
-**Parameters**
-
-* queryType--SQL, PHYSICAL, or LOGICAL are valid types. Use only "SQL". Other types are for
internal use only.  
-* query--A SQL query that runs in Drill.
-
-**Request Body**
-
-        {
-          "queryType" : "SQL",
-          "query" : "<Drill query>"
-        }
-
-**Example**
-
-     curl -X POST -H "Content-Type: application/json" -d '{"queryType":"SQL", "query": "select
* from dfs.`/Users/joe-user/apache-drill-1.3.0/sample-data/donuts.json` where name= \u0027Cake\u0027"}'
http://localhost:8047/query.json
-
-**Response Body**
-
-     {
-       "columns" : [ "id", "type", "name", "ppu", "sales", "batters", "topping", "filling"
],
-       "rows" : [ {
-         "id" : "0001",
-         "sales" : "35",
-         "name" : "Cake",
-         "topping" : "[{\"id\":\"5001\",\"type\":\"None\"},{\"id\":\"5002\",\"type\":\"Glazed\"},{\"id\":\"5005\",\"type\":\"Sugar\"},{\"id\":\"5007\",\"type\":\"Powdered
Sugar\"},{\"id\":\"5006\",\"type\":\"Chocolate with Sprinkles\"},{\"id\":\"5003\",\"type\":\"Chocolate\"},{\"id\":\"5004\",\"type\":\"Maple\"}]",
-         "ppu" : "0.55",
-         "type" : "donut",
-         "batters" : "{\"batter\":[{\"id\":\"1001\",\"type\":\"Regular\"},{\"id\":\"1002\",\"type\":\"Chocolate\"},{\"id\":\"1003\",\"type\":\"Blueberry\"},{\"id\":\"1004\",\"type\":\"Devil's
Food\"}]}",
-         "filling" : "[]"
-       } ]
-     }
-
-## Profiles
-
-These methods get query profiles. 
-
-----------
-
-### GET /profiles.json
-
-Get the profiles of running and completed queries. 
-
-**Example**
-
-`curl http://localhost:8047/profiles.json`
-
-**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.3.0/sample-data/donuts.json`
where name= 'Cake'",
-            "state" : "COMPLETED",
-            "user" : "anonymous"
-          }, 
-          . . .
-
-----------
-
-### GET /profiles/{queryid}.json
-
-Get the profile of the query that has the given queryid.
-
-**Parameter**
-
-queryid--The UUID of the query in [standard UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)
format that Drill assigns to each query. 
-
-**Example**
-
-`curl http://localhost:8047/profiles/29b2e988-35e7-4c85-3151-32c7d3347f15.json`
-
-**Response Body**
-
-        {"id":{"part1":3004720672638717061,"part2":3553677414795345685},"type":1,"start":1447892599827,"end":1447892599950,"query":"select
* from dfs.`/Users/joe-user/drill/apache-drill-1.3.0/sample-data/donuts.json` where name=
'Cake'","plan":"00-00    Screen : rowType = RecordType(ANY *): 
-        . . ."lastUpdate":1447892599950,"lastProgress":1447892599950}]}],"user":"anonymous"}
-
-----------
-
-### GET /profiles/cancel/{queryid}
-
-Cancel the query that has the given queryid.
-
-**Parameter**
-
-queryid--The UUID of the query in [standard UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)
format that Drill assigns to each query. 
-
-**Example**
-
-`curl http://localhost:8047/profiles/cancel/29b2e988-35e7-4c85-3151-32c7d3347f15`
-
-**Response Body**
-
-        {
-          "result" : "success"
-        }
-
-
-## Storage
-
-The storage REST methods manage Drill storage plugin configurations.
-
-----------
-
-### GET /storage.json
-
-Get the list of storage plugin names and configurations.
-
-**Example**
-
-`curl http://localhost:8047/storage.json`
-
-**Response Body**
-
-        [ {
-          "name" : "cp",
-          "config" : {
-            "type" : "file",
-            "enabled" : true,
-            "connection" : "classpath:///",
-            "workspaces" : null,
-            "formats" : {
-              "csv" : {
-                "type" : "text",
-                "extensions" : [ "csv" ],
-                "delimiter" : ","
-              },
-        . . .
-        {
-          "name" : "mongo",
-          "config" : {
-            "type" : "mongo",
-            "connection" : "mongodb://localhost:27017/",
-            "enabled" : false
-          }
-        } ]
-
-----------
-
-### GET /storage/{name}.json
-
-Get the definition of the named storage plugin.
-
-**Parameter**
-
-name--The assigned name in the storage plugin definition.
-
-**Example**
-
-`curl http://localhost:8047/storage/mongo.json`
-
-**Response Body**
-
-        {
-          "name" : "mongo",
-          "config" : {
-            "type" : "mongo",
-            "connection" : "mongodb://localhost:27017/",
-            "enabled" : false
-          }
-        }
-
-----------
-
-### Get /storage/{name}/enable/{val}
-
-Enable or disable the named storage plugin.
-
-**Parameters**
-
-* name--The assigned name in the storage plugin definition.
-* val--Either true (to enable) or false (to disable).
-
-**Example**
-
-`curl http://localhost:8047/storage/mongo/enable/true`
-
-**Response Body**
-
-{
-  "result" : "success"
-}
-
-----------
-
-### POST /storage/{name}.json
-
-Create or update a storage plugin configuration.
-
-**Parameters**
-
-name--The name of the storage plugin configuration to create or update.
-
-**Request Body**
-
-     {
-        "name" : "<name of storage plugin configuration>",
-        "config" : {
-          "type" : "<type of storage plugin>",
-          "enabled" : <true or false>,
-            "connection" : "<type of distributed file system and address/path>",
-            "workspaces" : <null or unique workspace name>,
-            "formats" : <file format definitions> 
-        }
-     }
-
-Valid storage plugin types include file, hbase, hive, mongo, and jdbc. Construct the request
body using storage plugin [attributes and definitions]({{site.baseurl}}/docs/plugin-configuration-basics/#list-of-attributes-and-definitions).
The request body overwrites the existing configuration if there is any, and therefore, must
include all required attributes and definitions.
-
-**Example**
-
-     curl -X POST -H "Content-Type: application/json" -d '{"name":"myplugin", "config": {"type":
"file", "enabled": false, "connection": "file:///", "workspaces": { "root": { "location":
"/", "writable": false, "defaultInputFormat": null}}, "formats": null}}' http://localhost:8047/storage/myplugin.json
-
-**Response Body**
-
-{
-  "result" : "success"
-}
-
-----------
-
-### DELETE /storage/{name}.json
-
-Delete a storage plugin configuration.
-
-**Parameter**
-
-name--The name of the storage plugin configuration to delete.
-
-**Example**
-
-`curl -X DELETE -H "Content-Type: application/json" http://localhost:8047/storage/myplugin.json`
-
-**Response Body**
-
-        {
-          "result" : "success"
-        }
-
-## Metrics
-
-Gets metric information.
-
-----------
-
-### GET /stats.json
-
-Get Drillbit information, such as ports numbers.
-
-**Example**
-
-`curl http://localhost:8047/stats.json`
-
-**Response Body**
-
-        [ {
-          "name" : "Number of Drill Bits",
-          "value" : 1
-        }, {
-          "name" : "Bit #0",
-          "value" : "10.250.50.31 initialized"
-        }, {
-          "name" : "Data Port Address",
-          "value" : "10.250.50.31:31012"
-        }, {
-          "name" : "User Port Address",
-          "value" : "10.250.50.31:31010"
-        }, {
-          "name" : "Control Port Address",
-          "value" : "10.250.50.31:31011"
-        }, {
-          "name" : "Maximum Direct Memory",
-          "value" : 8589934592
-        } ]
-
-----------
-
-### GET /status
-
-Get the status of Drill. 
-
-**Example**
-
-`curl http://localhost:8047/status`
-
-**Response Body**
-
-          <!DOCTYPE html>
-          . . .
-
-            <div class="alert alert-success">
-              <strong>Running!</strong>
-          . . .
-
-          </html>
-
-----------
-
-### GET /status/metrics
-
-Get the current memory metrics.
-
-**Example**
-
-`curl http://localhost:8047/status/metrics`
-
-**Response Body**
-
-        {"version":"3.0.0","gauges":{"PS-MarkSweep.count":{"value":0},"PS-MarkSweep.time":{"value":0},"PS-Scavenge.count":{"value":1},"PS-Scavenge.time":{"value":74},"blocked.
-         . . .
-        ,"drill.allocator.normal.hist":{"count":84,"max":1024,"mean":273.6666666666667,"min":12,"p50":256.0,"p75":448.0,"p95":896.0,"p98":1024.0,"p99":1024.0,"p999":1024.0,"stddev":248.17013855555368}},"meters":{},"timers":{}}
-
-## Threads
-
-Get information about threads.
-
-----------
-
-### GET /status/threads
-
-Get the status of threads.
-
-**Example**
-
-`curl http://localhost:8047/status/threads`
-
-**Response Body**
-
-        main id=1 state=RUNNABLE (running in native)
-            at java.io.FileInputStream.read0(Native Method)
-            at java.io.FileInputStream.read(FileInputStream.java:210)
-        . . .
-
-        threadDeathWatcher-2-1 id=49 state=TIMED_WAITING
-            at java.lang.Thread.sleep(Native Method)
-            at io.netty.util.ThreadDeathWatcher$Watcher.run(ThreadDeathWatcher.java:137)
-            at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
-            at java.lang.Thread.run(Thread.java:745)
-
-        Scheduler-1174655113 id=50 state=TIMED_WAITING
-            - waiting on <0x738fda67> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
-            - locked <0x738fda67> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
-        . . .
-
-## Options
-These methods get and set system options.
-
-----------
-
-### GET /options.json
-
-List the name, default, and data type of the system and session options.
-
-**Example**
-
-`curl http://localhost:8047/options.json`
-
-**Response Body**
-
-        [ {
-          "name" : "planner.broadcast_factor",
-          "value" : 1.0,
-          "type" : "SYSTEM",
-          "kind" : "DOUBLE"
-        }, 
-
-        . . .
-
-        {
-          "name" : "store.parquet.compression",
-          "value" : "snappy",
-          "type" : "SYSTEM",
-          "kind" : "STRING"
-        },
-
-        . . .
-
-        {
-          "name" : "exec.enable_union_type",
-          "value" : false,
-          "type" : "SYSTEM",
-          "kind" : "BOOLEAN"
-        } ]
-
-----------
-
-### POST /option/{optionName}
-
-Change the value or type of the named option. Doc Note: Test on 1.3.
-
-**Parameter**
-
-optionName--The name of a [Drill system option]({{site.baseurl}}/docs/configuration-options-introduction/#system-options).
-
-**Request Body**
-
-Enclose option values of kind STRING in double quotation marks.
-
-        {
-          "name" : "<option name>",
-          "value" : ["]<new value>["],
-          "type" : "<SYSTEM or SESSION>",
-          "kind" : "<option data type>"
-        }
-
-**Example**
-
-        curl -X POST -H "Content-Type: application/json" -d '{"name" : "store.json.all_text_mode",
"value" : true, "type" : "SYSTEM", "kind" : "BOOLEAN"}' http://localhost:8047/option/store.json.all_text_mode
-
-<!-- Not merged yet, need to test -->
-
-**Response Body**
-
-        {
-          "result" : "success"
-        }
-
-
-
-

http://git-wip-us.apache.org/repos/asf/drill/blob/b5bd18e8/_docs/rn/008-1.3.0-rn.md
----------------------------------------------------------------------
diff --git a/_docs/rn/008-1.3.0-rn.md b/_docs/rn/008-1.3.0-rn.md
new file mode 100644
index 0000000..fae390d
--- /dev/null
+++ b/_docs/rn/008-1.3.0-rn.md
@@ -0,0 +1,159 @@
+---
+title: "Apache Drill 1.3.0 Release Notes"
+parent: "Release Notes"
+---
+
+**Release date:**  November 22, 2015
+
+Today, we're happy to announce the availability of Drill 1.3.0, providing bug fixes and enhancements.

+
+## Enhancements and Bug Fixes
+
+    
+<h2>Sub-task
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-1721'>DRILL-1721</a>]
- Configure fmpp-maven-plugin for incremental build
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3313'>DRILL-3313</a>]
- Eliminate redundant #load methods and unit-test loading &amp; exporting of vectors
+</li>
+</ul>
+    
+<h2>Bug
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-1752'>DRILL-1752</a>]
- Drill cluster returns error when querying Mongo shards on an unsharded collection
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-2161'>DRILL-2161</a>]
- Flatten on a list within a list on a large data set results in an IOB Exception
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-2583'>DRILL-2583</a>]
- Querying a non-existent table from hbase should throw a proper error message
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-2626'>DRILL-2626</a>]
- org.apache.drill.common.StackTrace seems to have duplicate code; should we re-use Throwable&#39;s
code?
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-2967'>DRILL-2967</a>]
- Incompatible types error reported in a &quot;not in&quot; query with compatible
data types 
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3336'>DRILL-3336</a>]
- to_date(to_timestamp) with group-by in hbase/maprdb table fails with &quot;java.lang.UnsupportedOperationException&quot;
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3428'>DRILL-3428</a>]
- Errors during text filereading should provide the file name in the error messge
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3429'>DRILL-3429</a>]
- DrillAvgVarianceConvertlet may produce wrong results while rewriting stddev, variance
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3485'>DRILL-3485</a>]
- Doc. site JDBC page(s) should at least point to JDBC Javadoc in source
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3486'>DRILL-3486</a>]
- Doc. site JDBC page(s) should link to JDBC driver Javadoc doc. once it&#39;s available
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3505'>DRILL-3505</a>]
- MongoDB _id is returned as null when  t.*, t._id is used in the projection
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3538'>DRILL-3538</a>]
- We do not prune partitions when we count over partitioning key and filter over partitioning
key
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3578'>DRILL-3578</a>]
- UnsupportedOperationException: Unable to get value vector class for minor type [FIXEDBINARY]
and mode [OPTIONAL]
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3634'>DRILL-3634</a>]
- Hive Scan : Add fileCount (no of files scanned) or no of partitions scanned to the text
plan
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3770'>DRILL-3770</a>]
- Query with window function having just ORDER BY clause runs out of memory on large datasets
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3871'>DRILL-3871</a>]
- Off by one error while reading binary fields with one terminal null in parquet
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3921'>DRILL-3921</a>]
- Hive LIMIT 1 queries take too long
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3937'>DRILL-3937</a>]
- We are not pruning when we have a metadata cache and auto partitioned data in some cases
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3941'>DRILL-3941</a>]
- Add timing instrumentation around Partition Pruning
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3943'>DRILL-3943</a>]
- CannotPlanException caused by ExpressionReductionRule
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3947'>DRILL-3947</a>]
- IndexOutOfBoundsException for pruning on date column (at large scale)
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3952'>DRILL-3952</a>]
- Improve Window Functions performance when not all batches are required to process the current
batch
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3956'>DRILL-3956</a>]
- TEXT MySQL type unsupported
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3975'>DRILL-3975</a>]
- Partition Planning rule causes query failure due to IndexOutOfBoundsException on HDFS
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3980'>DRILL-3980</a>]
- Build failure in -Pmapr profile (due to DRILL-3749)
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3992'>DRILL-3992</a>]
- Unable to query Oracle DB using JDBC Storage Plug-In
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3994'>DRILL-3994</a>]
- Build Fails on Windows after DRILL-3742
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4000'>DRILL-4000</a>]
- In all non-root fragments, Drill recreates storage plugin instances for every minor fragment
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4025'>DRILL-4025</a>]
- Reduce getFileStatus() invocation for Parquet by 1
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4028'>DRILL-4028</a>]
- Merge Drill parquet modifications back into the mainline project
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4040'>DRILL-4040</a>]
- Build failure on master
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4042'>DRILL-4042</a>]
- Unable to run sqlline in embedded mode on Windows
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4046'>DRILL-4046</a>]
- Performance regression in some tpch queries with 1.3rc0 build
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4056'>DRILL-4056</a>]
- Avro deserialization corrupts data
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4065'>DRILL-4065</a>]
- ImpersonationUtil always creates new UserGroupInformation (thus new FileSystem objects),
causing excessive number of threads
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4070'>DRILL-4070</a>]
- Files written with versions of Drill before v1.3 record metadata that is indistinguishable
from bad metadata from other Parquet creators
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4071'>DRILL-4071</a>]
- Partition pruning fails when a Coalesce() function appears with partition filter
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4080'>DRILL-4080</a>]
- doc file deleted from gh-pages appears when obsolete url is used
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4085'>DRILL-4085</a>]
- Disable RPC Offload until concurrency bugs are tracked down
+</li>
+</ul>
+        
+<h2>Improvement
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-1065'>DRILL-1065</a>]
- Provide a reset command to reset an option to its default value
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-2726'>DRILL-2726</a>]
- Display Drill version in sys.version
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3242'>DRILL-3242</a>]
- Enhance RPC layer to offload all request work onto a separate thread.
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3340'>DRILL-3340</a>]
- Add named metrics and named operators in OperatorProfile
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3742'>DRILL-3742</a>]
- Improve classpath scanning to reduce the time it takes
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3793'>DRILL-3793</a>]
- Rewrite MergeJoinBatch using record batch iterator.
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3810'>DRILL-3810</a>]
- Filesystem plugin&#39;s support for file format&#39;s schema
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3911'>DRILL-3911</a>]
- Upgrade Hadoop from 2.4.1 to latest stable
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3912'>DRILL-3912</a>]
- Common subexpression elimination in code generation
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3914'>DRILL-3914</a>]
- Support geospatial queries
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4031'>DRILL-4031</a>]
- JDBC Plugin Queries fail if columns return JDBC OTHER type
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-4103'>DRILL-4103</a>]
- Add additional metadata to Parquet files generated by Drill
+</li>
+</ul>
+    
+<h2>New Feature
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-951'>DRILL-951</a>]
- CSV header row should be parsed
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3749'>DRILL-3749</a>]
- Upgrade Hadoop dependency to latest version (2.7.1)
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3802'>DRILL-3802</a>]
- Throw unsupported error for ROLLUP/GROUPING
+</li>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3963'>DRILL-3963</a>]
- Read raw key value bytes from sequence files
+</li>
+</ul>
+        
+<h2>Test
+</h2>
+<ul>
+<li>[<a href='https://issues.apache.org/jira/browse/DRILL-3983'>DRILL-3983</a>]
- Small test improvements
+</li>
+</ul>
+
+
+
+
+
+
+


Mime
View raw message