You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by kr...@apache.org on 2016/01/06 00:24:28 UTC

drill git commit: simplify precommit script

Repository: drill
Updated Branches:
  refs/heads/gh-pages f1389d04e -> 263c11334


simplify precommit script

DRILL-4228

fix link


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

Branch: refs/heads/gh-pages
Commit: 263c11334c3ddf2f8c69dcc4c02bce3421503ad4
Parents: f1389d0
Author: Kris Hahn <kr...@apache.org>
Authored: Tue Jan 5 15:20:09 2016 -0800
Committer: Kris Hahn <kr...@apache.org>
Committed: Tue Jan 5 15:23:15 2016 -0800

----------------------------------------------------------------------
 README.md                                                     | 7 ++++---
 _docs/110-troubleshooting.md                                  | 4 ++--
 ...-configuring-user-impersonation-with-hive-authorization.md | 4 ++--
 3 files changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/263c1133/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index d4bacfe..49df1fa 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ To automatically add the last-modified-on date, a one-time local setup is requir
           # Contents of .git/hooks/pre-commit
 
           git diff --cached --name-status | grep "^M" | while read a b; do
-            cat $b | sed "/---.*/,/---.*/s/^date:.*$/date: $(date -u "+%Y-%m-%d %T %Z")/" > tmp
+            cat $b | sed "/---.*/,/---.*/s/^date:.*$/date: $(date -u "+%Y-%m-%d")/" > tmp
             mv tmp $b
             git add $b
           done
@@ -69,9 +69,10 @@ The updates should then be live: <http://drill.apache.org>.
 
 # Documentation Guidelines
 
-The documentation pages are under `_docs`. Each file, in its YAML front matter, has two important parameters:
+The documentation pages are under `_docs`. Most files, in the YAML front matter, have three important parameters:
 
-* title - This is the title of the page. Each page must have a *unique* title
+* title: - This is the title of the page enclosed in quotation marks. Each page must have a *unique* title
+* date: - This field is needed for Jekyll to write a last-modified date. Initially, leave this field blank.
 * parent - This is the title of the page's parent page. It should be empty for top-level sections/guides, and be identical to the title attribute of another page in all other cases.
 
 The name of the file itself doesn't matter except for the alphanumeric order of the filenames. Files that share the same parent are ordered alphanumerically. Note that the content of parent files is ignored, so add an overview/introduction child when needed.

http://git-wip-us.apache.org/repos/asf/drill/blob/263c1133/_docs/110-troubleshooting.md
----------------------------------------------------------------------
diff --git a/_docs/110-troubleshooting.md b/_docs/110-troubleshooting.md
index 6cf315f..560892f 100644
--- a/_docs/110-troubleshooting.md
+++ b/_docs/110-troubleshooting.md
@@ -1,6 +1,6 @@
 ---
 title: "Troubleshooting"
-date:  
+date: 2016-01-05
 ---
 
 You may experience certain known issues when using Drill. This document lists some known issues and resolutions for each.
@@ -17,7 +17,7 @@ Issue the following query to identify the node running as the Foreman:
 
 ### Identify the Drill Version
 Issue the following query to identify the version of Drill running in your cluster:  
-`SELECT commit_id FROM sys.version;`
+`SELECT version FROM sys.version;`
 
 ### Enable Verbose Errors
 You can enable the verbose errors option for a more detailed error print-out.

http://git-wip-us.apache.org/repos/asf/drill/blob/263c1133/_docs/configure-drill/076-configuring-user-impersonation-with-hive-authorization.md
----------------------------------------------------------------------
diff --git a/_docs/configure-drill/076-configuring-user-impersonation-with-hive-authorization.md b/_docs/configure-drill/076-configuring-user-impersonation-with-hive-authorization.md
index 997e058..bab9697 100644
--- a/_docs/configure-drill/076-configuring-user-impersonation-with-hive-authorization.md
+++ b/_docs/configure-drill/076-configuring-user-impersonation-with-hive-authorization.md
@@ -1,6 +1,6 @@
 ---
 title: "Configuring User Impersonation with Hive Authorization"
-date:  
+date: 2016-01-05
 parent: "Configure Drill"
 ---
 As of Drill 1.1, you can enable impersonation in Drill and configure authorization in Hive version 1.0 to authorize access to metadata in the Hive metastore repository and data in the Hive warehouse. Impersonation allows a service to act on behalf of a client while performing the action requested by the client. See [Configuring User Impersonation]({{site.baseurl}}/docs/configuring-user-impersonation).
@@ -11,7 +11,7 @@ There are two types of Hive authorizations that you can configure to work with i
 
 You can configure Hive SQL standard based authorization in Hive version 1.0 to work with impersonation in Drill 1.1. The SQL standard based authorization model can control which users have access to columns, rows, and views. Users with the appropriate permissions can issue the GRANT and REVOKE statements to manage privileges from Hive.
 
-For more information, see [SQL Standard Based Hive Authorization](https://cwiki.apache.org/confluence/display/HELIX/SQL+Standard+Based+Hive+Authorization).  
+For more information, see [SQL Standard Based Hive Authorization](https://cwiki.apache.org/confluence/display/HIVE/SQL+Standard+Based+Hive+Authorization).  
 
 ## Storage Based Authorization