You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by br...@apache.org on 2017/05/30 23:14:52 UTC

[1/2] drill git commit: Updated docs from Catherine Skrbina for latest ODBC driver

Repository: drill
Updated Branches:
  refs/heads/gh-pages e8bbb9d6d -> ee71b646e


http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/configuring-odbc/040-testing-the-odbc-connection.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/configuring-odbc/040-testing-the-odbc-connection.md b/_docs/odbc-jdbc-interfaces/configuring-odbc/040-testing-the-odbc-connection.md
index d55a49c..710c7dd 100644
--- a/_docs/odbc-jdbc-interfaces/configuring-odbc/040-testing-the-odbc-connection.md
+++ b/_docs/odbc-jdbc-interfaces/configuring-odbc/040-testing-the-odbc-connection.md
@@ -1,8 +1,112 @@
 ---
 title: "Testing the ODBC Connection"
-date: 2017-01-24 22:24:25 UTC
+date: 2017-05-30 23:11:53 UTC
 parent: "Configuring ODBC"
 ---
+You can use DSN connection strings and DSN-less connection strings for your connections.
+
+* [Example Connection String with DSN]({{site.baseurl}}/docs/testing-the-odbc-connection/#example-connection-string-with-DSN)
+* [Example Connection Strings without DSN]({{site.baseurl}}/docs/testing-the-odbc-connection/#example-connection-strings-without-DSN)
+
+## Example Connection String with DSN 
+The following is an example of a connection string for a connection that uses a DSN:
+
+    DSN=[DataSourceName]	
+
+[*DataSourceName*] is the DSN that you are using for the connection.
+
+You can set additional configuration options by appending key-value pairs to the connection string. Configuration options that are passed in using a connection string take precedence over configuration options that are set in the DSN.
+
+
+## Example Connection Strings without DSN 
+
+Some applications provide support for connecting to a data source using a driver without a DSN. To connect to a data source without using a DSN, use a connection string instead.
+The placeholders in the examples are defined as follows, in alphabetical order:
+
+* [*ClusterName*] is the name of the ZooKeeper cluster to which you are connecting.
+* [*DomainName*] is the fully qualified domain name of the Drill server host.
+* [*PortNumber*] is the number of the TCP port that the Drill server uses to listen for client connections.
+* [*Server*] is the IP address or host name of the Drill server to which you are connecting.
+* [*ServiceName*] is the Kerberos service principal name of the Drill server.
+* [*YourPassword*] is the password corresponding to your user name.
+* [*YourUserName*] is the user name that you use to access the Drill server.
+
+
+###Drillbit Connections
+The following is the format of a DSN-less connection string for a Drillbit that does not require authentication:
+
+Driver=MapR Drill ODBC Driver;ConnectionType=Direct; Host=[*Server*];Port=[*PortNumbe*r]
+
+For example:
+
+    Driver=MapR Drill ODBC Driver;ConnectionType=Direct; Host=192.168.222.160;Port=31010
+
+###ZooKeeper Connections
+The following is the format of a DSN-less connection string for a ZooKeeper cluster that does not require authentication:
+
+Driver=MapR Drill ODBC Driver;
+ConnectionType=ZooKeeper; 
+ZKQuorum=[*Server1*]:[*PortNumber*1], [*Server2*]:[*PortNumber2*], [*Server3*]:[*PortNumber3*];
+ZKClusterID=[*ClusterName*]
+
+For example:
+
+    Driver=MapR Drill ODBC Driver;
+	ConnectionType=ZooKeeper; 
+	ZKQuorum=192.168.222.160:31010, 192.168.222.165:31010, 192.168.222.231:31010;
+	ZKClusterID=drill;
+
+
+###Kerberos Authentication Connections
+The following is the format of a DSN-less connection string for a Drillbit that requires Kerberos authentication:
+
+Driver=MapR Drill ODBC Driver;
+ConnectionType=Direct; 
+Host=[*Server*];Port=[*PortNumber*];
+AuthenticationType=Kerberos; 
+KrbServiceHost=[*DomainName*];KrbServiceName=[*ServiceName*]
+
+For example:
+
+    Driver=MapR Drill ODBC Driver;
+	ConnectionType=Direct; 
+	Host=192.168.222.160;Port=31010;
+	AuthenticationType=Kerberos; 
+	KrbServiceHost=maprdriverdemo.example.com;	KrbServiceName=drill
+
+###MapR-SASL Authentication Connections
+
+The following is the format of a DSN-less connection string for a Drillbit that requires MapR-SASL authentication:
+
+Driver=MapR Drill ODBC Driver;ConnectionType=Direct; Host=[*Server*];Port=[*PortNumber*];AuthenticationType=MapRSASL
+
+For example:
+
+    Driver=MapR Drill ODBC Driver;
+	ConnectionType=Direct; 
+	Host=192.168.227.169;
+	Port=31010;
+	AuthenticationType=MapRSASL
+
+###Plain Authentication Connections
+
+The following is the format of a DSN-less connection string for a Drillbit that requires Plain authentication:
+
+Driver=MapR Drill ODBC Driver;ConnectionType=Direct; 
+Host=[*Server*];Port=[*PortNumber*];	
+AuthenticationType=Plain;
+UID=[*YourUserName*];PWD=[*YourPassword*]
+
+For example:
+
+    Driver=MapR Drill ODBC Driver;ConnectionType=Direct; 
+	Host=192.168.227.169;Port=31010;
+    AuthenticationType=Plain;
+	UID=username;PWD=mapr999
+
+
+##Testing the ODBC Connection
+
 The procedure for testing the ODBC connection differs depending on your platform, as described in the following sections:
 
 * [Testing the ODBC Connection on Linux]({{site.baseurl}}/docs/testing-the-odbc-connection/#testing-the-odbc-connection-on-linux)
@@ -11,23 +115,20 @@ The procedure for testing the ODBC connection differs depending on your platform
 
 ## Testing the ODBC Connection on Linux
 
-To test the ODBC connection on Linux use the test utilities in the `samples` directory of the driver manager installation: `iodbctest` and `iodbctestw`. Use `iodbctest` to
-test how your driver works with an ANSI application. Use `iodbctestw` to test
-how your driver works with a Unicode application.
+To test the ODBC connection on Linux use the test utilities in the `samples` directory of the driver manager installation: `iodbctest` and `iodbctestw`. Use `iodbctest` to test how your driver works with an ANSI application. Use `iodbctestw` to test how your driver works with a Unicode application.
 
 There are 32-bit and 64-bit installations of the iODBC driver manager available. If you have only one or the other installed, then the appropriate version of iodbctest (or iodbctestw) is available. However, if you have both 32- and 64-bit versions installed, then you need to be careful that you are running the version from the correct installation directory.
 
-Visit [http://www.iodbc.org](http://www.iodbc.org/) for further details on
-using the iODBC driver manager.
+See [http://www.iodbc.org](http://www.iodbc.org/) for further details on using the iODBC driver manager.
 
 ### Example of a Test on Linux
 
 To test the ODBC connection on a Linux cluster, follow these steps:
 
-1. [Start Drill]({{site.baseurl}}/docs/starting-drill-on-linux-and-mac-os-x/). For example, to start Drill in local mode on a linux cluster:  
+1. [Start Drill]({{site.baseurl}}/docs/starting-drill-on-linux-and-mac-os-x/). For example, to start Drill in local mode on a Linux cluster:  
 
-        [root@centos23 drill-1.2.0]# bin/drill-localhost
-        apache drill 1.2.0 
+        [root@centos23 drill-1.10.0]# bin/drill-localhost
+        apache drill 1.10.0 
         "the only truly happy people are children, the creative minority and drill users"
 
 2. In the `samples` directory of the driver manager installation, run `iodbctest` or `iodbctestw`.  
@@ -36,66 +137,84 @@ To test the ODBC connection on a Linux cluster, follow these steps:
           iODBC Demonstration program
         This program shows an interactive SQL processor
         Driver Manager: 03.52.0709.0909
+   
    The prompt for an ODBC connection string appears.  
 
         Enter ODBC connect string (? shows list): ?
 
-3. Type ? to see the DSN name.  
-   Output is:
+3. Type `?` to see the DSN name.  The output is:
 
-        DSN                              | Driver                                  
+        DSN                                          | Driver                                  
         ------------------------------------------------------------------------------
-        Sample MapR Drill DSN 64         | MapR Drill ODBC Driver 64-bit           
+        Sample MapR Drill (64-bit)                   | MapR Drill ODBC Driver 64-bit           
         Enter ODBC connect string (? shows list):
 
-4. If you are connecting directly to a Drillbit, type an ODBC connection string using the following format:
+4. To test the connection if the DSN was previously configured in the `.odbc.ini`, type the following connection string:  
+ 
+        DSN=<DSN name>
 
-        DSN=<DSN name>;ConnectionType=Direct;Host=<Host Name>;Port=<Port Number>
+      However, if you are connecting directly to a Drillbit and the DSN was not previously configured in the .odbc.ini, type an ODBC connection string using the following format:
+
+        DSN=<DSN name>;
+		ConnectionType=Direct;
+		Host=<Host Name>;Port=<Port Number>
      
      OR
      
      If you are connecting to a ZooKeeper cluster, type an ODBC connection string using the following format:
 
-        DSN=<DSN Name>;ConnectionType=ZooKeeper;ZKQuorum=<Server1:Port1>,<Server2:Port2>;ZKClusterID=<Cluster Name>`
+        DSN=<DSN Name>;
+		ConnectionType=ZooKeeper;
+		ZKQuorum=<Server1:Port1>,<Server2:Port2>;
+		ZKClusterID=<Cluster Name>
 
      The output of a successful test is:  
-     `Driver: 1.2.0.1001 (MapR Drill ODBC Driver)  
-     SQL> `  
-     After the `SQL>` prompt appears, type `quit;`, and go to the Drill shell to run commands. Do not attempt to run SQL commands from this prompt.
 
-### Example Connection Strings
+     `Driver: 1.3.8.<version> (MapR Drill ODBC Driver)  
+     SQL> `  
+     
+     After the `SQL>` prompt appears, type `quit;`.
+     Go to the Drill shell to run commands. Do not attempt to run SQL commands from this prompt.
 
-The following example shows a connection string for a direct connection:
+This example shows a connection string for a direct connection:
 
-        DSN=Sample MapR Drill DSN 64;ConnectionType=Direct;Host=localhost;Port=31010
+        DSN=Sample MapR Drill 64-bit;
+		ConnectionType=Direct;
+		Host=localhost;Port=31010
 
-The following example shows a connection string for a ZooKeeper cluster connection:
+This example shows a connection string for a ZooKeeper cluster connection:
 
-        DSN=Sample MapR Drill DSN 64;ConnectionType=ZooKeeper;ZKQuorum=centos23.lab:5181;ZKClusterID=docs41cluster-drillbits
+        DSN=Sample MapR Drill 64-bit 64;
+		ConnectionType=ZooKeeper;
+		ZKQuorum=centos23.lab:5181;
+		ZKClusterID=docs60cluster-drillbits
 
 ## Testing the ODBC Connection on Mac OS X
 
 To test the ODBC connection on Mac OS X, follow these steps.
 
-1. [Start Drill]({{site.baseurl}}/docs/starting-drill-on-linux-and-mac-os-x/).  
+1. [Start Drill]({{site.baseurl}}/docs/starting-drill-on-linux-and-mac-os-x/). 
+ 
 2. Start the iODBC Administrator.app in `/Applications`.  
    The iODBC Data Source Administrator dialog appears. 
-3. On the User DSN tab, select the MapR Drill.  
-   ![]({{ site.baseurl }}/docs/img/odbc_data_source_names.png)  
+
+3. On the User DSN tab, select **MapR Drill**.  
+   ![]({{ site.baseurl }}/docs/img/odbc_data_source_names.png) 
+
 4. Click **Test**.  
-   The Login for Sample MapR Drill dialog appears.  
+   The Login for the MapR Drill dialog appears.  
    ![]({{ site.baseurl }}/docs/img/odbc_login.png)  
-5. If you configured Basic Authentication in the `.odbc.ini`, enter the user name and password you also configured; otherwise, click **OK**.  
-   The success message appears.  
-   ![]({{ site.baseurl }}/docs/img/success.png)  
+
+5. If you configured Plain (or Basic) authentication in the `.odbc.ini`, enter the user name and password you also configured; otherwise, click **OK**.  The success message displays.  
+   ![]({{ site.baseurl }}/docs/img/success.png)
    
 ## Testing the ODBC Connection on Windows
 
 To test the ODBC connection on Windows, follow these steps:
 
-1. Follow instructions to configure the ODBC connection on Windows.  
+1. Follow instructions to configure the ODBC connection on Windows. 
    The MapR Drill ODBC Driver DSN Setup dialog is displayed.
    ![]({{ site.baseurl }}/docs/img/odbc-configure2.png)
 
-2. Click the Test Button.
-   ![]({{ site.baseurl }}/docs/img/odbc-test.png)
+2. Click **Test**. A Test Results popup will display that states you have successfully connected to the data source. 
+

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/010-installing-the-driver-on-linux.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/010-installing-the-driver-on-linux.md b/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/010-installing-the-driver-on-linux.md
index 8839d59..0771466 100644
--- a/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/010-installing-the-driver-on-linux.md
+++ b/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/010-installing-the-driver-on-linux.md
@@ -1,6 +1,6 @@
 ---
 title: "Installing the Driver on Linux"
-date: 2016-12-24 00:01:40 UTC
+date: 2017-05-30 23:11:54 UTC
 parent: "Installing the ODBC Driver"
 ---
 Install the MapR Drill ODBC Driver on the machine from which you connect to
@@ -20,13 +20,13 @@ Verify that your system meets the system requirements before you start.
 ## System Requirements
 
   * One of the following distributions (32- and 64-bit editions are supported):
-    * Red Hat® Enterprise Linux® (RHEL) 5.0/6.0
-    * CentOS 5.0/6.0
-    * SUSE Linux Enterprise Server (SLES) 11
+    * Red Hat® Enterprise Linux® (RHEL) 5, 6, or 7
+    * CentOS 5, 6, or 7
+    * SUSE Linux Enterprise Server (SLES) 11 or 12
   * 90 MB of available disk space.
   * An installed ODBC driver manager:
     * iODBC 3.52.7 or above  
-      OR 
+      or 
     * unixODBC 2.2.14 or above  
     On Linux, 3.52.7 is available as a tarball. After unpacking the tarball, see the README for instructions about building the driver manager.
   * The client must be able to resolve the actual host name of the Drill node or nodes from the IP address. Verify that a DNS entry was created on the client machine for the Drill node or nodes.   
@@ -35,31 +35,23 @@ If not, create an entry in `/etc/hosts` for each node in the following format:
     `<drill-machine-IP> <drill-machine-hostname>`  
     Example: `127.0.0.1 localhost`
 
-To install the driver, you need Administrator privileges on the computer.
+To install the driver, you need Administrator privileges on the computer. 
 
 ## Step 1: Download the MapR Drill ODBC Driver
-Download either the 32 or 64-bit driver:
-
-  * [MapR Drill ODBC Driver (32-bit)](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/MapRDrill_odbc_v1.3.0.1009/maprdrill-1.3.0.1009-1.i686.rpm)
-  * [MapR Drill ODBC Driver (64-bit)](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/MapRDrill_odbc_v1.3.0.1009/maprdrill-1.3.0.1009-1.x86_64.rpm)
+Download the driver from the [download site](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/). The current version is 1.3.8.
 
 ## Step 2: Install the MapR Drill ODBC Driver
 
 To install the driver, complete the following steps:
 
   1. Login as the root user.
-  2. Navigate to the folder that contains the driver RPM packages to install.
+  2. Navigate to the directory that contains the driver RPM packages to install.
   3. Enter the following command where _RPMFileName_ is the file name of the RPM package containing the version of the driver that you want to install:  
      * RedHat/CentOS  
      `yum localinstall --nogpgcheck <RPMFileName>`
      * SUSE  
      `zypper install RPMFileName`
 
-The MapR Drill ODBC Driver depends on the following resources:
-
-  * `cyrus-sasl-2.1.22-7` or above
-  * `cyrus-sasl-gssapi-2.1.22-7` or above
-  * `cyrus-sasl-plain-2.1.22-7` or above
 
 The MapR Drill ODBC Driver typically resolves dependencies automatically. If not, error messages during the installation indicate that the package manager in your Linux distribution cannot resolve the
 dependencies automatically. In this case, manually install the packages.
@@ -69,23 +61,22 @@ locations and descriptions:
 
 File| Description  
 ---|---  
-`/opt/mapr/drillodbc/ErrorMessages `| Error messages files directory.  
-`/opt/mapr/drillodbc/Setup`| Sample configuration files directory.  
-`/opt/mapr/drillodbc/lib/32 `| 32-bit shared libraries directory.  
-`/opt/mapr/drillodbc/lib/64`| 64-bit shared libraries directory.  
+`/opt/mapr/drill/ErrorMessages `| Error messages files directory.  
+`/opt/mapr/drill/Setup`| Sample configuration files directory.  
+`/opt/mapr/drill/lib/32 `| 32-bit shared libraries directory (will be created if you install the 32-bit driver).  
+`/opt/mapr/drill/lib/64`| 64-bit shared libraries directory (will be created if you install the 64-bit driver)..  
   
 ## Step 3: Check the MapR Drill ODBC Driver version
 
 To check the version of the driver you installed, use the following case-sensitive command on the terminal command line:
 
-`yum list | grep MapRDrillODBC`
+`yum list | grep MapRDrill`
 
 or
 
-`rpm -qa | grep MapRDrillodbc`
+`rpm -qa | grep MapRDrill`
 
 
 ### Next Step
 
-[Configuring ODBC on Linux]({{ site.baseurl }}/docs/configuring-odbc-on-linux/).
-
+[Configuring ODBC on Linux]({{ site.baseurl }}/docs/configuring-odbc-on-linux/).
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/020-installing-the-driver-on-mac-os-x.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/020-installing-the-driver-on-mac-os-x.md b/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/020-installing-the-driver-on-mac-os-x.md
index 74a0eac..a1af4cd 100644
--- a/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/020-installing-the-driver-on-mac-os-x.md
+++ b/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/020-installing-the-driver-on-mac-os-x.md
@@ -1,6 +1,6 @@
 ---
 title: "Installing the Driver on Mac OS X"
-date: 2017-05-23 23:46:31 UTC
+date: 2017-05-30 23:11:54 UTC
 parent: "Installing the ODBC Driver"
 ---
 Install the MapR Drill ODBC Driver on the machine from which you connect to
@@ -15,7 +15,7 @@ Install the MapR Drill ODBC Driver on a system that meets the [system requiremen
 ## System Requirements  
 To install the driver, you need Administrator privileges on the computer.
 
-  * Mac OS X version 10.8.0 or later  
+  * Mac OS X version 10.9, 10.10, or 10.11  
   * 100 MB of available disk space  
   * iODBC 3.52.7 or later  
     The iodbc-config file in the `/usr/local/iODBC/bin` includes the version of the driver.  
@@ -25,15 +25,19 @@ If not, create an entry in `/etc/hosts` for each node in the following format:
     `<drill-machine-IP> <drill-machine-hostname>`  
     Example: `127.0.0.1 localhost`
 
+----------
+
+## Step 1: Download the MapR Drill ODBC Driver
 
 
 ----------
+Note: The most current (version 1.3.8)  MapR Drill ODBC driver for Mac might not be available yet. 
+----------
 
-## Step 1: Download the MapR Drill ODBC Driver
 
-Click the following link to download the driver:  
+Click the following link to download the latest version (1.3.8) of the driver, which supports both 32- and 64-bit client applications:  
 
-[MapR Drill ODBC Driver for Mac](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/MapRDrill_odbc_v1.3.0.1009/MapR_Drill_1.3.dmg)
+[MapR Drill ODBC Driver for Mac](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/)
 
 ----------
 
@@ -41,7 +45,7 @@ Click the following link to download the driver:
 
 To install the driver, complete the following steps:
 
-  1. Double-click `MapR_Drill_1.3.dmg` to mount the disk image.
+  1. Double-click `MapR Drill 1.3.dmg` to mount the disk image.
   2. Double-click `MapRDrillODBC.pkg` to run the Installer.
   3. Follow the instructions in the Installer to complete the installation process.
   4. When the installation completes, click **Close.**
@@ -59,7 +63,7 @@ To check the version of the driver you installed, use the following command on t
     $ pkgutil --pkg-info mapr.drillodbc  
 
     package-id: mapr.drillodbc
-    version: 1.3.0 (You may see 3.52.12.)
+    version: 1.3.8 (You may see 3.52.12.)
     volume: /
     location: 
     install-time: 1433465518  
@@ -67,6 +71,8 @@ To display information about the iODBC driver manager installed on the machine,
 
     /usr/local/iODBC/bin/iodbc-config
 
+
 ### Next Step
 
 [Configuring ODBC on Mac OS X]({{ site.baseurl }}/docs/configuring-odbc-on-mac-os-x/).
+

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/030-installing-the-driver-on-windows.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/030-installing-the-driver-on-windows.md b/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/030-installing-the-driver-on-windows.md
index 26c000e..dfeeb65 100644
--- a/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/030-installing-the-driver-on-windows.md
+++ b/_docs/odbc-jdbc-interfaces/installing-the-odbc-driver/030-installing-the-driver-on-windows.md
@@ -1,11 +1,14 @@
 ---
 title: "Installing the Driver on Windows"
-date: 2017-02-24 20:28:56 UTC
+date: 2017-05-30 23:11:55 UTC
 parent: "Installing the ODBC Driver"
 ---
 The MapR Drill ODBC Driver installer is available for 32- and 64-bit
-applications on Windows. Both versions of the driver can be installed on a 64-bit
-machine. 
+applications on Windows®. On 64-bit Windows operating systems, you can execute both 32- and 64-bit applications. However, 64-bit applications must use 64-bit drivers, and 32-bit applications must use 32-bit drivers. Make sure that you use the driver version that matches the bitness of the client application machine. 
+					
+  * MapR Drill 1.3 32-bit.msi for 32-bit applications
+  * MapR Drill 1.3 64-bit.msi for 64-bit applications
+
 
 Install the MapR Drill ODBC Driver on a system that meets the system requirements. 
 
@@ -14,12 +17,13 @@ Install the MapR Drill ODBC Driver on a system that meets the system requirement
 Each computer where you install the driver must meet the following system
 requirements:
 
-  * The 64-bit editions of the following operating systems are supported:
-    * Windows® 8 and 8.1
-    * Windows® 7 Professional
-    * Windows® Server 2008, 2013 R2
+  * One of the following operating systems are supported:
+    * Windows Vista, 7, 8, or 10
+    * Windows Server 2008 or later
+  * 75 MB of available disk space
   * .NET Framework 4.5, installed and enabled by default on Windows 8 and later
-  * 60 MB of available disk space
+  * Visual C++ Redistributable for Visual Studio 2013 installed (with the same bitness as the driver that you are installing)
+ 
   * The client must be able to resolve the actual host name of the Drill node or nodes from the IP address. Verify that a DNS entry was created on the client machine for the Drill node or nodes.   
 If not, create an entry in `\Windows\system32\drivers\etc\hosts` for each node in the following format:  
 
@@ -34,10 +38,10 @@ To install the driver, you need Administrator privileges on the computer.
 
 ## Step 1: Download the MapR Drill ODBC Driver
 
-Download the installer that corresponds to the bitness of the client application from which you want to create an ODBC connection:
+Download the installer that corresponds to the bitness of the client application from which you want to create an ODBC connection. Version 1.3.8 is the current version.
 
-* [MapR Drill ODBC Driver (32-bit)](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/MapRDrill_odbc_v1.3.0.1009/MapR_Drill_1.3_32-bit.msi)  
-* [MapR Drill ODBC Driver (64-bit)](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/MapRDrill_odbc_v1.3.0.1009/MapR_Drill_1.3_64-bit.msi)
+* [MapR Drill ODBC Driver (32-bit)](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/)  
+* [MapR Drill ODBC Driver (64-bit)](http://package.mapr.com/tools/MapR-ODBC/MapR_Drill/)
 
 ----------
 
@@ -54,20 +58,18 @@ Download the installer that corresponds to the bitness of the client application
 
 ## Step 3: Verify the installation
 
-To verify the installation, perform the following steps:
+To verify the installation on Windows 10, perform the following steps:
 
-1. Click **Start**, and locate the ODBC Administrator app that you just installed.  
-   Installing the ODBC Administrator installs Drill Explorer and the Tableau TDC file. For example, on Windows 8.1 in Apps, several apps appear under MaprDrill ODBC Driver 1.0:
-   ![]({{ site.baseurl }}/docs/img/odbc-mapr-drill-apps.png)
+1. Go to **Settings** and enter **odbc**. Select ***Setup ODBC data sources <version>***.
 
-2. Click the ODBC Administrator app icon.
-   The ODBC Data Source Administrator dialog appears.
+2. The ODBC Data Source Administrator <version> dialog appears. Click the **System DSN** to view 
+   the MapR Drill data source. 
    ![]({{ site.baseurl }}/docs/img/odbc-user-dsn.png)
+
 3. Click the **Drivers** tab and verify that the MapR Drill ODBC Driver appears in the list of drivers that are installed on the computer.
    ![]({{ site.baseurl }}/docs/img/odbc-drivers.png)
 
 You need to configure and start Drill before [testing]({{site.baseurl}}/docs/testing-the-odbc-connection/) the ODBC Data Source Administrator.
 
-
 ### Next Step 
 [Configuring ODBC on Windows]({{ site.baseurl }}/docs/configuring-odbc-on-windows).

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/using-drill-explorer/020-connecting-drill-explorer-to-data.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/using-drill-explorer/020-connecting-drill-explorer-to-data.md b/_docs/odbc-jdbc-interfaces/using-drill-explorer/020-connecting-drill-explorer-to-data.md
index 2461a87..93a35c6 100644
--- a/_docs/odbc-jdbc-interfaces/using-drill-explorer/020-connecting-drill-explorer-to-data.md
+++ b/_docs/odbc-jdbc-interfaces/using-drill-explorer/020-connecting-drill-explorer-to-data.md
@@ -1,6 +1,6 @@
 ---
 title: "Connecting Drill Explorer to Data"
-date:  
+date: 2017-05-30 23:11:55 UTC
 parent: "Using Drill Explorer"
 ---
 The way you start Drill Explorer differs depending on your platform, but regardless of the platform, Drill must be running. 
@@ -12,43 +12,47 @@ You need an X-11 XDisplay to use Drill Explorer on Linux. Run the DrillExplorer
 ## Connecting Drill Explorer to Data on Mac OS X
 
 1. On a node that is running Drill, run Drill Explorer.  The Drill Explorer app is located in the `/Applications` directory.  
-   The Drill Explorer console appears.  
+   The Drill Explorer console appears. 
+ 
 2. Click **Connect** on the console.  
    The Drill Explorer dialog appears.  
    ![sample mapr drill dsn]({{ site.baseurl }}/docs/img/explorer-connect.png)
+
 3. If you connect through a DSN, on the ODBC DSN tab, select the name of the DSN you configured. For example, select Sample MapR Drill DSN.  
    Alternatively, if you use a DSN-less connection, on the Advanced tab, type a connection string in the text box. For example, type the following connection string:  
          DRIVER=MapR Drill ODBC Driver;AdvancedProperties={HandshakeTimeout=0;QueryTimeout=0;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys, INFORMATION_SCHEMA;};Catalog=DRILL;Schema=;ConnectionType=ZooKeeper;ZKQuorum=192.168.39.43:5181;ZKClusterID=drillbits1
-5. If you set the [AuthenticationType property]({{ site.baseurl }}/docs/odbc-configuration-reference/#configuration-options) to Basic Authentication, which enables impersonation, respond to the prompt for a user name and password.
+5. If you set the [AuthenticationType property]({{ site.baseurl }}/docs/odbc-configuration-reference/#configuration-options) to Plain or Basic Authentication, which enables impersonation, respond to the prompt for a user name and password.
 4. Click **Connect** in the dialog.  
    In the Schemas panel, the [schema]({{ site.baseurl }}/docs/odbc-configuration-reference/#schema) for the connected data source appear. For example, the default schema is `dfs`, which points to the local file system on your machine.  
    ![explorer schemas]({{ site.baseurl }}/docs/img/explorer-schemas.png) 
 
 ## Starting Drill Explorer on Windows
 
-You can start Drill Explorer from Apps or from the ODBC Administrator.
+In Windows 10, you can start Drill Explorer from the Start menu or from the ODBC Data Source Administrator.
 
-To start Drill Explorer from Apps:
+To start Drill Explorer from the Start menu:
 
-1. Click **Start**, and locate the MaprR Drill ODBC Driver 1.0 app group in Apps.
-   The MapR Drill ODBC Driver 1.0 group includes Drill Explorer.
-   ![]({{ site.baseurl }}/docs/img/odbc-user-dsn.png)
+1. Click **Start**, and locate MaprR Drill ODBC Driver <*version*>. 
+   
+   ![]({{ site.baseurl }}/docs/img/winstart.png)
 
 2. Click **Drill Explorer**.
-   The ODBC Connection dialog appears.
-3. Select the DSN that you want to explore. For example, select the sample MapR ODBC Driver for Drill DSN.
-   ![]({{ site.baseurl }}/docs/img/odbc-explorer-connect.png)
-   Drill Explorer appears.
+   
    ![]({{ site.baseurl }}/docs/img/odbc-explorer-win.png)
 
-To start Drill Explorer from the ODBC Administrator:
+3. Select the DSN that you want to explore. For example, select MapR Drill and click Connect.
+   
+To start Drill Explorer from the ODBC Administrator in Windows 10:
 
-1. In ODBC Administrator, on the **System DSN** tab in System Data Sources, a DSN. For example, select the sample MapR ODBC Driver for Drill DSN.  
+1. In the Settings field, enter **odbc**. Select a version and the ODBC Data Source Administrator <version> appears. 
+   
    ![]({{ site.baseurl }}/docs/img/odbc-configure1.png)
-   Alternatively, if you set up a user DSN, select **User DSN**, and select a DSN.
-3. Click **Configure**.  
-   The DSN Setup dialog appears showing the configured properties.  
+   
+3. Click **System DSN**. Select MapR Drill and click Connect. 
+   The DSN Setup dialog appears showing the properties.  
+   
    ![]({{ site.baseurl }}/docs/img/odbc-configure2.png)
+
 4. Click **Drill Explorer** at the bottom of the dialog.
    Drill Explorer appears.
 


[2/2] drill git commit: Updated docs from Catherine Skrbina for latest ODBC driver

Posted by br...@apache.org.
Updated docs from Catherine Skrbina for latest ODBC driver


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

Branch: refs/heads/gh-pages
Commit: ee71b646e87ef1c297be08b79e9955775d0ab6ef
Parents: e8bbb9d
Author: Bridget Bevens <bb...@maprtech.com>
Authored: Tue May 30 16:11:45 2017 -0700
Committer: Bridget Bevens <bb...@maprtech.com>
Committed: Tue May 30 16:11:45 2017 -0700

----------------------------------------------------------------------
 _docs/img/odbc-configure1.png                   | Bin 43220 -> 65848 bytes
 _docs/img/odbc-configure2.png                   | Bin 56060 -> 93811 bytes
 _docs/img/odbc-drivers.png                      | Bin 49123 -> 21466 bytes
 _docs/img/odbc-explorer-connect.png             | Bin 10233 -> 4738 bytes
 _docs/img/odbc-explorer-win.png                 | Bin 24127 -> 24696 bytes
 _docs/img/odbc-user-dsn.png                     | Bin 36866 -> 19725 bytes
 _docs/img/winsettings.png                       | Bin 0 -> 65849 bytes
 _docs/img/winstart.png                          | Bin 0 -> 53392 bytes
 .../010-odbc-configuration-reference.md         | 121 +++++++-----
 .../020-configuring-odbc-on-linux.md            | 132 ++++++++-----
 .../025-configuring-odbc-on-mac-os-x.md         |  82 +++++---
 .../030-configuring-odbc-on-windows.md          |  31 +--
 .../040-testing-the-odbc-connection.md          | 187 +++++++++++++++----
 .../010-installing-the-driver-on-linux.md       |  39 ++--
 .../020-installing-the-driver-on-mac-os-x.md    |  20 +-
 .../030-installing-the-driver-on-windows.md     |  38 ++--
 .../020-connecting-drill-explorer-to-data.md    |  38 ++--
 17 files changed, 449 insertions(+), 239 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/odbc-configure1.png
----------------------------------------------------------------------
diff --git a/_docs/img/odbc-configure1.png b/_docs/img/odbc-configure1.png
index 28717bd..26e6d39 100755
Binary files a/_docs/img/odbc-configure1.png and b/_docs/img/odbc-configure1.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/odbc-configure2.png
----------------------------------------------------------------------
diff --git a/_docs/img/odbc-configure2.png b/_docs/img/odbc-configure2.png
index af79337..e1774c6 100755
Binary files a/_docs/img/odbc-configure2.png and b/_docs/img/odbc-configure2.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/odbc-drivers.png
----------------------------------------------------------------------
diff --git a/_docs/img/odbc-drivers.png b/_docs/img/odbc-drivers.png
index 23b9c39..1578c2b 100755
Binary files a/_docs/img/odbc-drivers.png and b/_docs/img/odbc-drivers.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/odbc-explorer-connect.png
----------------------------------------------------------------------
diff --git a/_docs/img/odbc-explorer-connect.png b/_docs/img/odbc-explorer-connect.png
index 960e963..d07bbd5 100644
Binary files a/_docs/img/odbc-explorer-connect.png and b/_docs/img/odbc-explorer-connect.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/odbc-explorer-win.png
----------------------------------------------------------------------
diff --git a/_docs/img/odbc-explorer-win.png b/_docs/img/odbc-explorer-win.png
index 04bda8a..ae2d06b 100644
Binary files a/_docs/img/odbc-explorer-win.png and b/_docs/img/odbc-explorer-win.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/odbc-user-dsn.png
----------------------------------------------------------------------
diff --git a/_docs/img/odbc-user-dsn.png b/_docs/img/odbc-user-dsn.png
index f957607..1290a2d 100755
Binary files a/_docs/img/odbc-user-dsn.png and b/_docs/img/odbc-user-dsn.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/winsettings.png
----------------------------------------------------------------------
diff --git a/_docs/img/winsettings.png b/_docs/img/winsettings.png
new file mode 100644
index 0000000..39be084
Binary files /dev/null and b/_docs/img/winsettings.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/img/winstart.png
----------------------------------------------------------------------
diff --git a/_docs/img/winstart.png b/_docs/img/winstart.png
new file mode 100644
index 0000000..14f9361
Binary files /dev/null and b/_docs/img/winstart.png differ

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/configuring-odbc/010-odbc-configuration-reference.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/configuring-odbc/010-odbc-configuration-reference.md b/_docs/odbc-jdbc-interfaces/configuring-odbc/010-odbc-configuration-reference.md
index c7e2f32..9018f66 100644
--- a/_docs/odbc-jdbc-interfaces/configuring-odbc/010-odbc-configuration-reference.md
+++ b/_docs/odbc-jdbc-interfaces/configuring-odbc/010-odbc-configuration-reference.md
@@ -1,9 +1,8 @@
 ---
 title: "ODBC Configuration Reference"
-date: 2016-12-24 00:32:37 UTC
+date: 2017-05-30 23:11:51 UTC
 parent: "Configuring ODBC"
 ---
-
 You can use various configuration options to control the behavior of the MapR
 Drill ODBC Driver. You can use these options in a connection string or in the
 `odbc.ini` configuration file for the Mac OS X version or the driver.
@@ -14,27 +13,32 @@ Drill ODBC Driver. You can use these options in a connection string or in the
 
 The following table provides a list of the configuration options and a brief description. Subsequent sections describe options in more detail:  
 
-| Property           | Valid Values                                | Brief Description                                                                                                                                                             |
-|--------------------|---------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| Catalog            | DRILL                                       | The   name of the synthetic catalog under which all of the schemas/databases are   organized.                                                                                 |
-| ConnectionType     | Direct   or ZooKeeper                       | Direct   connects to a Drill server using Host and Port properties. ZooKeeper connects   to a ZooKeeper cluster using ZKQuorum and ZKClusterID properties.                    |
-| Driver             | MapR   Drill ODBC Driver                    | The   name of the installed driver.                                                                                                                                           |
-| Host               | `<host   name>`                               | If   the ConnectionType property is set to Direct, set the host name of the Drill   server using the Host property.                                                           |
-| Port               | 31010                                       | If   the ConnectionType property is set to Direct, set the e TCP port on which the   Drill server is listening.                                                               |
-| Schema             | `<schema   name>`                             | The   name of the database schema or storage plugin name to use when the query does   not explicitly specify the schema or storage plugin.                                    |
-| ZKClusterID        | drillbits1                                  | If   the ConnectionType property is set to ZooKeeper, then set ZKClusterID to the   name of the Drillbit cluster to use.                                                      |
-| ZKQuorum           | `<IP   address>`,`<IP address>` . . .           | If   the ConnectionType property is set to ZooKeeper, then use ZKQuorum to   indicate the server(s) in your ZooKeeper cluster. Separate multiple servers   using a comma (,). |
-| AuthenticationType | No   Authentication or Basic Authentication | Basic Authentication   [enables impersonation](https://drill.apache.org/docs/configuring-user-impersonation/).                                                                                                                                 |
-| UID                | `<user   name>`                               | If   AuthenticationType is Basic Authentication, set the UID to a user name.                                                                                                  |
-| PWD                | `<password>`                                  | If   AuthenticationType is Basic Authentication, set the PWD to a password.                                                                                                   |
-| DelegationUID      | `<impersonation_target>`                      | The impersonation target for the   authorized proxy user. See [Configuring Inbound Impersonation](https://drill.apache.org/docs/configuring-inbound-impersonation/).                                                                              |
-| AdvancedProperties | {`<property>`;`<property>`;   . . .}            | Separate   advanced properties using a semi-colon (;) and then surround all advanced   properties in a connection string using braces { and }.                                |
-| DisableAsync       | 0   or 1                                    | Disables   asynchronous ODBC connection and enables a synchronous connection. A change   in state occurs during driver initialization and is propagated to all driver   DSNs. |  
+| Property                      | Default Values                                                                                                                                                   | Brief Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
+|-------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| AdvancedProperties            | CastAnyToVarchar=true;  HandshakeTimeout=5; QueryTimeout=180;TimestampTZDisplayTimezone=local; ExcludedSchemas=sys,INFORMATION_SCHEMA; NumberOfPrefetchBuffers=5 | Not required. Advanced properties for configuring the driver. You can set custom connection properties by specifying them as advanced properties. If you specify a property that the driver does not explicitly support, the driver still accepts the property, and passes it to the server for processing.  Separate advanced properties using a semi-colon (;) and then surround all advanced properties in a connection string using braces { and }. For example,  {<property>;<property>; . . .}  In addition, the following Advanced Properties string excludes the schemas named test and abc, sets the timeout to 30 seconds, and sets the time zone to Coordinated Universal Time: HandshakeTimeout=30;QueryTimeout=30;TimestampTZDisplayTimezone=utc;ExcludedSchemas=test,abc |
+| AuthenticationType            | No Authentication                                                                                                                                                | Not required.  This option specifies how the driver authenticates the connection to Drill. No Authentication: The driver does not authenticate the connection to Drill. Kerberos: The driver authenticates the connection using the Kerberos protocol. Plain: The driver authenticates the connection using a user name and apassword. MapRSASL: The driver authenticates the connection using the MapR-SASL protocol.                                                                                                                                                                                                                                                                                                                                                                 |
+| Catalog                       | The default catalog name specified in the driver's .did file (typically, DRILL).                                                                                 | Not required. The name of the synthetic catalog under which all of the schemas/databases are organized. This catalog name is used as the value for SQL_DATABASE_NAME or CURRENT CATALOG.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| ConnectionType                | Direct to Drillbit (Direct)                                                                                                                                      | Required. This option specifies whether the driver connects to a single server or a ZooKeeper cluster. Direct to Drillbit (Direct): The driver connects to a single Drill server. ZooKeeper Quorum (ZooKeeper): The driver connects to a ZooKeeper cluster.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+| DelegationUID                 | none                                                                                                                                                             | Not required. If a value is specified for this setting, the driver delegates all operations against Drill to the specified user, rather than to the authenticated user for the connection. This option is applicable only when Plain authentication is enabled.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| DisableAsync                  | Clear (0)                                                                                                                                                        | Not required. This option specifies whether the driver supports asynchronous queries. Enabled (1): The driver does not support asynchronous queries. Disabled (0): The driver supports asynchronous queries. This option is not supported in connection strings or DSNs. Instead, it must be set as a driver-wide property in the mapr.drillodbc.ini file. Settings in that file apply to all connections that use the driver.                                                                                                                                                                                                                                                                                                                                                         |
+| Driver                        | MapR Drill ODBC Driver on Windows machines or the absolute path of the driver shared object file when installed on a non-Windows machine                         | On Windows, the name of the installed driver (MapR Drill ODBC Driver). On other platforms, the name of the installed driver as specified in odbcinst.ini, or the absolute path of the driver shared object file.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| Host                          | localhost                                                                                                                                                        | Required if the ConnectionType property is set to Direct to Drillbit. The IP address or host name of the Drill server.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
+| KrbServiceHost                | none                                                                                                                                                             | Required for Kerberos authentication. The fully qualified domain name of the Drill server host.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| KrbServiceName                | mapr (default)                                                                                                                                                   | Required for Kerberos authentication. The Kerberos service principal name of the Drill server. mapr is the default for the MapR Drill ODBC driver.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
+| LogLevel                      | OFF (0)                                                                                                                                                          | Not required. Use this property to enable or disable logging in the driver and to specify the amount of detail included in log files. Only enable logging long enough to capture an issue. Logging decreases performance and can consume a large quantity of disk space. This option is not supported in connection strings. To configure logging for the Windows driver, you must use the Logging Options dialog box. To configure logging for a non-Windows driver, you must use the mapr.drillodbc.ini file.                                                                                                                                                                                                                                                                        |
+| LogPath                       | none                                                                                                                                                             | Required if logging is enabled. The full path to the folder where the driver saves log files when logging is enabled. When logging is enabled, the driver produces two log files at the location that youspecify in the LogPath property:  driver.log provides a log of driver activities, and  drillclient.log provides a log of Drill client activities.  This option is not supported in connection strings. To configure logging for the Windows driver, you must use the Logging Options dialog box. To configure logging for a non-Windows driver, you must use the mapr.drillodbc.ini file.                                                                                                                                                                                     |
+| Port                          | 31010                                                                                                                                                            | Required if the ConnectionType property is set to Direct to Drillbit. The TCP port that the Drill server uses to listen for client connections. Set the TCP port on which the Drill server is listening.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| PWD                           | none                                                                                                                                                             | Required if AuthenticationType is Plain (also known as Basic Authentication). The password corresponding to the user name that you provided in the User field (the UID key).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| Schema                        | none                                                                                                                                                             | Not required. The name of the database schema to use when a schema is not explicitly specified in a query. You can still issue queries on other schemas by explicitly specifying the schema in the query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
+| UID                           | none                                                                                                                                                             | Required if AuthenticationType is Plain (also known as Basic authentication). Set UID to a user name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| UseOnlySSPI (on Windows only) | Clear (0)                                                                                                                                                        | Not required. This option is available only in the Windows driver. This option specifies how the driver handles Kerberos authentication: either with theSSPI plugin or with MIT Kerberos.  Enabled (1): The driver handles Kerberos authentication by using the SSPI plugin instead of MIT Kerberos by default. Disabled (0): The driver uses MIT Kerberos to handle Kerberos authentication, and only uses the SSPI plugin if the GSSAPI library is not available.                                                                                                                                                                                                                                                                                                                    |
+| ZKClusterID                   | drillbits1                                                                                                                                                       | Required if the ConnectionType property is set to ZooKeeper Quorum. Set ZKClusterID to the name of the Drillbit cluster to use.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| ZKQuorum                      | none                                                                                                                                                             | Required if the ConnectionType property is set to ZooKeeper. Set  ZKQuorum to indicate the server(s) in your ZooKeeper cluster. Separate multiple servers using a comma (,). For example, <IP address>,<IP address>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                        
                                                                                                   |
 
 
 ### Catalog
 
-This value defaults to DRILL and cannot be changed. The driver adds a synthetic catalog named DRILL under which all of the schemas and databases are organized. The driver maps the ODBC schema to the DRILL catalog.
+This value defaults to DRILL and should not be changed. The driver adds a synthetic catalog named DRILL under which all of the schemas and databases are organized. The driver maps the ODBC schema to the DRILL catalog.
 
 ### Connection Type
 
@@ -112,26 +116,35 @@ TimestampTZDisplayTimezone=utc;ExcludedSchemas=test,abc`
 The following table lists and describes the advanced properties that you can
 set when using the MapR Drill ODBC Driver.
 
-| Property Name              | Default Value           | Description                                                                                                                                                                                                |
-|----------------------------|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| HandshakeTimeout           | 5                       | An integer value representing the number of seconds that the driver waits before aborting an attempt to connect to a data source. When set to a value of 0, the driver does not abort connection attempts. |
-| QueryTimeout               | 180                     | An integer value representing the number of seconds for the driver to wait before automatically stopping a query. When set to a value of 0, the driver does not stop queries automatically.                |
-| TimestampTZDisplayTimezone | local                   | Two values are possible: local—Timestamps are dependent on the time zone of the user. utc—Timestamps appear in Coordinated Universal Time (UTC).                                                           |
-| ExcludedSchemas            | sys, INFORMATION_SCHEMA | The value of ExcludedSchemas is a list of schemas that do not appear in client applications such as Drill Explorer, Tableau, and Excel. Separate schemas in the list using a comma (,).                    |
-| CastAnyToVarchar           | true                    | Casts the ANY data type returned from SQL column calls into type “VARCHAR”.                                                                                                                                |
-| NumberOfPrefetchBuffers    | 5                       | The size of the record batch queue in the driver. When set to a value below 1, the value defaults to 1.                                                                                                    |
+| Property                   | Default Values         | Brief Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+|----------------------------|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| CastAnyToVarchar           | TRUE                   | Not required. When this property is set to true, if SQLColumns returns columns of type ANY, then the driver casts the columns to VARCHAR. When this property is set to false, the driver does not change the returned columns.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
+| ConvertToCast              | FALSE                  | Not required. When activated this enables the Cast Query Translation function. This function helps optimize your queries for Power BI.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| DefaultDecimalScale        | 10                     | The default scale for DECIMAL columns that are returned through SQLColumns. The driver uses this value only if SQLColumns does not return a scale value or a numeric precision value that the driver can use to determine the scale.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| ExcludedSchemas            | sys,INFORMATION_SCHEMA | Not required. A list of schemas that do not appear in client applications such as Drill Explorer, Tableau, and Excel. Separate schemas in the list using a comma (,).This property should not be used at the same time as IncludedSchemas. If both IncludedSchemas and ExcludedSchemas are specified, IncludedSchemas takes precedence and ExcludedSchemas is ignored.                                                                                                                                                                                                                                                                                                                       |
+| GetMetadataWithQueries     | None                   | Not required. This property specifies whether the driver uses queries or native API calls when retrieving metadata, preparing statements, or executing statements. The driver can only use native API calls if it detects that the server is running a version of Drill that supports those calls. If this property is set to True, the driver uses queries to retrieve metadata,prepare statements, and execute statements. l If this property is set to False, the driver instead uses native API calls when it is connected to a server that supports native API calls.                                                                                                                   |
+| HandshakeTimeout           | 5                      | Not required. An integer value representing the number of seconds that the driver waits before stopping an attempt to connect to a data source. If this property is set to 0, the driver does not stop connection attempts.                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| HeartBeatFreqSec           | 15                     | Not required. The number of seconds of inactivity before the Drill client sends a heartbeat to the server in order to check the status of the connection. If this property is set to 0, the Drill client does not send any heartbeats.                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
+| IncludedSchemas            | None                   | Not required. A list of schemas that appear in client applications such as Drill Explorer, Tableau, and Excel. Separate schemas in the list using a comma (,). If this option is set, then schemas that are not in this list are not queried by the driver.                                                                                                                                                                                                                                                                                                                                                                                                                                  |
+| NonZeroNameMaxLen          | FALSE                  | Not required. The MapR Drill ODBC Driver does not enforce a maximum length for schema, catalog, table, and column names. By default, the driver reports these lengths as 0, which typically indicates that there is no maximum length. However, some BI tools interpret a length of 0 literally. To make sure that the names are displayed correctly in your BI tool,set the NonZeroNameMaxLen property. When this property is set to true, the driver reports an appropriate non-zero value for the maximum length of schema, catalog, table, and column names. When this property is set to false, the driver reports 0 as the maximum length of schema, catalog, table, and column names. |
+| NumberOfPrefetchBuffers    | 5                      | Not required. The size of the record batch queue in the driver. When set to a value below 1, the value defaults to 1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
+| QueryTimeout               | 180                    | Not required. The number of seconds that the driver waits before stopping a query. If this property is set to 0, the driver does not stop queries.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
+| RemoveQryCatalog           | TRUE                   | Not required. When this property is set to true, the driver removes catalog names from queries. Enable this option if you are working with a server that does not accept queries containing catalog names. When this property is set to false, the driver does not remove catalog names before executing queries.                                                                                                                                                                                                                                                                                                                                                                            |
+| SaslPluginDir              | None                   | Not required. Allows you to override the default SASL plugin directory with a custom directory path.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| StringColumnLength         | 1024                   | Not required.  The maximum column length that the driver reports for string columns.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
+| TimestampTZDisplayTimezone | local                  | Not required. Two values are possible: local and utc. When set to local, timestamps use the time zone of the user. When set to utc, timestamps appear in Coordinated Universal Time (UTC).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
 
 ### Connection String Examples
 
 If you want to connect to a Drill data source from an application that does
 not require a DSN, you can use an ODBC connection string. The following is an example connection string for the Direct connection type:  
 
-        DRIVER=MapR Drill ODBC Driver;AdvancedProperties={HandshakeTimeout=0;QueryTimeout=0;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys,INFORMATION_SCHEMA;};Catalog=DRILL;Schema=hivestg;ConnectionType=Direct;Host=192.168.202.147;Port=31010
+    DRIVER=MapR Drill ODBC Driver;AdvancedProperties={HandshakeTimeout=0;QueryTimeout=0;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys,INFORMATION_SCHEMA;};Catalog=DRILL;Schema=hivestg;ConnectionType=Direct;Host=192.168.202.147;Port=31010
 
 The following is an example connection string for the Zookeeper connection
 type:  
 
-        DRIVER=MapR Drill ODBC Driver;AdvancedProperties={HandshakeTimeout=0;QueryTimeout=0;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys, INFORMATION_SCHEMA;};Catalog=DRILL;Schema=;ConnectionType=ZooKeeper;ZKQuorum=192.168.39.43:5181;ZKClusterID=drillbits1
+    DRIVER=MapR Drill ODBC Driver;AdvancedProperties={HandshakeTimeout=0;QueryTimeout=0;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys, INFORMATION_SCHEMA;};Catalog=DRILL;Schema=;ConnectionType=ZooKeeper;ZKQuorum=192.168.39.43:5181;ZKClusterID=drillbits1
 
 ## Logging Options
 
@@ -142,44 +155,50 @@ and a log path.
 If logging is enabled, the MapR Drill ODBC driver logs events in following log
 files in the log path that you configure:
 
-* driver.log: A log of driver events
-* drillclient.log: A log of the Drill client events.
+* `driver.log` provides a log of driver events.
+* `drillclient.log` provides a log of the Drill client events.
 
 
 ### Logging Levels
 
 The following log levels are available:
 
-* OFF: Disables logging.
-* FATAL: Logs severe error events that may cause the driver to stop running.
-* ERROR: Logs error events that may allow the driver to continue running.
-* WARNING: Logs events about potentially harmful situations.
-* INFO: Logs high-level events about driver processes.
-* DEBUG: Logs detailed events that may help to debug issues.
-* TRACE: Logs finer-grained events than the DEBUG level.
+* (0) OFF: Disables logging.
+* (1) FATAL: Logs severe error events that may cause the driver to stop running.
+* (2) ERROR: Logs error events that may allow the driver to continue running.
+* (3) WARNING: Logs events about potentially harmful situations.
+* (4) INFO: Logs high-level events about driver processes.
+* (5) DEBUG: Logs detailed events that may help to debug issues.
+* (6) TRACE: Logs finer-grained events than the DEBUG level.
 
 ### Enabling Logging
 
 To enable logging:
 
-1. Open the mapr.drillodbc.ini configuration file in a text editor.  
-2. Set the LogLevel key to the desired level of information to include in log files. For
-example:  
-`LogLevel=2`
-3. Set the LogPath key to the full path to the folder where you want to save log files. For example:  
-`LogPath=/localhome/employee/Documents`
-4. Save the mapr.drillodbc.ini configuration file.  
-The Simba ODBC Driver for Apache Drill produces two log files at the location you specify using the Log Path field:  
-   * driver.log provides a log of driver activities
-   * drillclient.log provides a log of Drill client activities
+1. Open the `.mapr.drillodbc.ini` configuration file in a text editor. (On Mac OS X, the default installation will install a .mapr.drillodbc.ini to $HOME.)
+2. Set the LogLevel key to the desired level of information to include in log files. 
+For example:
+
+      `LogLevel=2`
+
+3. Set the LogPath key to the full path to the folder where you want to save log files. 
+For example:  
+
+      `LogPath=/localhome/employee/Documents`
+
+4. Save the `.mapr.drillodbc.ini` configuration file. The MapR Drill ODBC Driver produces two log files at the location you specify using the Log Path field:  
+   * `driver.log` provides a log of driver activities.
+   * `drillclient.log` provides a log of Drill client activities.
 
 ### Disabling Logging
 
 To disable logging:
 
-1. Open the mapr.drillodbc.ini configuration file in a text editor.
-2. Set the LogLevel key to 0
-3. Save the mapr.drillodbc.ini configuration file.
+1. Open the `.mapr.drillodbc.ini` configuration file in a text editor.
+2. Set the LogLevel key to zero (`0`).
+3. Save the `.mapr.drillodbc.ini` configuration file.
 
 #### What's Next? Go to [Connecting to ODBC Data Sources]({{ site.baseurl }}/docs/connecting-to-odbc-data-sources).
 
+
+

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/configuring-odbc/020-configuring-odbc-on-linux.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/configuring-odbc/020-configuring-odbc-on-linux.md b/_docs/odbc-jdbc-interfaces/configuring-odbc/020-configuring-odbc-on-linux.md
index b0c5db2..440bb70 100644
--- a/_docs/odbc-jdbc-interfaces/configuring-odbc/020-configuring-odbc-on-linux.md
+++ b/_docs/odbc-jdbc-interfaces/configuring-odbc/020-configuring-odbc-on-linux.md
@@ -1,8 +1,9 @@
 ---
 title: "Configuring ODBC on Linux"
-date: 2016-05-20 17:51:57 UTC
+date: 2017-05-30 23:11:52 UTC
 parent: "Configuring ODBC"
 ---
+
 ODBC driver managers use configuration files to define and configure ODBC data
 sources and drivers. To configure an ODBC connection for Linux, complete the following
 steps:
@@ -15,7 +16,7 @@ steps:
 ## Sample Configuration Files
 
 Before you connect to Drill through an ODBC client tool
-on Linux, copy the following configuration files in `/opt/mapr/drillodbc/Setup` to your home directory unless the files already exist in your home directory:
+on Linux, copy the following configuration files in `/opt/mapr/drill/Setup` to your home directory unless the files already exist in your home directory:
 
 * `mapr.drillodbc.ini`
 * `odbc.ini`
@@ -35,11 +36,11 @@ In your home directory, rename the files as hidden files. Use sudo if necessary:
    `export ODBCINI=~/.odbc.ini`
 2. Set the MAPRDRILLINI environment variable to point to `.mapr.drillodbc.ini` in your home directory. For example:  
    `export MAPRDRILLINI=~/.mapr.drillodbc.ini`
-3. Set the LD_LIBRARY_PATH environment variable  to point to your ODBC driver manager libraries and the MapR ODBC Driver for Apache Drill shared libraries. For example:  
-   `export LD_LIBRARY_PATH=/usr/local/lib:/opt/mapr/drillodbc/lib/64`
+3. Set the `LD_LIBRARY_PATH` environment variable  to point to your ODBC driver manager libraries. For example:  
+   `export LD_LIBRARY_PATH=/usr/local/lib`
 
 You can have both 32- and 64-bit versions of the driver installed at the same time on the same computer. 
-{% include startimportant.html %}Do not include the paths to both 32- and 64-bit shared libraries in LD_LIBRARY PATH at the same time.{% include endimportant.html %}
+{% include startimportant.html %}Do not include the paths to both 32- and 64-bit shared libraries in `LD_LIBRARY_PATH` at the same time.{% include endimportant.html %}
 Only include the path to the shared libraries corresponding to the driver matching the bitness of the client application you use to access Drill.
 
 ----------
@@ -62,51 +63,96 @@ To use Drill in distributed mode, set the following properties, described in det
     ZKQuorum=<host name>:<port>,<host name>:<port> . . . <host name>:<port>
     ZKClusterID=<cluster name in `drill-override.conf`>
 
-The following Linux sample shows a possible configuration for using Drill in distributed mode. The configuration assumes you started Drill using the `drill-conf` command. The example modifies the default Linux-installed `.odbc.ini` for a 64-bit system by commenting out 32-bit properties, adding 64-bit properties, and removes the extraneous [Sample MapR Drill DSN 64] from `.odbc.ini`.
+The following Linux sample shows a possible configuration for using Drill in distributed mode. The configuration assumes you started Drill using the `drill-conf` command. The example modifies the default Linux-installed `.odbc.ini` for a 64-bit system by commenting out 32-bit properties, adding 64-bit properties, and removes the extraneous MapR Drill 64-bit from `.odbc.ini`.
 
     [ODBC]
     Trace=no
 
     [ODBC Data Sources]
-    #Sample MapR Drill DSN 32=MapR Drill ODBC Driver 32-bit
-    Sample MapR Drill DSN 64=MapR Drill ODBC Driver 64-bit
-
-    [Sample MapR Drill DSN 64]
-    #[Sample MapR Drill DSN 32]
+    MapR Drill 32-bit=MapR Drill ODBC Driver 32-bit
+    MapR Drill 64-bit=MapR Drill ODBC Driver 64-bit
+    [MapR Drill 32-bit]
     # This key is not necessary and only describes the data source.
-    #Description=MapR Drill ODBC Driver (32-bit) DSN
-    Description=MapR Drill ODBC Driver (64-bit) DSN
-
+    
+	# Description=MapR Drill ODBC Driver (32-bit) DSN
+    Description=MapR Drill ODBC Driver (32-bit) DSN
 
     # Driver: The location where the ODBC driver is installed to.
-    #Driver=/opt/mapr/drillodbc/lib/32/libmaprdrillodbc32.so
-    Driver=/opt/mapr/drillodbc/lib/64/libmaprdrillodbc64.so
-
+    Driver=/opt/mapr/drill/lib/32/libdrillodbc_sb32.so
+    
     # The DriverUnicodeEncoding setting is only used for SimbaDM
     # When set to 1, SimbaDM runs in UTF-16 mode.
     # When set to 2, SimbaDM runs in UTF-8 mode.
-    #DriverUnicodeEncoding=2
+    # DriverUnicodeEncoding=2
 
     # Values for ConnectionType, AdvancedProperties, Catalog, Schema should be set here.
     # If ConnectionType is Direct, include Host and Port. If ConnectionType is ZooKeeper, include ZKQuorum and ZKClusterID
     # They can also be specified on the connection string.
-    # AuthenticationType: No authentication; Basic Authentication
-    ConnectionType=ZooKeeper
+    # AuthenticationType:No authentication;Plain;Kerberos
+    ConnectionType=Direct
     HOST=
     PORT=
-    ZKQuorum=centos23:5181,centos28:5181,centos29:5181
-    ZKClusterID=docs41cluster-drillbits
+    ZKQuorum=[Zookeeper Quorum]
+    ZKClusterID=[Cluster ID]]
     AuthenticationType=No Authentication
     UID=[USERNAME]
     PWD=[PASSWORD]
+    DelegationUID=
+    KrbServiceHost=mapr
+    KrbServiceName=
     AdvancedProperties=CastAnyToVarchar=true;HandshakeTimeout=5;QueryTimeout=180;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys,INFORMATION_SCHEMA;NumberOfPrefetchBuffers=5;
     Catalog=DRILL
     Schema=
 
+	[MapR Drill 64-bit]
+	# This key is not necessary and only describes the data source.
+    Description=MapR Drill ODBC Driver (64-bit) DSN
+
+    # Driver: The location where the ODBC driver is installed to.
+    Driver=/opt/mapr/drill/lib/64/libdrillodbc_sb64.so
+    
     # The DriverUnicodeEncoding setting is only used for SimbaDM
+    # When set to 1, SimbaDM runs in UTF-16 mode.
+    # When set to 2, SimbaDM runs in UTF-8 mode.
+    # DriverUnicodeEncoding=2
+
+    # Values for ConnectionType, AdvancedProperties, Catalog, Schema should be set here.
+    # If ConnectionType is Direct, include Host and Port. If ConnectionType is ZooKeeper, include ZKQuorum and ZKClusterID
+    # They can also be specified on the connection string.
+    # AuthenticationType:No authentication;Plain;Kerberos;MapRSASL
+    ConnectionType=Direct
+    HOST=
+    PORT=
+    ZKQuorum=[Zookeeper Quorum]
+    ZKClusterID=[Cluster ID]]
+    AuthenticationType=No Authentication
+    UID=[USERNAME]
+    PWD=[PASSWORD]
+    DelegationUID=
+    KrbServiceHost=mapr
+    KrbServiceName=
+    AdvancedProperties=CastAnyToVarchar=true;HandshakeTimeout=5;QueryTimeout=180;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys,INFORMATION_SCHEMA;NumberOfPrefetchBuffers=5;
+    Catalog=DRILL
+    Schema=
 
 ### Authentication Properties
-To password protect the DSN, uncomment the AuthenticationType, select Basic Authentication for the AuthenticationType, and configure UID and PWD properties.
+If the Drillbit requires authentication, uncomment the AuthenticationType, add an AuthenticationType, and configure properties. If the Drillbit does not require authentication (or to configure no password protection), you can use the No Authentication option; you do not need to configure additional settings. 
+
+
+* **MapRSASL** 
+	* The MapR login utility must be used to obtain a MapR ticket for MapR SASL authentication. 
+	* You must install and configure the MapR login utility before you can use the MapR SASL authentication mechanism. See <a href="http://maprdocs.mapr.com/home/SecurityGuide/SecurityArchitecture-AuthenticationArchitecture.html" title="MapR Login Utilty">Authentication Architecture: The maprlogin Utility</a> and <a href="http://maprdocs.mapr.com/home/SecurityGuide/Tickets.html/">Tickets</a>.
+
+	**Kerberos** 
+	*  See the <a href="http://web.mit.edu/kerberos/" title="MIT Kerberos">MIT Kerberos</a> documentation for installing and configuring a Kerberos environment, which is beyond the scope of the information provided here.
+	* To specify the Kerberos mechanism:
+		* Set the AuthenticationType to Kerberos.
+		* Set the KrbServiceHost property to the FQDN of the Drill server host.
+		* Set the KrbServiceName property to the Kerberos service principal name of the Drill server.
+
+	**Plain (or Basic Authentication)**
+	* Configure the UID to an appropriate name for accessing the Drill server. 
+	* Set the PWD property to the password corresponding to the UID. 
 
 ### Direct and ZooKeeper Quorum Properties
 To use Drill in distributed mode, set ConnectionType to Zookeeper, get the ZKQuorum and ZKClusterID values from the `drill-override.conf` file, and define the ZKQuorum and ZKClusterID properties. The `drill-override.conf` is in the `/drill/drill-<version>/conf` directory. Format ZKQuorum as a comma separated list of ZooKeeper nodes in the following format:  
@@ -119,7 +165,7 @@ For example:
 
 To use Drill in embedded mode, do not define the ZKQuorum and ZKClusterID properties. Start Drill using the drill-localhost command, set ConnectionType to Direct, and define HOST and PORT properties. For example:
 
-* `HOST=centos32.lab:5181`  
+* `HOST=<IP address of drillbit>:5181`  
 * `PORT=31010`
 
 [Driver Configuration Options]({{ site.baseurl }}/docs/odbc-configuration-reference/#configuration-options) describes configuration options available for controlling the
@@ -136,17 +182,16 @@ directly in the` .odbc.ini` configuration file. The `.odbinst.ini` file contains
 **Example**
 
     [ODBC Drivers]
-    [ODBC Drivers]
     MapR Drill ODBC Driver 32-bit=Installed
     MapR Drill ODBC Driver 64-bit=Installed
 
     [MapR Drill ODBC Driver 32-bit]
-    Description=MapR Drill ODBC Driver(32-bit)
-    Driver=/opt/mapr/drillodbc/lib/32/libmaprdrillodbc32.so
+    Description=MapR Drill ODBC Driver (32-bit)
+    Driver=/opt/mapr/lib/32/libdrillodbc_sb32.so
 
     [MapR Drill ODBC Driver 64-bit]
-    Description=MapR Drill ODBC Driver(64-bit)
-    Driver=/opt/mapr/drillodbc/lib/64/libmaprdrillodbc64.so 
+    Description=MapR Drill ODBC Driver (64-bit)
+    Driver=/opt/mapr/lib/64/libdrillodbc_sb64.so 
 
 ----------
 
@@ -160,37 +205,32 @@ file. This configures the driver to work with your ODBC driver manager. The foll
     . . .
     [Driver]
     DisableAsync=0
-    DriverManagerEncoding=UTF-32
-    ErrorMessagesPath=/opt/mapr/drillodbc/ErrorMessages
+    ErrorMessagesPath=/opt/mapr/drill/ErrorMessages
     LogLevel=0
     LogPath=[LogPath]
     SwapFilePath=/tmp
 
-    ## - Uncomment the ODBCInstLib corresponding to the Driver Manager being used.
     ## - Note that the path to your ODBC Driver Manager must be specified in LD_LIBRARY_PATH.
 
-    # Generic ODBCInstLib
-    #   iODBC
-    ODBCInstLib=libiodbcinst.so
     . . .
 
 ### Configuring .mapr.drillodbc.ini
 
-To configure the MapR Drill ODBC Driver in the `mapr.drillodbc.ini` configuration file, complete the following steps:
+To configure the MapR Drill ODBC Driver in the `.mapr.drillodbc.ini` configuration file, complete the following steps:
 
-  1. Open the `mapr.drillodbc.ini` configuration file in a text editor.  
-  2. Edit the DisableAsync setting if you want to enable a synchronous ODBC connection for performance reasons. Change the default 0 to 1 to disable the asynchronous and enable the synchronous connection.  
+  1. Open the `.mapr.drillodbc.ini` configuration file in a text editor.  
+ 
+  2. Edit the DisableAsync setting if you want to enable a synchronous ODBC connection for performance reasons. Change the default 0 to 1 to disable the asynchronous and enable the synchronous connection.
      A change in state occurs during driver initialization and is propagated to all driver DSNs.  
-  3. Edit the DriverManagerEncoding setting if necessary. The value is typically UTF-16 or UTF-32, but depends on the driver manager used. iODBC uses UTF-32 and unixODBC uses UTF-16. Review your ODBC Driver Manager documentation for the correct setting.  
-  4. Edit the `ODBCInstLib` setting. The value is the name of the `ODBCInst` shared library for the ODBC driver manager that you use. The configuration file defaults to the shared library for `iODBC`. In Linux, the shared library name for iODBC is `libiodbcinst.so`.  
-     
-     Specify an absolute or relative filename for the library. If you use
-the relative file name, include the path to the library in the library path
-environment variable. The library path environment variable is named
-`LD_LIBRARY_PATH`.  
-  5. Save the `mapr.drillodbc.ini` configuration file.
+  
+     **Note**: As of version 1.3.8 of the driver, the DriverManagerEncoding setting is automatically detected and set if necessary. The value is typically UTF-16 or UTF-32, but depends on the driver manager used. iODBC uses UTF-32 and unixODBC uses UTF-16. 
+    
+  4. Save the `.mapr.drillodbc.ini` configuration file.
+
 
 ### Next Step
 
 Refer to [Testing the ODBC Connection]({{ site.baseurl }}/docs/testing-the-odbc-connection).
 
+
+

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/configuring-odbc/025-configuring-odbc-on-mac-os-x.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/configuring-odbc/025-configuring-odbc-on-mac-os-x.md b/_docs/odbc-jdbc-interfaces/configuring-odbc/025-configuring-odbc-on-mac-os-x.md
index da36b28..d83ff36 100644
--- a/_docs/odbc-jdbc-interfaces/configuring-odbc/025-configuring-odbc-on-mac-os-x.md
+++ b/_docs/odbc-jdbc-interfaces/configuring-odbc/025-configuring-odbc-on-mac-os-x.md
@@ -1,36 +1,35 @@
 ---
 title: "Configuring ODBC on Mac OS X"
-date: 2017-01-24 22:24:25 UTC
+date: 2017-05-30 23:11:52 UTC
 parent: "Configuring ODBC"
 ---
 ODBC driver managers use configuration files to define and configure ODBC data
-sources and drivers. To configure an ODBC connection for Linux or Mac OS X, complete the following
-steps:
+sources and drivers. To configure an ODBC connection for Mac OS X, note the following
+procedure:
 
-* [Step 1: Copy Sample Configuration Files]({{site.baseurl}}/docs/configuring-odbc-on-mac-os-x/#step-1:-copy-sample-configuration-files)
+* [Step 1: Driver Installer Updates Sample Configuration Files]({{site.baseurl}}/docs/configuring-odbc-on-mac-os-x/#step-1:-driver-installer-updates-sample-configuration-files)
 * [Step 2: Set Environment Variables]({{site.baseurl}}/docs/configuring-odbc-on-mac-os-x/#step-2:-set-environment-variables)
 * [Step 3: Define the ODBC Data Sources in odbc.ini]({{site.baseurl}}/docs/configuring-odbc-on-mac-os-x/#step-3:-define-the-odbc-data-sources-in-.odbc.ini)
 * [Step 4: Configure the MapR Drill ODBC Driver]({{site.baseurl}}/docs/configuring-odbc-on-mac-os-x/#step-4:-configure-the-mapr-drill-odbc-driver)
 
-## Step 1: Copy Sample Configuration Files
+## Step 1: Driver Installer Updates Sample Configuration Files
 
-Before you connect to Drill through an ODBC client tool
-on Mac OS X, copy the following configuration files in `/opt/mapr/drill/Setup` to your home directory unless the files already exist in your home directory:
+Before you connect to Drill through an ODBC client tool on Mac OS X, the driver installer copies the following configuration files in `/Library/mapr/drill/Setup` to your home directory unless the files already exist in your home directory:
 
 * `mapr.drillodbc.ini`
-* `.odbc.ini`
-* `.odbcinst.ini`
+* `odbc.ini`
+* `odbcinst.ini`
 
 In your home directory, rename the files as hidden files. Use sudo if necessary:
 
-* .mapr.drillodbc.ini
-* .odbc.ini
-* .odbcinst.ini
+* `.mapr.drillodbc.ini`
+* `.odbc.ini`
+* `.odbcinst.ini`
 
-The installer for Mac OS X creates a sample user DSN in odbc.ini in either of the following locations:
+The installer for Mac OS X creates a sample user DSN in `odbc.ini` in either of the following locations:
 
-* ~/Library/ODBC/odbc.ini
-* ~/.odbc.ini
+* `~/Library/ODBC/odbc.ini`
+* `~/.odbc.ini`
 
 Depending on the driver manager you use, the user DSN in one of these files will be effective.
 
@@ -40,9 +39,9 @@ Depending on the driver manager you use, the user DSN in one of these files will
 
 ## Step 2: Set Environment Variables 
 
-Create or modify the `/etc/launchd.conf` file to set environment variables. Set the MAPRDRILLINI variable to point to the `.mapr.drillodbc.ini` file. 
+The driver installer installs the `.mapr.drillodbc.ini` file to your home directory and adds an entry to the `$HOME/.odbc.ini` file. 
 
-If you installed the iODBC driver manager using the DMG, the dynamic linker (DYLD) libraries are installed in `/usr/local/iODBC/lib`. The launchd.conf file should look something like this:
+If you installed the iODBC driver manager using the DMG, the dynamic linker (DYLD) libraries are installed in `/usr/local/iODBC/lib`. The `launchd.conf` file contains contents such as the following:
 
     setenv MAPRDRILLINI /Users/joeuser/.mapr.drillodbc.ini
     setenv ODBCINI /Users/joeuser/.odbc.ini
@@ -72,7 +71,25 @@ You set the following properties for using Drill in distributed mode:
     ZKClusterID=<cluster name in `drill-override.conf`>
 
 ### Authentication Properties
-If the Drillbit requires a username and password for authentication, uncomment the AuthenticationType, select Basic Authentication for the AuthenticationType, and configure UID and PWD properties.
+If the Drillbit requires authentication, uncomment the AuthenticationType, add an AuthenticationType, and configure properties. If the Drillbit does not require authentication (or to configure no password protection), you can use the No Authentication option; you do not need to configure additional settings.
+
+
+* **MapRSASL** 
+	* The MapR login utility must be used to obtain a MapR ticket for MapR SASL authentication. 
+	* You must install and configure the MapR login utility before you can use the MapR SASL authentication mechanism. See <a href="http://maprdocs.mapr.com/home/SecurityGuide/SecurityArchitecture-AuthenticationArchitecture.html" title="MapR Login Utilty">Authentication Architecture: The maprlogin Utility</a> and <a href="http://maprdocs.mapr.com/home/SecurityGuide/Tickets.html/">Tickets</a>.
+
+	**Kerberos** 
+	*  See the <a href="http://web.mit.edu/kerberos/" title="MIT Kerberos">MIT Kerberos</a> documentation for installing and configuring a Kerberos environment, which is beyond the scope of the information provided here.
+	* To specify the Kerberos mechanism:
+		* Set the AuthenticationType to Kerberos.
+		* Set the KrbServiceHost property to the FQDN of the Drill server host.
+		* Set the KrbServiceName property to the Kerberos service principal name of the Drill server.
+
+	**Plain (or Basic Authentication)**
+	* Configure the UID to an appropriate name for accessing the Drill server. 
+	* Set the PWD property to the password corresponding to the UID. 
+
+To configure no password protection, select No Authentication.
 
 ### Direct and ZooKeeper Quorum Properties
 To use Drill in distributed mode, set ConnectionType to Zookeeper, get the ZKQuorum and ZKClusterID values from the `drill-override.conf` file, and define the ZKQuorum and ZKClusterID properties. Format ZKQuorum as a comma separated list of ZooKeeper nodes in the following format:  
@@ -85,7 +102,7 @@ For example:
 
 To use Drill in local mode, do not define the ZKQuorum and ZKClusterID properties. Start Drill using the drill-localhost command, set ConnectionType to Direct, and define HOST and PORT properties. For example:
 
-* `HOST=centos32.lab:5181`  
+* `HOST=<IP address of drillbit>:5181`  
 * `PORT=31010`
 
 [Driver Configuration Options]({{ site.baseurl }}/docs/odbc-configuration-reference/#configuration-options) describes configuration options available for controlling the
@@ -101,37 +118,44 @@ The following sample shows a possible configuration for using Drill in embedded
     # Specify any global ODBC configuration here such as ODBC tracing.
   
     [ODBC Data Sources]
-    Sample MapR Drill=MapR Drill ODBC Driver
+    MapR Drill=MapR Drill ODBC Driver
   
-    [Sample MapR Drill]
+    [MapR Drill]
     # Description: DSN Description.
     # This key is not necessary and only describes the data source.
-    Description=Sample MapR Drill ODBC Driver DSN
+    Description=MapR Drill ODBC Driver
     # Driver: The location where the ODBC driver is installed.
     Driver=/Library/mapr/drill/lib/libdrillodbc_sbu.dylib
   
-    # The DriverUnicodeEncoding setting is only used for SimbaDM
-    # When set to 1, SimbaDM runs in UTF-16 mode.
-    # When set to 2, SimbaDM runs in UTF-8 mode.
+    # The DriverUnicodeEncoding setting is only used for MapRDM
+    # When set to 1, MapRDM runs in UTF-16 mode.
+    # When set to 2, MapRDM runs in UTF-8 mode.
     #DriverUnicodeEncoding=2
 
     # Values for ConnectionType, AdvancedProperties, Catalog, Schema should be set here.
 
     # If ConnectionType is Direct, include Host and Port. If ConnectionType is ZooKeeper, include ZKQuorum and ZKClusterID
     # They can also be specified on the connection string.
-    # AuthenticationType: No authentication; Basic Authentication
+    # AuthenticationType: No authentication; Plain; Kerberos; MapRSASL
     ConnectionType=Direct
     HOST=localhost
     PORT=31010
     ZKQuorum=[Zookeeper Quorum]
     ZKClusterID=[Cluster ID]
-    AuthenticationType=No Authentication
+    AuthenticationType=Plain
     UID=[USERNAME]
     PWD=[PASSWORD] 
-    AdvancedProperties=CastAnyToVarchar=true;HandshakeTimeout=5;QueryTimeout=180;TimestampTZDisplayTimezone=utc;ExcludedSchemas=sys,INFORMATION_SCHEMA;NumberOfPrefetchBuffers=5;
+    DelegationUID=
+    KrbServiceHost=
+    KrbServiceName=
+    AdvancedProperties=CastAnyToVarchar=true;HandshakeTimeout=30;QueryTimeout=180;TimestampTZDisplayTimezone=utc;
+	ExcludedSchemas=sys,INFORMATION_SCHEMA;NumberOfPrefetchBuffers=5;
     Catalog=DRILL
     Schema=  
 
+    # The DriverUnicodeEncoding setting is only used for MapRDM
+
+
 
 ----------
 
@@ -161,7 +185,7 @@ To configure the MapR Drill ODBC Driver in the `mapr.drillodbc.ini` configuratio
   3. Edit the DriverManagerEncoding setting if necessary. The value is typically UTF-16 or UTF-32, but depends on the driver manager used. iODBC uses UTF-32 and unixODBC uses UTF-16. Review your ODBC Driver Manager documentation for the correct setting.
   4. Save the `mapr.drillodbc.ini` configuration file.
 
+
 ### Next Step
 
 Refer to [Testing the ODBC Connection]({{ site.baseurl }}/docs/testing-the-odbc-connection).
-

http://git-wip-us.apache.org/repos/asf/drill/blob/ee71b646/_docs/odbc-jdbc-interfaces/configuring-odbc/030-configuring-odbc-on-windows.md
----------------------------------------------------------------------
diff --git a/_docs/odbc-jdbc-interfaces/configuring-odbc/030-configuring-odbc-on-windows.md b/_docs/odbc-jdbc-interfaces/configuring-odbc/030-configuring-odbc-on-windows.md
index e910d61..1509e86 100644
--- a/_docs/odbc-jdbc-interfaces/configuring-odbc/030-configuring-odbc-on-windows.md
+++ b/_docs/odbc-jdbc-interfaces/configuring-odbc/030-configuring-odbc-on-windows.md
@@ -1,34 +1,40 @@
 ---
 title: "Configuring ODBC on Windows"
-date:  
+date: 2017-05-30 23:11:53 UTC
 parent: "Configuring ODBC"
 ---
-
 Complete one of the following steps to create an ODBC connection on Windows to Drill data
 sources:
 
   * Create a Data Source Name
   * Create an ODBC Connection String
 
-## Sample ODBC Configuration (DSN)
+## Sample ODBC Configuration
 
-You can see how to create a DSN to connect to Drill data sources by taking a look at the preconfigured sample that the installer sets up. If
-you want to create a DSN for a 32-bit application, you must use the 32-bit
+You can see how to create a DSN to connect to Drill data sources by taking a look at the preconfigured sample that the installer sets up. If you want to create a DSN for a 32-bit application, you must use the 32-bit
 version of the ODBC Administrator to create the DSN.
 
-1. Click **Start**, and locate the ODBC Administrator app that you installed, and click  ODBC Administrator to start the app.
+1. Click **Start** and locate the ODBC Administrator app that you installed. Then click ODBC Administrator to start the app.
    The ODBC Data Source Administrator dialog appears.
    ![]({{ site.baseurl }}/docs/img/odbc-user-dsn.png)
 
-2. On the **System DSN** tab in System Data Sources, select the sample MapR ODBC Driver for Drill DSN.
+2. On the **System DSN** tab in System Data Sources, select the sample MapR Drill.
    ![]({{ site.baseurl }}/docs/img/odbc-configure1.png)
-   The system DSN is available for all users who log in to the machine. You can set up a user DSN is available only to the user who creates the DSN.  
+   The system DSN is available for all users who log in to the machine. You can set up a user DSN is available only to the user who creates the DSN on the **User DSN** tab.  
 3. Click **Configure**.  
-   The MapR Drill ODBC Driver DSN Setup dialog appears with a preconfigured sample DSN. The following screenshot shows a possible DSN configuration for using Drill in embedded mode.
+   The MapR Drill setup dialog appears with a preconfigured sample DSN. The following screenshot shows a possible DSN configuration for using Drill in embedded mode.
    ![]({{ site.baseurl }}/docs/img/odbc-configure2.png)
    
 ### Authentication Options
-To password protect the DSN, uncomment the AuthenticationType, select Basic Authentication in the Authentication Type dropdown, and configure UID and PWD properties. To configure no password protection, select No Authentication.
+To password protect the DSN, select the appropriate AuthenticationType in the dropdown.  If the Drillbit does not require authentication (or to configure no password protection), you can use the No Authentication option; you do not need to configure additional settings.
+
+* **MapR-SASL**
+	* The maprlogin utility must be used to obtain a MapR ticket. To install and use the MapR login utility, see <a href="http://maprdocs.mapr.com/home/SecurityGuide/SecurityArchitecture-AuthenticationArchitecture.html" title="MapR Login Utilty">Authentication Architecture: The maprlogin Utility</a> and <a href="http://maprdocs.mapr.com/home/SecurityGuide/Tickets.html/">Tickets</a>.
+* **Kerberos** - configure Host FQDN and Service Name properties.
+	* To specify the default Kerberos mechanism, select the Use Only SSPI checkbox.
+	* To use MIT Kerberos by default and only use the SSPI plugin if the GSSAPI library is not available, clear the Use Only SSPI checkbox.
+* **Plain Authentication** - configure UID and PWD properties. 
+
 
 ### Direct to Drillbit and ZooKeeper Quorum Options
 In the Connection Type section, Direct to Drillbit is selected for using Drill in embedded mode. To use Drill in embedded mode, set ConnectionType to Direct and define HOST and PORT properties. For example:
@@ -42,10 +48,10 @@ To use Drill in distributed mode, select ZooKeeper Quorum.
 
 If you select ZooKeeper Quorum, provide values for the following properties:
 
-* Quorum
+* Quorum - 
   A comma separated list of ZooKeeper nodes in the following format:
   `<host name/ip address> : <port number>, <host name/ip address> : <port number>, . . .`
-* Cluster ID
+* Cluster ID - 
   Name of the drillbit cluster. Check the drill-override.conf file for ZooKeeper node information and for any cluster name changes.
 
  Check the `drill-override.conf` file for the cluster name.
@@ -61,4 +67,3 @@ Select the Disable Async option to disable the asynchronous ODBC connection and
 ### Next Step
 
 [Testing the ODBC Connection]({{ site.baseurl }}/docs/testing-the-odbc-connection/).
-