Architecting the Future of Big Data
|
|
|
- Thomas Hampton
- 10 years ago
- Views:
Transcription
1 Hive ODBC Driver User Guide Revised: July 22, Hortonworks Inc. All Rights Reserved. Parts of this Program and Documentation include proprietary software and content that is copyrighted and licensed by Simba Technologies Incorporated. This proprietary software and content may include one or more feature, functionality or methodology within the ODBC, JDBC, ADO.NET, OLE DB, ODBO, XMLA, SQL and/or MDX component(s). For information about Simba's products and services, visit:
2 Table of Contents Introduction... 5 Contact Us... 5 Windows Driver... 6 System Requirements... 6 Installation... 6 Configuration... 6 Create a Data Source Name (DSN)... 6 Configure authentication Configuring Authentication in DSN Linux Driver System Requirements Installation Driver Directories Configuration ODBC Configuration Files Sample ODBC Configuration Files ODBCINI and ODBCSYSINI Environment Configuration ODBC Data Source Configuration File Overview Create a Data Source Configuring Authentication ODBC Drivers Configuration File Overview Define a Driver Configure the Hortonworks Hive ODBC Driver Configure the Library Path Configure Kerberos Authentication Mac OS X Driver System Requirements Installation Driver Directories Configuration ODBC Configuration Files Sample ODBC Configuration Files Hortonworks Inc. Page 2
3 ODBCINI and ODBCSYSINI Environment Configuration ODBC Data Source Configuration File Overview Create a Data Source Configuring Authentication ODBC Drivers Configuration File Overview Define a Driver Configure the Hortonworks Hive ODBC Driver Configure the Library Path Configure Kerberos Authentication Features SQL Query versus HiveQL Query SQL Connector Data Types Catalog and Schema Support Hive System Table Server-side Properties Temporary Table Get Tables With Query Active Directory Appendix A: Configuring Kerberos Authentication for Windows Active Directory MIT Kerberos Download and install MIT Kerberos for Windows Set up the Kerberos configuration file in the default location Set up the Kerberos configuration file in another location Set up the Kerberos credential cache file Obtain a ticket for a Kerberos principal using password Obtain a ticket for a Kerberos principal using a keytab file Obtain a ticket for a Kerberos principal using the default keytab file Appendix B: Driver Authentication Configuration for Windows Configure driver authentication Appendix C: Driver Configuration Options Appendix D: Temporary Table CREATE TABLE and INSERT Statements Hortonworks Inc. Page 3
4 Temporary Table CREATE TABLE Statement Temporary Table INSERT Statement Hortonworks Inc. Page 4
5 Introduction Architecting the Future of Big Data Welcome to the Hortonworks Hive ODBC Driver with SQL Connector. ODBC is one the most established and widely supported APIs for connecting to and working with databases. At the heart of the technology is the ODBC driver, which connects an application to the database. The Hortonworks Hive ODBC Driver with SQL Connector is used for direct SQL and HiveQL access to Apache Hadoop / Hive distributions. It enables Business Intelligence (BI), analytics and reporting on Hadoop / Hive-based data. The Hortonworks Hive ODBC Driver efficiently transforms an application s SQL query into the equivalent form in HiveQL. The Hive Query Language is a subset of SQL-92. If an application is Hiveaware, the Hortonworks Hive ODBC Driver is configurable to pass the query through. The Hortonworks Hive ODBC Driver with SQL Connector interrogates Hive to obtain schema information to present to a SQL-based application. Queries, including joins, are translated from SQL to HiveQL. For more information about the differences between HiveQL and SQL, refer to the Features section of this document. The Hortonworks Hive ODBC Driver with SQL Connector is available for both Microsoft Windows, Linux and Mac OS X. It complies with the ODBC 3.52 data standard and adds important functionality such as Unicode and 32- and 64-bit support for high-performance computing environments on all platforms. Any version of the ODBC driver will connect to a Hive server irrespective of the server s host OS. This guide is suitable for users who are looking to access data residing within Hive from their desktop environment. Application developers may also find the information here helpful. Please refer to your application for details on connecting via ODBC. Contact Us If you have difficulty using the Hortonworks Hive ODBC Driver with SQL Connector, please contact our support staff. We welcome your questions, comments, and feature requests. Please have a detailed summary of the client and server environment (OS version, patch-level, Hadoop distribution version, Hive version, configuration etc.) ready, before you call or write us. Supplying this information accelerates support. By telephone: USA: (855) 8-HORTON International: (408) On the Internet: Visit us at Hortonworks Inc. Page 5
6 Windows Driver System Requirements Architecting the Future of Big Data Windows XP with SP3, Windows Vista, Windows 7 Professional or Windows 2008 R2. Both 32-bit and 64-bit editions are supported. 25 MB of available disk space. Installing the driver requires administrator privileges. The Hortonworks Hive ODBC Driver with SQL Connector requires a Hadoop cluster with the Hive service installed and running. The Hortonworks Hive ODBC Driver with SQL Connector is suitable for use with all versions of Apache Hive. Installation There are two versions of the driver for Windows: HortonworksHiveODBC32.msi for 32-bit HortonworksHiveODBC64.msi for 64-bit The version of the driver that you select should match the bitness of the application. For example, if the application is 64-bit then you should install the 64-bit driver. It is allowable to install both versions of the driver. The following document explains how to use ODBC on 64-bit editions of Windows: Data-Source-Administrator.pdf. Configuration Create a Data Source Name (DSN) 1. Click the Start button. 2. Click All Programs. 3. Click the Hortonworks Hive ODBC Driver 1.4 (64-bit) or the Hortonworks Hive ODBC Driver 1.4 (32-bit) program group. If you installed both versions of the driver, you will see two program groups. Because DSNs are bit-specific, select the version that matches the bitness of your application. For example, a DSN that is defined for the 32-bit driver will only be accessible from 32-bit applications. Hortonworks Inc. Page 6
7 4. Click 64-bit ODBC Administrator or 32-bit ODBC Administrator. The ODBC Data Source Administrator window opens. Hortonworks Inc. Page 7
8 5. Click the Drivers tab and verify that the Hortonworks Hive ODBC Driver is displayed in the list of ODBC drivers that are installed on your system. 6. Click the System DSN tab to create a system DSN or click the User DSN tab to create a user DSN. A system DSN can be seen by all users that login to a workstation. A user DSN is specific to a user on the workstation. It can only be seen by the user who creates it. Hortonworks Inc. Page 8
9 7. Click Add. The Create New Data Source window opens. Hortonworks Inc. Page 9
10 8. Select Hortonworks Hive ODBC Driver and then click Finish. The Hortonworks Hive ODBC Driver DSN Setup window opens. 9. In the Data Source Name text box, type a name for your DSN. 10. Optionally, In the Description text box, enter a description. 11. In the Host text box, type the IP address or hostname of the Hive server. 12. In the Port text box, type the listening port for the service. 13. In the Database text box, type the name of the database schema to use when a schema is not explicitly specified in a query. Queries on other schemas can still be issued by explicitly specifying the schema in the query. To determine the appropriate database schema to use, type the show databases command at the Hive command prompt to inspect your databases. Hortonworks Inc. Page 10
11 14. For the Hive Server Type, select either Hive Server 1 or Hive Server 2. Optionally, if you selected Hive Server 2 as the Hive server type, you can configure authentication. For detailed instructions, refer to the section, "Configure authentication". 15. Optionally, if the operations against Hive are to be done on behalf of a user that is different than the authenticated user for the connection, enter the user name of the user to be delegated in the Delegation UID text box. 16. Optionally, click Advanced Options. The Advanced Options window opens. a) Select the Use Native Query checkbox to disable the SQL Connector feature. Note: The SQL Connector feature has been added to the driver to apply transformations to the queries emitted by an application to convert them into an equivalent form in HiveQL. If the application is Hive aware and already emits HiveQL then turning off the SQL Connector feature avoids the extra overhead of query transformation. b) Select the Fast SQLPrepare checkbox to defer query execution to SQLExecute. Hortonworks Inc. Page 11
12 Note: When using Native Query mode, the driver will execute the HiveQL query to retrieve the result set metadata for SQLPrepare. As a result, SQLPrepare might be slow. If the result set metadata is not required after calling SQLPrepare, then enable this option. c) Select the Driver Config Take Precedence checkbox to allow driver wide configurations to take precedence over connection string and DSN settings. d) Select the Use Async Exec checkbox to use the asynchronous version of the API call against Hive for executing a query. Note: This option only take effect when connecting to Hive cluster running Hive or higher. Note: Due to the problem in Hive 0.12 reported in JIRA HIVE-5230, Hive returns generic error messages for errors that occur during query execution. To find out about what the actual error message you may turn off asynchronous query execution and execute the query again. e) Select the Get Tables With Query checkbox to retrieve the names of tables in a particular database using the GET TABLES query. Note: This setting is only applicable when connecting to Hive Server 2. f) Select the Unicode SQL character types checkbox to enable the driver to return SQL_WVARCHAR instead of SQL_VARCHAR for STRING and VARCHAR columns, and SQL_WCHAR instead of SQL_CHAR for CHAR columns. g) Select Show HIVE_SYSTEM Table checkbox to enable the driver to return the HIVE_SYSTEM table for catalog function calls such as SQLTables and SQLColumns. h) In the Rows Fetched Per Block field, type the number of rows to be fetched per block. Note: Any positive 32-bit integer is a valid value but testing has shown that performance gains are marginal beyond the default value of rows. i) In the Default string column length field, type the default string column length to use. Note: Hive does not provide the length for String columns in its column metadata. This option allows you to tune the length of String columns. j) In the Binary column length field, type the maximum data length for binary columns. Note: Hive does not provide the maximum data length for Binary columns in the columns metadata. The option allows you to tune the maximum data length for Binary columns. k) In the Decimal column scale field, type the maximum number of digits to the right of the decimal point for numeric data types. Hortonworks Inc. Page 12
13 l) In the Async Exec Poll Interval field, enter the time in millisecond between each poll of the query execution status when using asynchronous query execution. Note: Asynchronous query execution is only available starting with Hive or higher. m) Select the Allow Common Name Host Name Mismatch checkbox to accept a CA issued certificate even when the common name in the certificate doesn t match the host name of the Hive server. Note: This setting is only applicable to User Name and Password (SSL) and HTTPS authentication mechanisms and will be ignored by other authentication mechanisms. n) In the Trusted Certificate edit box enter the path to the file containing the list of trusted CA certificates in the PEM format. Note: This setting is only applicable to User Name and Password (SSL), Windows Azure HDInsight Service, and HTTPS authentication mechanisms and will be ignored by other authentication mechanisms. Note: If this configuration is not set the driver will default to using the trusted CA certificates PEM file installed by the driver. o) Optionally, click Server Side Properties. The Server Side Properties dialog opens. i. To create a server-side property, click the Add button, then type appropriate values in the Key and Value fields, and then click OK OR To edit a server-side property, select the property to edit in the Server Side Properties area, then click the Edit button, then update the Key and Value fields as needed, and then click OK OR To delete a server-side property, select the property to remove in the Server Side Properties area, and then click the Remove button. In the confirmation dialog, click Yes Hortonworks Inc. Page 13
14 Note: For a list of all Hadoop and Hive server-side properties that your implementation supports, type set -v at the Hive CLI command line or Beeline. You can also execute the set -v query after connecting using the driver. ii. If you selected Hive Server 2 as the Hive server type, then select or clear the Apply Server Side Properties with Queries check box as needed. Note: If you selected Hive Server 2, then the Apply Server Side Properties with Queries check box is selected by default. Selecting the check box configures the driver to apply each server-side property you set by executing a query when opening a session to the Hive server. Clearing the check box configures the driver to use a more efficient method to apply server-side properties that does not involve additional network round tripping. Some Hive Server 2 builds are not compatible with the more efficient method. If the server-side properties you set do not take effect when the check box is clear, then select the check box. If you selected Hive Server 1 as the Hive server type, then the Apply Server Side Properties with Queries check box is selected and unavailable. iii. Select the Convert SSP Key Name to Lower Case checkbox to force the driver to convert server side property key name to all lower case characters. iv. Click OK p) Optionally, click Temporary Table Configuration. i. In the Web HDFS Host text box, enter the hostname or IP address of the machine hosting both the namenode of your Hadoop cluster and the WebHDFS service. If this field is left blank the hostname of the Hive Server will be used. Hortonworks Inc. Page 14
15 ii. iii. iv. Architecting the Future of Big Data In the Web HDFS Port text box, enter the WebHDFS port for the namenode. In the HDFS User text box, enter the name of the HDFS user that the driver will use to create the necessary files for supporting the Temporary Table feature. In the Data file HDFS dir text box, enter the HDFS directory that the driver will use to store the necessary files for supporting the Temporary Table feature. Note: Due to a bug in Hive (see space characters in HDFS path will not work with versions of Hive prior to v. In the Temp Table TTL text box, enter the number of minute a temporary table is guaranteed to exist in Hive after it is created. vi. Click OK. For details regarding the Temporary Table feature please refer to Temporary Table on page 42. q) Click OK. 17. Click Test to test the connection and then click OK. For details on configuration options available to control the behavior of Hortonworks Hive ODBC Driver using DSN, see Appendix C: Driver Configuration Options on page 37. Configure authentication Note: Authentication is only available for server of type Hive Server 2. Authentication is not available for server of type Hive Server 1. If you are using an application that makes direct connections to Hive instead of using standard ODBC Data Sources, refer to Appendix B: Driver Authentication Configuration for Windows. Unlike Hive Server 1, Hive Server 2 supports multiple authentication mechanisms. You must determine the authentication type your server is using. The authentication methods available are as follows: No Authentication Kerberos User Name For No Authentication, no additional details are required. For User Name authentication, select User Name in the Mechanism field and then type a user name in the User Name field. For Kerberos authentication, Kerberos must be configured before using the driver with Kerberos authentication. Refer to Appendix A: Configuring Kerberos Authentication for Windows. Hortonworks Inc. Page 15
16 Note: If you installed HDP using Ambari, by default the authentication method is User Name. To discover how your Hive Server 2 is configured, examine your hive-site.xml file. Examine the following properties to determine which authentication mechanism your server is set to use: hive.server2.authentication hive.server2.enable.doas hive.server2.authentication hive.server2.enable.doas Driver Authentication Mechanism NOSASL False No Authentication KERBEROS True or False Kerberos NONE True or False User Name Refer to Manual Installs section of the HDP documentation at for a complete explanation of the authentication mechanisms. Configuring Authentication in DSN Using No Authentication No additional details are required when using No Authentication. Example connection string for Hive Server 1: Driver=Hortonworks Hive ODBC Driver;Host=<hs1 host>;port=<hs1 port>; HiveServerType=1;AuthMech=0;Schema=<Hive database> Example connection string for Hive Server 2: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=0;Schema=<Hive database> Using Kerberos Kerberos must be configured before using the driver with Kerberos authentication. Refer to Appendix A: Configuring Kerberos Authentication for Windows. After Kerberos has been installed and configured, then set the following options in the Authentication group in the Hortonworks Hive ODBC Driver dialog box: 1. In the Mechanism field, select Kerberos. 2. If there is no default realm configured for your Kerberos setup, then type the value for the Kerberos realm of the HiveServer2 host. Otherwise leave it blank. Hortonworks Inc. Page 16
17 The Realm is only needed if your Kerberos setup does not define a default realm or if the realm of your HiveServer2 is not the default. 3. In the Host FQDN field, type the value for the fully qualified domain name of the HiveServer2 host. 4. In the Service Name field, type the value for the service name of the Hive Server 2. For example, if the principle for the HiveServer2 is "hive/[email protected]", then the value in the service name field should be hive. If you are unsure of the correct service name to use for your particular Hadoop deployment, see your Hadoop administrator. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=1;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name> Using User Name For User Name authentication, select User Name in the Mechanism field in the Hortonworks Hive ODBC Driver dialog box, and then type a user name in the User Name field. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=2;Schema=<Hive database>;uid=<user name> Using User Name and Password To configure your DSN for User Name and Password authentication: 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field, and then select User Name and Password. 2. In the User Name field, type an appropriate credential. 3. In the Password field, type the password corresponding to the user name you typed in step 2. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=3;Schema=<Hive database>;uid=<user name>;pwd=<password> Using User Name and Password (SSL) To configure User Name and Password (SSL) authentication: Hortonworks Inc. Page 17
18 1. Click the drop-down arrow next to the Mechanism field, and then select User Name and Password (SSL). 2. In the User Name field, type an appropriate credential. 3. In the Password field, type the password corresponding to the user name you typed in step 2. Note: SSL support in Hive Server 2 is only available starting with Hive Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=4;Schema=<Hive database>;uid=<user name>;pwd=<password> Using Windows Azure HDInsight Emulator To connect to Hive server on Microsoft s Windows Azure HDInsight Emulator: 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field in the Authentication area, and then select Windows Azure HDInsight Emulator. 2. In the HTTP Path field, type the partial URL corresponding to the Hive server. 3. In the User Name field, type an appropriate user name for accessing the Hive server. 4. In the Password field, type the password corresponding to the user name you typed in step 3. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<HDInsight Emulator host>;port=<hdinsight Emulator port>; HiveServerType=2;AuthMech=5;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using Windows Azure HDInsight Service To connect to Hive server on Microsoft s Windows Azure HDInsight Service: Hortonworks Inc. Page 18
19 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field in the Authentication area, and then select Windows Azure HDInsight Service. 2. In the HTTP Path field, type the partial URL corresponding to the Hive server. 3. In the User Name field, type an appropriate user name for accessing the Hive server. 4. In the Password field, type the password corresponding to the user name you typed in step 3. Note: The driver doesn t allow self-signed SSL certificate for this authentication mechanism. Note: The common name of the CA issued certificate must match the host name of the Hive Server. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<Azure HDInsight Service host>;port=443; HiveServerType=2;AuthMech=6;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using HTTP To configure HTTP authentication: 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field in the Authentication area, and then select HTTP. 2. In the HTTP Path field, type the partial URL corresponding to the Hive server. 3. In the User Name field, type an appropriate user name for accessing the Hive server. 4. In the Password field, type the password corresponding to the user name you typed in step 3. Note: HTTP support in Hive Server 2 is only available starting with Hive Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=7;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Hortonworks Inc. Page 19
20 Using HTTPS To use HTTPS authentication: Architecting the Future of Big Data 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field in the Authentication area, and then select HTTPS. 2. In the HTTP Path field, type the partial URL corresponding to the Hive server. 3. In the User Name field, type an appropriate user name for accessing the Hive server. 4. In the Password field, type the password corresponding to the user name you typed in step 3. Note: HTTPS support in Hive Server 2 is only available starting with Hive Note: The HTTPS authentication method can also be used to connect to Hive Server 2 via the Knox gateway. Please refer to the Knox documentation to determine what user credentials to use and what value to set for HTTPPath. Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=8;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using Kerberos over HTTP To configure Kerberos over HTTP authentication: 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field in the Authentication area, and then select Kerberos over HTTP. 2. If there is no default realm configured for your Kerberos setup, then type the value for the Kerberos realm of the HiveServer2 host. Otherwise leave it blank. The Realm is only needed if your Kerberos setup does not define a default realm or if the realm of your HiveServer2 is not the default. 3. In the Host FQDN field, type the value for the fully qualified domain name of the HiveServer2 host. Hortonworks Inc. Page 20
21 4. In the Service Name field, type the value for the service name of the Hive Server 2. For example, if the principle for the HiveServer2 is then the value in the service name field should be hive. If you are unsure of the correct service name to use for your particular Hadoop deployment, see your Hadoop administrator. 5. In the HTTP Path field, type the partial URL corresponding to the Hive server. Note: Kerberos over HTTP support in Hive Server 2 is only available starting with Hive Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=9;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name>;httppath=<hs2 HTTP path> Using Kerberos over HTTPS To use Kerberos over HTTPS authentication: 1. In the Hortonworks Hive ODBC Driver DSN Setup dialog, click the drop-down arrow next to the Mechanism field in the Authentication area, and then select Kerberos over HTTPS. 2. If there is no default realm configured for your Kerberos setup, then type the value for the Kerberos realm of the HiveServer2 host. Otherwise leave it blank. The Realm is only needed if your Kerberos setup does not define a default realm or if the realm of your HiveServer2 is not the default. 3. In the Host FQDN field, type the value for the fully qualified domain name of the HiveServer2 host. 4. In the Service Name field, type the value for the service name of the Hive Server 2. For example, if the principle for the HiveServer2 is "hive/[email protected]", then the value in the service name field should be hive. If you are unsure of the correct service name to use for your particular Hadoop deployment, see your Hadoop administrator. 5. In the HTTP Path field, type the partial URL corresponding to the Hive server. Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Hortonworks Inc. Page 21
22 Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=10;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name>;httppath=<hs2 HTTP path> Linux Driver System Requirements Red Hat Enterprise Linux (RHEL) 5.0, CentOS 5.0 or SUSE Linux Enterprise Server (SLES) 11. Both 32 and 64-bit editions are supported. 45 MB of available disk space. An installed ODBC Driver Manager, for example: o o iodbc or above unixodbc or above The Hortonworks Hive ODBC Driver with SQL Connector requires a Hadoop cluster with the Hive service installed and running. The Hortonworks Hive ODBC Driver with SQL Connector is suitable for use with all versions of Hive. Installation There are two versions of the driver for Linux: hive-odbc-native-32bit-<version>-<release>.i686.rpm for 32-bit hive-odbc-native-<version>-<release>.x86_64.rpm for 64-bit Please refer to your Linux distribution s documentation for instructions on how to install RPM packages. The version of the driver that you select should match the bitness of the application. For example, if the application is 64-bit then you should install the 64-bit driver. Note that 64- bit editions of Linux support both 32 and 64-bit applications. Verify the bitness of your intended application and install the appropriate version of the driver. It is allowable to install both versions of the driver. Driver Directories The Hortonworks Hive ODBC Driver files are installed in the following directories: /usr/lib/hive/lib/native/hiveodbc/errormessages Error messages files directory /usr/lib/hive/lib/native/hiveodbc/setup Sample configuration files directory /usr/lib/hive/lib/native/linux-i bit shared libraries directory /usr/lib/hive/lib/native/linux-amd bit shared libraries directory Hortonworks Inc. Page 22
23 Configuration ODBC Configuration Files Architecting the Future of Big Data ODBC driver managers use configuration files to define and configure ODBC data sources and drivers. By default, the configuration files reside in the user s home directory. The configuration files are:.odbc.ini The file used to define ODBC data sources (required).odbcinst.ini The file used to define ODBC drivers (optional).hortonworks.hiveodbc.ini The file used to configure the Hortonworks Hive ODBC Driver (required) Sample ODBC Configuration Files The driver installation contains the following sample configuration files in the Setup directory: odbc.ini odbcinst.ini hortonworks.hiveodbc.ini The names of the sample configuration files do not begin with a period (.) so that they will appear in normal directory listings. A filename beginning with a period (.) is hidden. For odbc.ini and odbcinst.ini, if the default location is used, the filenames must begin with a period (.). For hortonworks.hiveodbc.ini, the filename must begin with a period (.) and must reside in the user s home directory. If the configuration files do not already exist in the user s home directory, the sample configuration files can be copied to that directory and renamed. If the configuration files already exist in the user s home directory, the sample configuration files should be used as a guide for modifying the existing configuration files. ODBCINI and ODBCSYSINI Environment Configuration By default, the configuration files reside in the user s home directory. However, two environment variables, ODBCINI and ODBCSYSINI, can be used to specify an alternative location of the.odbc.ini and.odbcinst.ini configuration files. For example, in the Bash shell, the location could be specified as follows: export ODBCINI=/usr/local/odbc/myodbc.ini export ODBCSYSINI=/usr/local/odbc/myodbcinst.ini Refer to your Linux shell documentation for the exact syntax for setting environment variables. ODBC Data Source Configuration File Overview ODBC Data Sources are defined in the.odbc.ini configuration file. The file is divided into several sections: [ODBC] The [ODBC] section is used to control global ODBC configuration such as ODBC tracing. Hortonworks Inc. Page 23
24 Architecting the Future of Big Data [ODBC Data Sources] The [ODBC Data Sources] section is used to specify the available data sources. Data Source definitions ([<data source name>]) The Data Source definitions are used to define the actual data source configurations. For example, an.odbc.ini configuration file might look something like this: [ODBC] InstallDir=/usr/local/odbc [ODBC Data Sources] Sample Hortonworks Hive DSN 32=Hortonworks Hive ODBC Driver 32-bit [Sample Hortonworks Hive DSN 32] Driver=/usr/lib/hive/lib/native/Linux-i386-32/libhortonworkshiveodbc32.so HOST=myhiveserver PORT=10000 Create a Data Source To create a data source: 1. Open the.odbc.ini configuration file in a text editor. 2. Add a new entry to the [ODBC Data Sources] section. Type the data source name (DSN) and the driver name. It might look something like this: Sample Hortonworks Hive DSN 32=Hortonworks Hive ODBC Driver 32-bit 3. Add a new section with a name that matches the data source name (DSN). This section will contain the configuration options. They are specified as key-value pairs. For example, it might look something like this: [Sample Hortonworks Hive DSN 32] Driver=/usr/lib/hive/lib/native/Linux-i386-32/libhortonworkshiveodbc32.so HOST=myhiveserver PORT= Save the.odbc.ini configuration file. For details on configuration options available to control the behavior of Hortonworks Hive ODBC Driver using DSN, see Appendix C: Driver Configuration Options on page 37. For details regarding the Temporary Table feature please refer to Temporary Table on page 42. Configuring Authentication Hortonworks Inc. Page 24
25 Using No Authentication Architecting the Future of Big Data To use no authentication: 1. Set the AuthMech configuration key for the DSN to 0 Example connection string for Hive Server 1: Driver=Hortonworks Hive ODBC Driver;Host=<hs1 host>;port=<hs1 port>; HiveServerType=1;AuthMech=0;Schema=<Hive database> Example connection string for Hive Server 2: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=0;Schema=<Hive database> Using Kerberos For information on operating Kerberos, refer to the documentation for your operating system. To configure a DSN using Hortonworks ODBC Driver with SQL Connector for Apache Hive to use Kerberos authentication: 1. Set the AuthMech configuration key for the DSN to 1 2. If your Kerberos setup does not define a default realm or if the realm of your Hive server is not the default, then set the appropriate realm using the KrbRealm key. 3. Set the KrbHostFQDN key to the fully qualified domain name of the Hive Server 2 host. 4. Set the KrbServiceName key to the service name of the Hive Server 2. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=1;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name> Using User Name To configure User Name authentication: 1. Set the AuthMech configuration key for the DSN to 2 2. Set the UID key to the appropriate user name recognized by the Hive server. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=2;Schema=<Hive database>;uid=<user name> Hortonworks Inc. Page 25
26 Using User Name and Password To configure User Name and Password authentication: 1. Set the AuthMech configuration key for the DSN to 3 2. Set the UID key to the appropriate user name recognized by the Hive server. 3. Set the PWD key to the password corresponding to the user name you provided in step 2. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=3;Schema=<Hive database>;uid=<user name>;pwd=<password> Using User Name and Password (SSL) To configure User Name and Password (SSL) authentication: 1. Set the AuthMech configuration key for the DSN to 4 2. Set the UID key to the appropriate user name recognized by the Hive server. 3. Set the PWD key to the password corresponding to the user name you provided in step 2. Note: SSL support in Hive Server 2 is only available starting with Hive Note: The driver always accepts the use of self-signed SSL certificate. Note: Optionally you can configure the CAIssuedCertNamesMismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allow common name of the certificate to not match the host name. See Appendix C: Driver Configuration Options on page 49. Note: Optionally you can configure the TrustedCerts setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. See Appendix C: Driver Configuration Options on page 49. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=4;Schema=<Hive database>;uid=<user name>;pwd=<password> Using Windows Azure HDInsight Emulator To connect to Hive server on Microsoft s Windows Azure HDInsight Emulator : 1. Set the AuthMech configuration key for the DSN to 5 Hortonworks Inc. Page 26
27 2. Set the HTTPPath key to the partial URL corresponding to the Hive server on Windows Azure HDInsight Emulator. 3. In the User Name field, type an appropriate user name for accessing the Hive server. 4. In the Password field, type the password corresponding to the user name you typed in step 3. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<HDInsight Emulator host>;port=<hdinsight Emulator port>; HiveServerType=2;AuthMech=5;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using Windows Azure HDInsight Service To connect to Hive server on Microsoft s Windows Azure HDInsight Service: 1. Set the AuthMech configuration key for the DSN to 6 2. Set the HTTPPath key to the partial URL corresponding to the Hive server. 3. Set the UID key to an appropriate user name for accessing the Hive server. 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Note: The driver doesn t allow self-signed SSL certificate for this authentication mechanism. Note: The driver doesn t allow the common name of the SSL certificate to not match the hostname of the Hive server. Note: Optionally you can configure the TrustedCerts setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. See Appendix C: Driver Configuration Options for Linux and Mac OS X on page 28. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<Azure HDInsight Service host>;port=443; HiveServerType=2;AuthMech=6;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using HTTP To configure HTTP authentication: 1. Set the AuthMech configuration key for the DSN to 7 2. Set the HTTPPath key to the partial URL corresponding to the Hive server. 3. Set the UID key to an appropriate user name for accessing the Hive server. Hortonworks Inc. Page 27
28 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Note: HTTP support in Hive Server 2 is only available starting with Hive Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=7;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using HTTPS To configure HTTPS authentication: 1. Set the AuthMech configuration key for the DSN to 8 2. Set the HTTPPath key to the partial URL corresponding to the Hive server. 3. Set the UID key to an appropriate user name for accessing the Hive server. 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Note: HTTPS support in Hive Server 2 is only available starting with Hive Note: The HTTPS authentication method can also be used to connect to Hive Server 2 via the Knox gateway. Please refer to the Knox documentation to determine what user credentials to use and what value to set for HTTPPath. Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=8;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using Kerberos over HTTP To configure Kerberos over HTTP authentication: 1. Set the AuthMech configuration key for the DSN to 9. Hortonworks Inc. Page 28
29 2. If your Kerberos setup does not define a default realm or if the realm of your Hive server is not the default, then set the appropriate realm using the KrbRealm key. 3. Set the KrbHostFQDN key to the fully qualified domain name of the Hive Server 2 host. 4. Set the KrbServiceName key to the service name of the Hive Server Set the HTTPPath key to the partial URL corresponding to the Hive server. Note: Kerberos over HTTP support in Hive Server 2 is only available starting with Hive Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=9;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name>;httppath=<hs2 HTTP path> Using Kerberos over HTTPS To configure Kerberos over HTTPS authentication: 1. Set the AuthMech configuration key for the DSN to If your Kerberos setup does not define a default realm or if the realm of your Hive server is not the default, then set the appropriate realm using the KrbRealm key. 3. Set the KrbHostFQDN key to the fully qualified domain name of the Hive Server 2 host. 4. Set the KrbServiceName key to the service name of the Hive Server Set the HTTPPath key to the partial URL corresponding to the Hive server. Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=10;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name>;httppath=<hs2 HTTP path> Hortonworks Inc. Page 29
30 ODBC Drivers Configuration File Overview ODBC Drivers are defined in the.odbcinst.ini configuration file. This configuration is optional because drivers can be specified directly in the.odbc.ini configuration file as discussed in the previous section. The file is divided into these sections: [ODBC Drivers] The [ODBC Drivers] section is used to specify the available drivers. Driver definitions ([<driver name>]) The Driver definitions are used to define the actual driver configurations. For example, an.odbcinst.ini configuration file might look something like this: [ODBC Drivers] Hortonworks Hive ODBC Driver 32-bit=Installed Hortonworks Hive ODBC Driver 64-bit=Installed [Hortonworks Hive ODBC Driver 32-bit] Driver=/usr/lib/hive/lib/native/Linux-i386-32/libhortonworkshiveodbc32.so Description=Hortonworks Hive ODBC Driver (32-bit) [Hortonworks Hive ODBC Driver 64-bit] Driver=/usr/lib/hive/lib/native/Linux-amd64-64/libhortonworkshiveodbc64.so Description=Hortonworks Hive ODBC Driver (64-bit) Define a Driver To define a driver: 1. Open the.odbcinst.ini configuration file in a text editor. 2. Add a new entry to the [ODBC Drivers] section. Type driver name and the value Installed. This driver name should be used for the Driver value in the data source definition instead of the driver shared library name. For example, it might look something like this: Hortonworks Hive ODBC Driver 32-bit=Installed 3. Add a new section with a name that matches the new driver name. This section will contain the configuration options. They are specified as key-value pairs. For example, it might look something like this: [Hortonworks Hive ODBC Driver 32-bit] Driver=/usr/lib/hive/lib/native/Linux-i386-32/libhortonworkshiveodbc32.so Description=Hortonworks Hive ODBC Driver (32-bit) 4. Save the.odbcinst.ini configuration file. Hortonworks Inc. Page 30
31 Configure the Hortonworks Hive ODBC Driver To configure the Hortonworks Hive ODBC Driver to work with your ODBC Driver Manager: 1. Open the.hortonworks.hiveodbc.ini configuration file in a text editor. 2. Edit the DriverManagerEncoding setting. This setting is usually set to UTF-16 or UTF-32 depending on the ODBC Driver Manager being used. iodbc uses UTF-32 and unixodbc uses UTF-16. Consult your ODBC Driver Manager documentation for the correct setting to use. 3. Edit the ODBCInstLib setting. This setting is set to the ODBCInst shared library for the ODBC Driver Manager being used. The configuration file defaults to iodbc s libiodbcinst.so shared library. You can specify the absolute or relative filename for the library. If you intend to use the relative filename for the library, the path to the library must be included in your LD_LIBRARY_PATH setting. Consult your ODBC Driver Manager documentation for the correct library to use. 4. Save the.hortonworks.hiveodbc.ini configuration file. Configure the Library Path In the ODBC configuration files, the driver libraries can be specified using absolute or relative paths. If relative paths are desired, set LD_LIBRARY_PATH to include: /usr/lib/hive/lib/native/linux-i /usr/lib/hive/lib/native/linux-amd64-64 Refer to your Linux shell documentation for the exact syntax for setting environment variables. Configure Kerberos Authentication For more information about how to configure Kerberos authentication, refer to the documentation for your operating system. Note: Authentication is not available for the server type of Hive Server 1. Mac OS X Driver System Requirements Mac OS X version or later. 86 MB of available disk space. An installed ODBC Driver Manager, for example: o iodbc or above The Hortonworks Hive ODBC Driver with SQL Connector requires a Hadoop cluster with the Hive service installed and running. The Hortonworks Hive ODBC Driver with SQL Connector is suitable for use with all versions of Hive and the driver works with both 32 and 64-bit applications. Hortonworks Inc. Page 31
32 Installation Architecting the Future of Big Data 1. Double click the hive-odbc-native.dmg file. The Hortonworks Hive ODBC Driver volume is mounted. 2. Double click the hive-odbc-native.pkg file. The installer opens. 3. Follow the instructions in the installer and when it has finished installing, click Close. Driver Directories The Hortonworks Hive ODBC Driver files are installed in the following directories: /usr/lib/hive/lib/native/hiveodbc/errormessages Error messages files directory /usr/lib/hive/lib/native/hiveodbc/setup Sample configuration files directory /usr/lib/hive/lib/native/universal Binaries directory Configuration ODBC Configuration Files ODBC driver managers use configuration files to define and configure ODBC data sources and drivers. By default, the configuration files reside in the user s home directory. The configuration files are:.odbc.ini The file used to define ODBC data sources (required).odbcinst.ini The file used to define ODBC drivers (optional).hortonworks.hiveodbc.ini The file used to configure the Hortonworks Hive ODBC Driver (required) Sample ODBC Configuration Files The driver installation contains the following sample configuration files in the /usr/lib/hive/lib/native/hiveodbc/setup directory: odbc.ini odbcinst.ini hortonworks.hiveodbc.ini The names of the sample configuration files do not begin with a period (.) so that they will appear in normal directory listings. A filename beginning with a period (.) is hidden. For odbc.ini and odbcinst.ini, if the default location is used, the filenames must begin with a period (.). For hortonworks.hiveodbc.ini, the filename must begin with a period (.) and must reside in the user s home directory. If the configuration files do not already exist in the user s home directory, the sample configuration files can be copied to that directory and renamed. If the configuration files already exist in the user s home directory, the sample configuration files should be used as a guide for modifying the existing configuration files. Hortonworks Inc. Page 32
33 ODBCINI and ODBCSYSINI Environment Configuration By default, the configuration files reside in the user s home directory. However, two environment variables, ODBCINI and ODBCSYSINI, can be used to specify an alternative location of the.odbc.ini and.odbcinst.ini configuration files. For example, in the Bash shell, the location could be specified as follows: export ODBCINI=/usr/local/odbc/myodbc.ini export ODBCSYSINI=/usr/local/odbc/myodbcinst.ini ODBC Data Source Configuration File Overview ODBC Data Sources are defined in the.odbc.ini configuration file. The file is divided into several sections: [ODBC] The [ODBC] section is used to control global ODBC configuration such as ODBC tracing. [ODBC Data Sources] The [ODBC Data Sources] section is used to specify the available data sources. Data Source definitions ([<data source name>]) The Data Source definitions are used to define the actual data source configurations. For example, an.odbc.ini configuration file might look something like this: [ODBC] InstallDir=/usr/local/odbc [ODBC Data Sources] Hortonworks Hive DSN=Hortonworks Hive ODBC Driver [Hortonworks Hive DSN] Driver=/usr/lib/hive/lib/native/universal/libhortonworkshiveodbc.dylib HOST=myhiveserver PORT=10000 Create a Data Source To create a data source: 1. Open the.odbc.ini configuration file in a text editor. 2. Add a new entry to the [ODBC Data Sources] section. Type the data source name (DSN) and the driver name. It might look something like this: Hortonworks Hive DSN=Hortonworks Hive ODBC Driver Hortonworks Inc. Page 33
34 3. Add a new section with a name that matches the data source name (DSN). This section will contain the configuration options. They are specified as key-value pairs. For example, it might look something like this: [Hortonworks Hive DSN] Driver=/usr/lib/hive/lib/native/universal/libhortonworkshiveodbc.dylib HOST=myhiveserver PORT= Save the.odbc.ini configuration file. For details on configuration options available to control the behavior of Hortonworks Hive ODBC Driver using DSN, see Appendix C: Driver Configuration Options on page 49. For details regarding the Temporary Table feature please refer to Temporary Table on page 42. Configuring Authentication Using No Authentication To use no authentication: 1. Set the AuthMech configuration key for the DSN to 0 Example connection string for Hive Server 1: Driver=Hortonworks Hive ODBC Driver;Host=<hs1 host>;port=<hs1 port>; HiveServerType=1;AuthMech=0;Schema=<Hive database> Example connection string for Hive Server 2: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=0;Schema=<Hive database> Using Kerberos For information on operating Kerberos, refer to the documentation for your operating system. To configure a DSN using Hortonworks ODBC Driver with SQL Connector for Apache Hive to use Kerberos authentication: 1. Set the AuthMech configuration key for the DSN to 1 2. If your Kerberos setup does not define a default realm or if the realm of your Hive server is not the default, then set the appropriate realm using the KrbRealm key. 3. Set the KrbHostFQDN key to the fully qualified domain name of the Hive Server 2 host. 4. Set the KrbServiceName key to the service name of the Hive Server 2. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=1;Schema=<Hive database>;krbrealm=<kerberos Hortonworks Inc. Page 34
35 Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name> Using User Name To configure User Name authentication: 1. Set the AuthMech configuration key for the DSN to 2 2. Set the UID key to the appropriate user name recognized by the Hive server. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=2;Schema=<Hive database>;uid=<user name> Using User Name and Password To configure User Name and Password authentication: 1. Set the AuthMech configuration key for the DSN to 3 2. Set the UID key to the appropriate user name recognized by the Hive server. 3. Set the PWD key to the password corresponding to the user name you provided in step 2. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=3;Schema=<Hive database>;uid=<user name>;pwd=<password> Using User Name and Password (SSL) To configure User Name and Password (SSL) authentication: 1. Set the AuthMech configuration key for the DSN to 4 2. Set the UID key to the appropriate user name recognized by the Hive server. 3. Set the PWD key to the password corresponding to the user name you provided in step 2. Note: SSL support in Hive Server 2 is only available starting with Hive Note: The driver always accepts the use of self-signed SSL certificate. Note: Optionally you can configure the CAIssuedCertNamesMismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allow common name of the certificate to not match the host name. See Appendix C: Driver Configuration Options on page 49. Hortonworks Inc. Page 35
36 Note: Optionally you can configure the TrustedCerts setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. See Appendix C: Driver Configuration Options on page 49. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=4;Schema=<Hive database>;uid=<user name>;pwd=<password> Using Windows Azure HDInsight Emulator To connect to Hive server on Microsoft s Windows Azure HDInsight Emulator : 1. Set the AuthMech configuration key for the DSN to 5 2. Set the HTTPPath key to the partial URL corresponding to the Hive server on Windows Azure HDInsight Emulator. 3. Set the UID key to an appropriate user name for accessing the Hive server. 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<HDInsight Emulator host>;port=<hdinsight Emulator port>; HiveServerType=2;AuthMech=5;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using Windows Azure HDInsight Service To connect to Hive server on Microsoft s Windows Azure HDInsight Service: 1. Set the AuthMech configuration key for the DSN to 6 2. Set the HTTPPath key to the partial URL corresponding to the Hive server. 3. Set the UID key to an appropriate user name for accessing the Hive server. 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Note: The driver doesn t allow self-signed SSL certificate for this authentication mechanism. Note: The driver doesn t allow the common name of the SSL certificate to not match the hostname of the Hive server. Note: Optionally you can configure the TrustedCerts setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. See Appendix C: Driver Configuration Options for Linux and Mac OS X on page 28. Hortonworks Inc. Page 36
37 Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<Azure HDInsight Service host>;port=443; HiveServerType=2;AuthMech=6;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using HTTP To configure HTTP authentication: 1. Set the AuthMech configuration key for the DSN to 7 2. Set the HTTPPath key to the partial URL corresponding to the Hive server. 3. Set the UID key to an appropriate user name for accessing the Hive server. 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Note: HTTP support in Hive Server 2 is only available starting with Hive Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=7;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using HTTPS To configure HTTPS authentication: 1. Set the AuthMech configuration key for the DSN to 8 2. Set the HTTPPath key to the partial URL corresponding to the Hive server. 3. Set the UID key to an appropriate user name for accessing the Hive server. 4. Set the PWD key to the password corresponding to the user name you typed in step 3. Note: HTTPS support in Hive Server 2 is only available starting with Hive Note: The HTTPS authentication method can also be used to connect to Hive Server 2 via the Knox gateway. Please refer to the Knox documentation to determine what user credentials to use and what value to set for HTTPPath. Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Hortonworks Inc. Page 37
38 Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=8;Schema=<Hive database>;uid=<user name>;pwd=<password>;httppath=<hs2 HTTP path> Using Kerberos over HTTP To configure Kerberos over HTTP authentication: 6. Set the AuthMech configuration key for the DSN to If your Kerberos setup does not define a default realm or if the realm of your Hive server is not the default, then set the appropriate realm using the KrbRealm key. 8. Set the KrbHostFQDN key to the fully qualified domain name of the Hive Server 2 host. 9. Set the KrbServiceName key to the service name of the Hive Server Set the HTTPPath key to the partial URL corresponding to the Hive server. Note: Kerberos over HTTP support in Hive Server 2 is only available starting with Hive Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=9;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name>;httppath=<hs2 HTTP path> Using Kerberos over HTTPS To configure Kerberos over HTTPS authentication: 6. Set the AuthMech configuration key for the DSN to If your Kerberos setup does not define a default realm or if the realm of your Hive server is not the default, then set the appropriate realm using the KrbRealm key. 8. Set the KrbHostFQDN key to the fully qualified domain name of the Hive Server 2 host. 9. Set the KrbServiceName key to the service name of the Hive Server Set the HTTPPath key to the partial URL corresponding to the Hive server. Note: The driver always accepts the use of self-signed SSL certificate for this authentication mechanism. Hortonworks Inc. Page 38
39 Note: Optionally you can configure the Allow Common Name Host Name Mismatch setting to control whether the driver allows the common name of a CA issued certificate to not match the host name of the Hive server. For self-signed certificates the driver always allows the common name of the certificate to not match the host name. Note: Optionally you can configure the Trusted Certificates setting in the Advanced Options to allow the driver to load SSL certificates from the specified file. The driver will default to using the trusted CA certificates PEM file install with the driver if this setting is not set. Example connection string: Driver=Hortonworks Hive ODBC Driver;Host=<hs2 host>;port=<hs2 port>; HiveServerType=2;AuthMech=10;Schema=<Hive database>;krbrealm=<kerberos Realm>;KrbHostFQDN=<hs2 fully qualified domain name>;krbservicename=<hs2 service name>;httppath=<hs2 HTTP path> ODBC Drivers Configuration File Overview ODBC Drivers are defined in the.odbcinst.ini configuration file. This configuration is optional because drivers can be specified directly in the.odbc.ini configuration file as discussed in the previous section. The file is divided into these sections: [ODBC Drivers] The [ODBC Drivers] section is used to specify the available drivers. Driver definitions ([<driver name>]) The Driver definitions are used to define the actual driver configurations. For example, an.odbcinst.ini configuration file might look something like this: [ODBC Drivers] Hortonworks Hive ODBC Driver=Installed [Hortonworks Hive ODBC Driver] Driver=/usr/lib/hive/lib/native/universal/libhortonworkshiveodbc.dylib Description=Hortonworks Hive ODBC Driver Define a Driver To define a driver: 1. Open the.odbcinst.ini configuration file in a text editor. 2. Add a new entry to the [ODBC Drivers] section. Type driver name and the value Installed. This driver name should be used for the Driver value in the data source definition instead of the driver shared library name. For example, it might look something like this: Hortonworks Hive ODBC Driver=Installed Hortonworks Inc. Page 39
40 3. Add a new section with a name that matches the new driver name. This section will contain the configuration options. They are specified as key-value pairs. For example, it might look something like this: [Hortonworks Hive ODBC Driver] Driver=/usr/lib/hive/lib/native/universal/libhortonworkshiveodbc.dylib Description=Hortonworks Hive ODBC Driver 4. Save the.odbcinst.ini configuration file. Configure the Hortonworks Hive ODBC Driver To configure the Hortonworks Hive ODBC Driver to work with your ODBC Driver Manager: 1. Open the.hortonworks.hiveodbc.ini configuration file in a text editor. 2. Edit the DriverManagerEncoding setting. This setting is usually set to UTF-16 or UTF-32 depending on the ODBC Driver Manager being used. iodbc uses UTF-32. Consult your ODBC Driver Manager documentation for the correct setting to use. 3. Edit the ODBCInstLib setting. This setting is set to the ODBCInst shared library for the ODBC Driver Manager being used. The configuration file defaults to iodbc s libiodbcinst.dylib shared library. You can specify the absolute or relative filename for the library. If you intend to use the relative filename for the library, the path to the library must be included in your DYLD_LIBRARY_PATH setting. Consult your ODBC Driver Manager documentation for the correct library to use. 4. Save the.hortonworks.hiveodbc.ini configuration file. Configure the Library Path In the ODBC configuration files, the driver libraries can be specified using absolute or relative paths. If relative paths are desired, set DYLD_LIBRARY_PATH to include /usr/lib/hive/lib/native/universal. Configure Kerberos Authentication For more information about how to configure Kerberos authentication, refer to the documentation for your operating system. Note: Authentication is not available for the server type of Hive Server 1. Hortonworks Inc. Page 40
41 Features SQL Query versus HiveQL Query The native query language supported by Hive is HiveQL. For simple queries, HiveQL is a subset of SQL-92. However, for most applications, the syntax is different enough that most applications do not work with native HiveQL. SQL Connector To bridge the difference between SQL and HiveQL, we have added the SQL Connector feature to translate standard SQL-92 queries into equivalent HiveQL queries. The SQL Connector performs syntactical translations and structural transformations. For example: 1. Quoted Identifiers HiveQL uses back-quote while SQL uses double quote when quoting identifiers. Even when a driver reports the back-quote as the quote character, some applications still generate double quoted identifiers. 2. Table Aliases HiveQL does not support the AS keyword between a table reference and its alias. 3. JOIN, INNER JOIN and CROSS JOIN SQL INNER JOIN and CROSS JOIN syntax is translated to HiveQL JOIN syntax. 4. TOP N/LIMIT Data Types SQL TOP N queries are transformed to HiveQL LIMIT queries. The following data types are supported: TINYINT, SMALLINT, INT, BIGINT, FLOAT, DOUBLE, BOOLEAN, STRING, TIMESTAMP, DATE, VARCHAR(n), DATE, DECIMAL(p,s), and CHAR(n). The aggregate types (ARRAY, MAP and STRUCT) are not yet supported. Catalog and Schema Support The Hortonworks Hive ODBC Driver supports both catalogs and schemas in order to make it easy for the driver to work with various ODBC applications. Since Hive only organizes tables into schema/database, we have added a synthetic catalog, called HIVE under which all of the schemas/databases are organized. The driver also maps the ODBC schema to the Hive schema/database. Hortonworks Inc. Page 41
42 Hive System Table Architecting the Future of Big Data A pseudo table called HIVE_SYSTEM can be used to query for Hive cluster system environment information. The pseudo table is under the pseudo schema HIVE_SYSTEM. The table has two String type columns ENVKEY and ENVVALUE. Standard SQL can be executed against the Hive system table. For example, the following query: SELECT * FROM HIVE_SYSTEM.HIVE_SYSTEM WHERE ENVKEY LIKE %hive% will return all of the Hive system environment entries whose key has the word hive in it. A special query, set v, has to be executed to fetch this information and this is not supported by all Hive versions. For versions of Hive that do not support this type of query, the driver will return an empty result set. Server-side Properties The Hortonworks Hive ODBC Driver with SQL Connector allows you to set server-side properties via a DSN. Server-side properties specified in a DSN affect only the connection established using the DSN. For details on setting server-side properties for a DSN using the Windows driver, see the section Configuration on page 6. For details related to the Linux driver, see Create a Data Source on page 24. For details related to the Mac OS X driver, see Create a Data Source on page 33. Temporary Table The Temporary Table feature adds support for creating temporary tables and inserting literal values into temporary tables. Temporary tables are only accessible by the ODBC connection that created them and they will be dropped upon disconnect. For temporary table CREATE TABLE and INSERT statement syntax please see Appendix D: Temporary Table CREATE TABLE and INSERT Statements on page 58. Get Tables With Query Hive Server 2 has a limit on the number of tables in a database when handling the GetTables API call. When the number of tables in a database is above the limit it would either run into stack overflow error or timeout error. The exact limit and error depends on the JVM settings. To address this issue we implemented a workaround in the driver to avoid using the GetTables API call when connecting to Hive Server 2. This feature can be enabled/disabled via the Get Tables With Query(GetTablesWithQuery) configuration setting. Active Directory Hortonworks Hive ODBC Driver with SQL Connector supports Active Directory Kerberos on Windows. There are two prerequisites for using Active Directory Kerberos on Windows: 1. MIT Kerberos is not installed on client Windows machine. Hortonworks Inc. Page 42
43 2. The MIT Kerberos Hadoop realm has been configured to trust the Active Directory realm so that users in the Active Directory realm can access services in the MIT Kerberos Hadoop realm. Please refer to the Hortonworks documentation Setting up One-Way Trust with Active Directory for more details. Hortonworks Inc. Page 43
44 Appendix A: Configuring Kerberos Authentication for Windows Active Directory Hortonworks Hive ODBC Driver with SQL Connector supports Active Directory Kerberos on Windows. There are two prerequisites for using Active Directory Kerberos on Windows: 1. MIT Kerberos is not installed on client Windows machine. 2. The MIT Kerberos Hadoop realm has been configured to trust the Active Directory realm so that users in the Active Directory realm can access services in the MIT Kerberos Hadoop realm. Please refer to the Hortonworks documentation Setting up One-Way Trust with Active Directory for more details. MIT Kerberos Note: MIT Kerberos is not required if a one-way trust between Hadoop Kerberos realm and the AD (Active Directory) domain has been established. Please refer to the Hortonworks documentation Setting up One-Way Trust with Active Directory for more details. Download and install MIT Kerberos for Windows For 64-bit machines: amd64.msi. The installer includes both 32-bit and 64-bit libraries. 2. For 32-bit machines: The installer includes 32-bit libraries only. Set up the Kerberos configuration file in the default location 1. Obtain a krb5.conf configuration file from your Kerberos administrator. The configuration file should also be present at /etc/krb5.conf on the machine hosting the Hive Server The default location is C:\ProgramData\MIT\Kerberos5 but this is normally a hidden directory. Consult your Windows documentation if you wish to view and use this hidden directory. 3. Rename the configuration file from krb5.conf to krb5.ini. 4. Copy krb5.ini to the default location and overwrite the empty sample file. Consult the MIT Kerberos documentation for more information on configuration. Set up the Kerberos configuration file in another location If you do not want to put the Kerberos configuration file in the default location then you can use another location. The steps required to do this are as follows: 1. Obtain a krb5.conf configuration file for your Kerberos setup. 2. Store krb5.conf in an accessible directory and make note of the full path name. 3. Click the Windows Start menu. Hortonworks Inc. Page 44
45 4. Right-click Computer. 5. Click Properties. Architecting the Future of Big Data 6. Click Advanced system settings. 7. Click Environment Variables. 8. Click New for System variables. 9. Enter variable name: KRB5_CONFIG. 10. Enter variable value: <absolute pathname to krb5.conf file>. 11. Click OK to save the new variable. 12. Ensure the variable is listed in the System variables list. 13. Click OK to close Environment Variables Window. 14. Click OK to close System Properties Window. Set up the Kerberos credential cache file 1. Create a writable directory. For example, C:\temp 3. Click the Windows Start menu. 4. Right-click Computer. 5. Click Properties. 6. Click Advanced system settings. 7. Click Environment Variables. 8. Click New for System variables. 9. Enter variable name: KRB5CCNAME. 10. Enter variable value: <writable directory from step 1>\krb5cache. For example, C:\temp\krb5cache Note: krb5cache is a regular file (not a directory) managed by the Kerberos software and should not be created by the user. If you receive a permission error when you first use Kerberos, check to make sure that the krb5cache file does not exist as a file or a directory. 11. Click OK to save the new variable. 12. Ensure the variable is listed in the System variables list. 13. Click OK to close Environment Variables Window. 14. Click OK to close System Properties Window. 15. Restart your computer to ensure that MIT Kerberos for Windows uses the new settings. Obtain a ticket for a Kerberos principal using password Note: If your Kerberos environment uses keytab files please see the next section. 1. Click the Start button. Hortonworks Inc. Page 45
46 2. Click All Programs. Architecting the Future of Big Data 3. Click the Kerberos for Windows (64-bit) or the Kerberos for Windows (32-bit) program group. 4. Use MIT Kerberos Ticket Manager to obtain a ticket for the principal that will be connecting to Hive Server 2. Obtain a ticket for a Kerberos principal using a keytab file 1. Click the Start button. 2. Click All Programs. 3. Click Accessories. 4. Click Command Prompt. 5. Type: kinit -k -t <keytab pathname> <principal> <keytab pathname> is the full pathname to the keytab file. For example, C:\mykeytabs\hiveserver2.keytab <principal> is the Kerberos principal to use for authentication. For example, hive/[email protected] Obtain a ticket for a Kerberos principal using the default keytab file A default keytab file can be set for your Kerberos configuration. Consult the MIT Kerberos documentation for instructions on configuring a default keytab file. 1. Click the Start button. 2. Click All Programs. 3. Click Accessories. 4. Click Command Prompt. 5. Type: kinit -k <principal> <principal> is the Kerberos principal to use for authentication. For example, hive/[email protected] Hortonworks Inc. Page 46
47 Appendix B: Driver Authentication Configuration for Windows Windows applications that connect with Hive Server 1 or Hive Server 2 will connect in one of two ways: 1. ODBC Data Source 2. Direct driver connection Applications that connect using ODBC Data Sources will work with Hive Server 2 by sending the appropriate authentication credentials defined in the Data Source. Applications that connect using a direct driver connection that is Hive Server 1 aware but not Hive Server 2 aware will not have a facility for sending authentication credentials to Hive Server 2. However, the Hortonworks Hive ODBC driver can be configured with authentication credentials using the supplied configuration tool. Note: The credentials configured using the configuration application will apply for all connections made using a direct driver connection unless the application is Hive Server 2 aware and requests credentials from the user. Configure driver authentication 1. Click the Start button. 2. Click All Programs. 3. Click the Hortonworks Hive ODBC Driver 1.4 (64-bit) or the Hortonworks Hive ODBC Driver 1.4 (32-bit) program group. If you installed both versions of the driver, you will see two program groups. Because drivers are bit-specific, select the version that matches the bitness of your application. For example, a 32-bit driver will only be accessible from 32-bit applications. 4. Click Driver Configuration and click OK when prompted for administrator permission make modification to the computer. Note: You must have administrator access to the computer in order to run this application because it makes changes to the registry. 5. Follow the procedure for configuring the Advanced Options on page 11 and the section Configuring Authentication in DSN on page 16 to complete the Hortonworks Hive ODBC Driver Configuration dialog. 6. In the Hortonworks Hive ODBC Driver Configuration dialog, click OK Hortonworks Inc. Page 47
48 Hortonworks Inc. Page 48
49 Appendix C: Driver Configuration Options The configuration options available to control the behavior of Hortonworks Hive ODBC Driver are listed and described in Table 1. Note: You can set configuration options in your odbc.ini and.hortonworks.hiveodbc.ini files. Configuration options set in a.hortonworks.hiveodbc.ini file apply to all connections, whereas configuration options set in an odbc.ini file are specific to a connection. Configuration options set in odbc.ini take precedence over configuration options set in.hortonworks.hiveodbc.ini Key Default Value Description Driver HOST PORT for non- HDInsight clusters, for Windows Azure HDInsight Emulator, and 443 for Windows Azure HDInsight Service The name of the installed driver (Hortonworks Hive ODBC Driver) or the absolute path of the Hortonworks Hive ODBC Driver shared object file. (Required) The IP address or hostname of the Hive server. (Required) The listening port for the service. (Required) Schema default The name of the database schema to use when a schema is not explicitly specified in a query Note: Queries on other schemas can still be issued by explicitly specifying the schema in the query. To determine the appropriate database schema to use, type show databases command at the Hive command prompt to inspect your databases. (Optional) Hortonworks Inc. Page 49
50 Key Default Value Description DefaultStringColumnLength 255 The maximum data length for string columns. Note: Hive does not provide the maximum data length for String columns in the columns metadata. This option allows you to tune the maximum data length for String columns. (Optional) BinaryColumnLength The maximum data length for binary columns. Note: Hive does not provide the maximum data length for Binary columns in the columns metadata. The option allows you to tune the maximum data length for Binary columns. (Optional) UseNativeQuery 0 Enabling the UseNativeQuery option using a value of 1 disables the SQL Connector feature. The SQL Connector feature has been added to the driver to apply transformations to the queries emitted by an application to convert them into an equivalent form in HiveQL. If the application is Hive aware and already emits HiveQL, then turning off the SQL Connector feature avoids the extra overhead of query transformation. (Optional) FastSQLPrepare 0 To enable the FastSQLPrepare option, use a value of 1. Enabling FastSQLPrepare defers query execution to SQLExecute. When using Native Query mode, the driver will execute the HiveQL query to retrieve the result set metadata for SQLPrepare. As a result, SQLPrepare might be slow. If the result set metadata is not required after calling SQLPrepare, then enable FastSQLPrepare. (Optional) Hortonworks Inc. Page 50
51 Key Default Value Description EnableAsyncExec 0 Enable/disable the use of asynchronous query execution. Note: This option only take effect when connecting to Hive cluster running Hive or higher. Note: Due to the problem in Hive 0.12 reported in JIRA HIVE-5230, Hive returns generic error messages for errors that occur during query execution. To find out about what the actual error message you may turn off asynchronous query execution and execute the query again. Set to 1 to enable. Set to 0 to disable. (Optional) RowsFetchedPerBlock The maximum number of rows that a query returns at a time. Any positive 32- bit integer is a valid value but testing has shown that performance gains are marginal beyond the default value of rows. (Optional) DecimalColumnScale 10 The maximum number of digits to the right of the decimal point for numeric data types. (Optional) SSP_ To set a server-side property, use the following syntax where SSPKey is the name of the server-side property to set and SSPValue is the value to assign to the server-side property: SSP_SSPKey=SSPValue For example: SSP_mapred.queue.names=myQueue After the driver applies the server-side property, the SSP_ prefix is removed from the DSN entry leaving an entry of SSPKey=SSPValue (Optional) Hortonworks Inc. Page 51
52 Key Default Value Description ApplySSPWithQueries 1 When set to the default value of 1 enabled each server side property you set is applied by executing a set SSPKey=SSPValue query when opening a session to the Hive server. Applying server-side properties using queries involves an additional network round trip per server side property when establishing a session to the Hive server. Some Hive Server 2 builds are not compatible with the more efficient method for setting server-side properties that the driver uses when ApplySSPWithQueries is disabled by setting the key value to 0. Note: When connecting to a Hive Server 1, ApplySSPWithQueries is always enabled. (Optional) LCaseSspKeyName 1 Control whether the driver will convert server side property key name to all lower case characters. Set to 1 to enable. Set to 0 to disable. (Optional) HiveServerType 1 The Hive Server Type. Set it to 1 for Hive Server and 2 for Hive Server 2. (Optional) AuthMech 0 The authentication mechanism to use. Set the value to 0 for no authentication, 1 for Kerberos, 2 for User Name, 3 for User Name and Password, 4 User Name and Password (SSL), 5 for Windows Azure HDInsight Emulator, 6 for Windows Azure HDInsight Service, 7 for HTTP, or 8 for HTTPS. (Optional) KrbHostFQDN KrbServiceName The fully qualified domain name of the Hive Server 2 host used. (Required if AuthMech is Kerberos) The Kerberos service principal name of the Hive Server 2. (Required if AuthMech is Kerberos) Hortonworks Inc. Page 52
53 Key Default Value Description KrbRealm HTTPPath UID PWD Depends on Kerberos configuration. If there is no default realm configured or the realm of the Hive Server 2 host is different from the default realm for your Kerberos setup, then define the realm of the Hive Server 2 host using this option. (Optional) The partial URL corresponding to the Hive server on HDInsight, HTTP, or HTTPS authentication mechanisms. (Optional) The user name of an existing user on the host running Hive Server 2. Important: You must set the hive.server2.authentication property in the hive-site.xml file for the Hive Server 2 to NONE OR The user name set up for Windows Azure HDInsight Service OR The user name set up for Hive Server 2 when using the User Name and Password authentication, User Name and Password (SSL), and HTTPS mechanism. (Required if AuthMech is User Name and Password, User Name and Password (SSL), Windows Azure HDInsight Service, HTTPS) The password set up for Windows Azure HDInsight Service, User Name and Password, User Name and Password (SSL), and HTTPS authentication mechanisms. (Required if AuthMech is User Name and Password, User Name and Password (SSL), Windows Azure HDInsight Service, HTTPS) Hortonworks Inc. Page 53
54 Key Default Value Description CAIssuedCertNamesMismatch 0 Control whether to allow CA issued SSL certificate name not to match the host name of the Hive server. Note: This setting is only applicable to User Name and Password (SSL) and HTTPS authentication mechanism and will be ignored by other authentication mechanisms. (Optional) TrustedCerts Windows: For 32 bit driver: C:\Program Files (x86)\hortonworks Hive ODBC Driver\lib\cacerts.pe m For 64 bit driver: C:\Program Files\Hortonworks Hive ODBC Driver\lib\cacerts.pe m Used to specify the location of the file containing trusted CA certificates for authenticating the Hive server when using SSL. Note: This setting is only applicable to User Name and Password (SSL), Windows Azure HDInsight Service, HTTP, and HTTPS authentication mechanisms, and will be ignored by other authentication mechanisms. Note: If this setting is not set then the driver will default to using the trusted CA certificates file installed by the driver. (Optional) Linux: For 32 bit driver: /usr/lib/hive/lib/nati ve/linux-i386-32/cacerts.pem For 64 bit driver: /usr/lib/hive/lib/nati ve/linux-amd64-64/cacerts.pem Mac OS X: /usr/lib/hive/lib/native /universal/cacerts.pe m Hortonworks Inc. Page 54
55 Key Default Value Description AsyncExecPollInterval 100 The time in millisecond between each poll for the status of an asynchronous query execution. Note: Asynchronous execution here doesn t mean ODBC asynchronous operations are supported; it only means the RPC call used to execute a query against Hive is asynchronous. (Optional) ForceSynchronousExec 0 Used to force the driver to do synchronous query execution when connected to HDInsight cluster. Set to 1 to enable. Set to 0 to disable. Note: This configuration is only applicable to HDInsight clusters and will be ignored when connecting to non- HDInsight clusters. (Optional) DelegationUID Used to delegate all operation against Hive to a user that is different than the authenticated user for the connection. Note: This setting is only applicable when connecting to a Hive Server 2 that supports this feature. Otherwise this setting will not take any effect. (Optional) DriverConfigTakePrecedence 0 Allow driver wide configurations take precedence over connection and DSN settings. GetTablesWithQuery 0 Control whether to retrieve the names of tables in a database using the GET TABLES query instead of the GetTables Thrift API call. Note: This setting is only applicable when connecting to Hive Server 2. Set to 1 to enable. Set to 0 to disable. (Optional) WebHDFSHost The Hive Server host. The hostname or IP address of the machine hosting both the namenode of your Hadoop cluster and the WebHDFS service. (Optional) WebHDFSPort The WebHDFS port for the namenode. (Optional) HDFSUser hdfs The name of the HDFS user that the Hortonworks Inc. Page 55
56 Key Default Value Description driver will use to create the necessary files for supporting the Temporary Table feature. (Optional) HDFSTempTableDir /tmp/simba The HDFS directory that the driver will use to store the necessary files for supporting the Temporary Table feature. Note: Due to a bug in Hive (see VE-4554) space characters in HDFS path will not work with versions of Hive prior to (Optional) TempTableTTL 10 The number of minute a temporary table is guaranteed to exist in Hive after it is created. (Optional) ADUserNameCase Unchanged Control whether the driver should change the user name part of an AD Kerberos UPN to all upper case, all lower case, or remain unchanged. Set to Upper to change the user name to all upper case. Set to Lower to change the user name to all lower case. Set to Unchanged leave the user name unmodified. Note: This only used when using Active Directory Kerberos from a Windows client machine to authenticate. (Optional) ShowHiveSystemTable 0 Controls whether the driver returns SQL_WVARCHAR or SQL_VARCHAR for STRING and VARCHAR columns and SQL_WCHAR or SQL_CHAR for CHAR columns. Set to 0 to return SQL_VARCHAR/SQL_CHAR Set to 1 to return SQL_WVARCHAR/SQL_WCHAR Hortonworks Inc. Page 56
57 Key Default Value Description UseUnicodeSqlCharacterTypes 0 Controls whether the driver returns the HIVE_SYSTEM table for catalog function calls such as SQLTables and SQLColumns. Table 1 Driver Configuration Options Set to 0 to not return the HIVE_SYSTEM table Set to 1 to return the HIVE_SYSTEM table Hortonworks Inc. Page 57
58 Appendix D: Temporary Table CREATE TABLE and INSERT Statements Temporary Table CREATE TABLE Statement The following DDL syntax for creating temporary table is supported: <create table statement> := CREATE TABLE <temporary table name> <left paren><column definition list><right paren> <column definition list> := <column definition>[, <column definition>]* <column definition> := <column name> <data type> <temporary table name> := <double quote><number sign><table name><double quote> <left paren> := ( <right paren> := ) <double quote> := " <number sign> := # The following is an example of a CREATE TABLE SQL statement for creating a temporary table: CREATE TABLE "#TEMPTABLE1" (C1 DATATYPE_1, C2 DATATYPE_2,, Cn DATATYPE_n) Note: The temporary table name in a SQL query must be surrounded by double quotes and the name must begin with a number sign. Note: Data types are limited by the set of data types supported by Hive. Temporary Table INSERT Statement The following is the supported INSERT syntax for temporary table: <insert statement> := INSERT INTO <temporary table name> <left paren><column name list><right paren> VALUES <left paren><literal value list><right paren> <column name list> := <column name>[, <column name>]* <literal value list> := <literal value>[, <literal value>]* <temporary table name> := <double quote><number sign><table name><double quote> <left paren> := ( <right paren> := ) <double quote> := " <number sign> := # Hortonworks Inc. Page 58
59 The following is an example of temporary table INSERT statement: INSERT INTO "#TEMPTABLE1" values (VAL(C1), VAL(C2) VAL(Cn) ) VAL(C1) is the literal value for the first column in the table, and VAL(Cn) is the literal value for the nth column in the table. Note: INSERT statement is only supported for temporary table. Hortonworks Inc. Page 59
60 Third Party Trademarks Cyrus SASL Architecting the Future of Big Data Copyright (c) Carnegie Mellon University. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name "Carnegie Mellon University" must not be used to endorse or promote products derived from this software without prior written permission. For permission or any other legal details, please contact Office of Technology Transfer Carnegie Mellon University 5000 Forbes Avenue Pittsburgh, PA (412) , fax: (412) Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes software developed by Computing Services at Carnegie Mellon University ( CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ICU License - ICU and later COPYRIGHT AND PERMISSION NOTICE Copyright (c) International Business Machines Corporation and others. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, provided that the above copyright notice(s) and this permission notice appear in all copies of the Software and that both the above copyright notice(s) and this permission notice appear in supporting documentation. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder. All trademarks and registered trademarks mentioned herein are the property of their respective owners. Hortonworks Inc. Page 60
61 OpenSSL Copyright (c) The OpenSSL Project. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgment: "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. ( 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact 5. Products derived from this software may not be called "OpenSSL" nor may "OpenSSL" appear in their names without prior written permission of the OpenSSL Project. 6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit ( THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Apache Hive Copyright The Apache Software Foundation. Apache Thrift Copyright The Apache Software Foundation. Hortonworks Inc. Page 61
62 Expat "Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NOINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." About Hortonworks Hortonworks is a leading commercial vendor of Apache Hadoop, the preeminent open source platform for storing, m anaging and analyzing big data. Hortonworks Data Platform provides an open and stable foundation for enterprises and a growing ecosystem to build and deploy big data solutions. Hortonworks is the trusted source for information on Hadoop, and together with the Apache community, Hortonworks is making Hadoop easier to install, manage and use. Hortonworks provides technical support, training & certification programs for enterprises, systems integrator s & technology vendors West Bayshore Rd. Palo Alto, CA USA US: International:
Architecting the Future of Big Data
Hive ODBC Driver User Guide Revised: July 22, 2013 2012-2013 Hortonworks Inc. All Rights Reserved. Parts of this Program and Documentation include proprietary software and content that is copyrighted and
Cloudera ODBC Driver for Apache Hive Version 2.5.5
Cloudera ODBC Driver for Apache Hive Version 2.5.5 Important Notice 2010-2013 Cloudera, Inc. All rights reserved. Cloudera, the Cloudera logo, Cloudera Impala, Impala, and any other product or service
Architecting the Future of Big Data
Hive ODBC Driver User Guide Revised: October 1, 2012 2012 Hortonworks Inc. All Rights Reserved. Parts of this Program and Documentation include proprietary software and content that is copyrighted and
Cloudera ODBC Driver for Apache Hive Version 2.5.16
Cloudera ODBC Driver for Apache Hive Version 2.5.16 Important Notice 2010-2015 Cloudera, Inc. All rights reserved. Cloudera, the Cloudera logo, Cloudera Impala, Impala, and any other product or service
Simba ODBC Driver with SQL Connector for Apache Hive
Simba ODBC Driver with SQL Connector for Apache Hive Installation and Configuration Guide Oct 23, 2013 Simba Technologies Inc. Copyright 2012-2013 Simba Technologies Inc. All Rights Reserved. Information
Simba ODBC Driver with SQL Connector for Apache Hive
Simba ODBC Driver with SQL Connector for Apache Hive Installation and Configuration Guide July 2, 2013 Simba Technologies Inc. Copyright 2012-2013 Simba Technologies Inc. All Rights Reserved. Information
Cloudera ODBC Driver for Impala Version 2.5.15
Cloudera ODBC Driver for Impala Version 2.5.15 Important Notice 2010-2013 Cloudera, Inc. All rights reserved. Cloudera, the Cloudera logo, Cloudera Impala, Impala, and any other product or service names
Installation and Configuration Guide Simba Technologies Inc.
Simba Apache Spark ODBC Driver with SQL Simba Technologies Inc. Version 1.1.4 April 27, 2016 Copyright 2016 Simba Technologies Inc. All Rights Reserved. Information in this document is subject to change
The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history.
Cloudera ODBC Driver for Impala 2.5.30 The release notes provide details of enhancements and features in Cloudera ODBC Driver for Impala 2.5.30, as well as the version history. The following are highlights
Installation and Configuration Guide Simba Technologies Inc.
Simba Microsoft SQL Server ODBC Installation and Configuration Guide Simba Technologies Inc. September 10, 2015 Copyright 2015 Simba Technologies Inc. All Rights Reserved. Information in this document
Simba ODBC Driver with SQL Connector for Apache Cassandra
Simba ODBC Driver with SQL Connector for Apache Cassandra Installation and Configuration Guide May 7, 2013 Simba Technologies Inc. Copyright 2012-2013 Simba Technologies Inc. All Rights Reserved. Information
SimbaEngine SDK 9.4. Build a C++ ODBC Driver for SQL-Based Data Sources in 5 Days. Last Revised: October 2014. Simba Technologies Inc.
Build a C++ ODBC Driver for SQL-Based Data Sources in 5 Days Last Revised: October 2014 Simba Technologies Inc. Copyright 2014 Simba Technologies Inc. All Rights Reserved. Information in this document
FileMaker 12. ODBC and JDBC Guide
FileMaker 12 ODBC and JDBC Guide 2004 2012 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
How to Install and Configure EBF15328 for MapR 4.0.1 or 4.0.2 with MapReduce v1
How to Install and Configure EBF15328 for MapR 4.0.1 or 4.0.2 with MapReduce v1 1993-2015 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic,
FileMaker 11. ODBC and JDBC Guide
FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
Integrating SAP BusinessObjects with Hadoop. Using a multi-node Hadoop Cluster
Integrating SAP BusinessObjects with Hadoop Using a multi-node Hadoop Cluster May 17, 2013 SAP BO HADOOP INTEGRATION Contents 1. Installing a Single Node Hadoop Server... 2 2. Configuring a Multi-Node
RSA Security Analytics
RSA Security Analytics Event Source Log Configuration Guide Microsoft SQL Server Last Modified: Thursday, July 30, 2015 Event Source Product Information: Vendor: Microsoft Event Source: SQL Server Versions:
FileMaker 13. ODBC and JDBC Guide
FileMaker 13 ODBC and JDBC Guide 2004 2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc.
QlikView, Creating Business Discovery Application using HDP V1.0 March 13, 2014
QlikView, Creating Business Discovery Application using HDP V1.0 March 13, 2014 Introduction Summary Welcome to the QlikView (Business Discovery Tools) tutorials developed by Qlik. The tutorials will is
ODBC Driver Version 4 Manual
ODBC Driver Version 4 Manual Revision Date 12/05/2007 HanDBase is a Registered Trademark of DDH Software, Inc. All information contained in this manual and all software applications mentioned in this manual
System Administration Training Guide. S100 Installation and Site Management
System Administration Training Guide S100 Installation and Site Management Table of contents System Requirements for Acumatica ERP 4.2... 5 Learning Objects:... 5 Web Browser... 5 Server Software... 5
Intellicus Enterprise Reporting and BI Platform
Working with Database Connections Intellicus Enterprise Reporting and BI Platform Intellicus Technologies [email protected] www.intellicus.com Copyright 2013 Intellicus Technologies This document and
Creating Connection with Hive
Creating Connection with Hive Intellicus Enterprise Reporting and BI Platform Intellicus Technologies [email protected] www.intellicus.com Creating Connection with Hive Copyright 2010 Intellicus Technologies
Connecting to Delta College Exchange services off-campus
Connecting to Delta College Exchange services off-campus The following instructions are provided to document the client configuration used to connect to Microsoft Exchange services at Delta College from
enicq 5 System Administrator s Guide
Vermont Oxford Network enicq 5 Documentation enicq 5 System Administrator s Guide Release 2.0 Published November 2014 2014 Vermont Oxford Network. All Rights Reserved. enicq 5 System Administrator s Guide
Creating a universe on Hive with Hortonworks HDP 2.0
Creating a universe on Hive with Hortonworks HDP 2.0 Learn how to create an SAP BusinessObjects Universe on top of Apache Hive 2 using the Hortonworks HDP 2.0 distribution Author(s): Company: Ajay Singh
User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream
User Manual Onsight Management Suite Version 5.1 Another Innovation by Librestream Doc #: 400075-06 May 2012 Information in this document is subject to change without notice. Reproduction in any manner
Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013
Simba XMLA Provider for Oracle OLAP 2.0 April 23, 2013 Simba Technologies Inc. Copyright 2013 Simba Technologies Inc. All Rights Reserved. Information in this document is subject to change without notice.
4D v1x ODBC Driver INSTALLATION GUIDE
INSTALLATION GUIDE Open Database Connectivity Standard (ODBC) is an open standard application programming interface (API) used to access one or more databases from a single application. In order to set
Reconfiguring VMware vsphere Update Manager
Reconfiguring VMware vsphere Update Manager vsphere Update Manager 6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a
FileMaker Server 12. FileMaker Server Help
FileMaker Server 12 FileMaker Server Help 2010-2012 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc.
Plug-In for Informatica Guide
HP Vertica Analytic Database Software Version: 7.0.x Document Release Date: 2/20/2015 Legal Notices Warranty The only warranties for HP products and services are set forth in the express warranty statements
Active Directory Management. Agent Deployment Guide
Active Directory Management Agent Deployment Guide Document Revision Date: April 26, 2013 Active Directory Management Deployment Guide i Contents System Requirements... 1 Hardware Requirements... 2 Agent
Connecting LISTSERV to an Existing Database Management System (DBMS)
Whitepaper Connecting LISTSERV to an Existing Database Management System (DBMS) September 14, 2010 Copyright 2010 L-Soft international, Inc. Information in this document is subject to change without notice.
NetIQ Sentinel 7.0.1 Quick Start Guide
NetIQ Sentinel 7.0.1 Quick Start Guide April 2012 Getting Started Use the following information to get Sentinel installed and running quickly. Meeting System Requirements on page 1 Installing Sentinel
STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS
STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS Notes 1. The installation of STATISTICA Enterprise Small Business entails two parts: a) a server installation, and b)
Cloud Services ADM. Agent Deployment Guide
Cloud Services ADM Agent Deployment Guide 10/15/2014 CONTENTS System Requirements... 1 Hardware Requirements... 1 Installation... 2 SQL Connection... 4 AD Mgmt Agent... 5 MMC... 7 Service... 8 License
FmPro Migrator - FileMaker to SQL Server
FmPro Migrator - FileMaker to SQL Server FmPro Migrator - FileMaker to SQL Server 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 FmPro Migrator - FileMaker to SQL Server Migration
Matisse Installation Guide for MS Windows. 10th Edition
Matisse Installation Guide for MS Windows 10th Edition April 2004 Matisse Installation Guide for MS Windows Copyright 1992 2004 Matisse Software Inc. All Rights Reserved. Matisse Software Inc. 433 Airport
ODBC Client Driver Help. 2015 Kepware, Inc.
2015 Kepware, Inc. 2 Table of Contents Table of Contents 2 4 Overview 4 External Dependencies 4 Driver Setup 5 Data Source Settings 5 Data Source Setup 6 Data Source Access Methods 13 Fixed Table 14 Table
DameWare Server. Administrator Guide
DameWare Server Administrator Guide About DameWare Contact Information Team Contact Information Sales 1.866.270.1449 General Support Technical Support Customer Service User Forums http://www.dameware.com/customers.aspx
Quick Start Guide for VMware and Windows 7
PROPALMS VDI Version 2.1 Quick Start Guide for VMware and Windows 7 Rev. 1.1 Published: JULY-2011 1999-2011 Propalms Ltd. All rights reserved. The information contained in this document represents the
Set Up Hortonworks Hadoop with SQL Anywhere
Set Up Hortonworks Hadoop with SQL Anywhere TABLE OF CONTENTS 1 INTRODUCTION... 3 2 INSTALL HADOOP ENVIRONMENT... 3 3 SET UP WINDOWS ENVIRONMENT... 5 3.1 Install Hortonworks ODBC Driver... 5 3.2 ODBC Driver
STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER
Notes: STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER 1. These instructions focus on installation on Windows Terminal Server (WTS), but are applicable
Active Directory Management. Agent Deployment Guide
Active Directory Management Agent Deployment Guide Document Revision Date: June 12, 2014 Active Directory Management Deployment Guide i Contents System Requirements...1 Hardware Requirements...1 Installation...3
NSi Mobile Installation Guide. Version 6.2
NSi Mobile Installation Guide Version 6.2 Revision History Version Date 1.0 October 2, 2012 2.0 September 18, 2013 2 CONTENTS TABLE OF CONTENTS PREFACE... 5 Purpose of this Document... 5 Version Compatibility...
Installation Instruction STATISTICA Enterprise Small Business
Installation Instruction STATISTICA Enterprise Small Business Notes: ❶ The installation of STATISTICA Enterprise Small Business entails two parts: a) a server installation, and b) workstation installations
OpenScape Business V2
OpenScape Business V2 Description Open Directory Service ODBC-ODBC Bridge Version 1.0 Table of Contents 1. Overview 5 1.1. ODBC-Bridge Client 5 1.2. ODBC-Server 6 1.3. Access Control 6 1.4. Licensing 7
Embarcadero Performance Center 2.7 Installation Guide
Embarcadero Performance Center 2.7 Installation Guide Copyright 1994-2009 Embarcadero Technologies, Inc. Embarcadero Technologies, Inc. 100 California Street, 12th Floor San Francisco, CA 94111 U.S.A.
DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014
DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014 Contents Overview... 2 System requirements:... 2 Before installing... 3 Download and installation... 3 Configure DESLock+ Enterprise Server...
Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06
Voyager Reporting System (VRS) Installation Guide Revised 5/09/06 System Requirements Verification 1. Verify that the workstation s Operating System is Windows 2000 or Higher. 2. Verify that Microsoft
How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint 3.5.5 On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2
DocAve 6 Service Pack 1 Installation Guide Revision C Issued September 2012 1 Table of Contents About the Installation Guide... 4 Submitting Documentation Feedback to AvePoint... 4 Before You Begin...
PowerSchool Student Information System
Oracle ODBC Configuration and Client Installation Guide PowerSchool Student Information System Released July 9, 2008 Document Owner: Documentation Services This edition applies to Release 5.2 of the PowerSchool
ODBC Overview and Information
Appendix A ODBC ODBC Overview and Information ODBC, (Open Database Connectivity), is Microsoft s strategic interface for accessing data in an environment of relational and non-relational database management
Cloudera Backup and Disaster Recovery
Cloudera Backup and Disaster Recovery Important Notice (c) 2010-2013 Cloudera, Inc. All rights reserved. Cloudera, the Cloudera logo, Cloudera Impala, and any other product or service names or slogans
Introduction to Mobile Access Gateway Installation
Introduction to Mobile Access Gateway Installation This document describes the installation process for the Mobile Access Gateway (MAG), which is an enterprise integration component that provides a secure
Setting Up ALERE with Client/Server Data
Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,
Product Manual. MDM On Premise Installation Version 8.1. Last Updated: 06/07/15
Product Manual MDM On Premise Installation Version 8.1 Last Updated: 06/07/15 Parallels IP Holdings GmbH Vordergasse 59 8200 Schaffhausen Switzerland Tel: + 41 52 632 0411 Fax: + 41 52 672 2010 www.parallels.com
WhatsUp Gold v16.2 Database Migration and Management Guide
WhatsUp Gold v16.2 Database Migration and Management Guide Contents CHAPTER 1 How to use this guide CHAPTER 2 Migrating the WhatsUp Gold Microsoft SQL Server 2008 R2 Express Edition database to Microsoft
FileMaker Server 11. FileMaker Server Help
FileMaker Server 11 FileMaker Server Help 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered
OnCommand Performance Manager 1.1
OnCommand Performance Manager 1.1 Installation and Setup Guide For Red Hat Enterprise Linux NetApp, Inc. 495 East Java Drive Sunnyvale, CA 94089 U.S. Telephone: +1 (408) 822-6000 Fax: +1 (408) 822-4501
ACE Management Server Administrator s Manual VMware ACE 2.6
ACE Management Server Administrator s Manual VMware ACE 2.6 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition.
Using DC Agent for Transparent User Identification
Using DC Agent for Transparent User Identification Using DC Agent Web Security Solutions v7.7, 7.8 If your organization uses Microsoft Windows Active Directory, you can use Websense DC Agent to identify
FileMaker Server 14. FileMaker Server Help
FileMaker Server 14 FileMaker Server Help 2007 2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks
Sysax Multi Server User manual
Sysax Multi Server User manual Table of Contents 1. Introduction to Sysax Multi Server... 1 1.1. Introduction to Sysax Multi Server... 2 2. Minimum System Requirements... 4 2.1. System Requirements...
Reconfiguring VMware vsphere Update Manager
Reconfiguring VMware vsphere Update Manager vsphere Update Manager 5.5 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a
New Features... 1 Installation... 3 Upgrade Changes... 3 Fixed Limitations... 4 Known Limitations... 5 Informatica Global Customer Support...
Informatica Corporation B2B Data Exchange Version 9.5.0 Release Notes June 2012 Copyright (c) 2006-2012 Informatica Corporation. All rights reserved. Contents New Features... 1 Installation... 3 Upgrade
For Active Directory Installation Guide
For Active Directory Installation Guide Version 2.5.2 April 2010 Copyright 2010 Legal Notices makes no representations or warranties with respect to the contents or use of this documentation, and specifically
Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute
Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute JMP provides a variety of mechanisms for interfacing to other products and getting data into JMP. The connection
WhatsUp Gold v16.3 Installation and Configuration Guide
WhatsUp Gold v16.3 Installation and Configuration Guide Contents Installing and Configuring WhatsUp Gold using WhatsUp Setup Installation Overview... 1 Overview... 1 Security considerations... 2 Standard
Jet Data Manager 2012 User Guide
Jet Data Manager 2012 User Guide Welcome This documentation provides descriptions of the concepts and features of the Jet Data Manager and how to use with them. With the Jet Data Manager you can transform
Use Enterprise SSO as the Credential Server for Protected Sites
Webthority HOW TO Use Enterprise SSO as the Credential Server for Protected Sites This document describes how to integrate Webthority with Enterprise SSO version 8.0.2 or 8.0.3. Webthority can be configured
Installing and Configuring vcloud Connector
Installing and Configuring vcloud Connector vcloud Connector 2.7.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new
Team Foundation Server 2012 Installation Guide
Team Foundation Server 2012 Installation Guide Page 1 of 143 Team Foundation Server 2012 Installation Guide Benjamin Day [email protected] v1.0.0 November 15, 2012 Team Foundation Server 2012 Installation
ODBC Driver Guide. Installation and Configuration. Freezerworks Unlimited Version 6.0
ODBC Driver Guide Installation and Configuration Freezerworks Unlimited Version 6.0 PO Box 174 Mountlake Terrace, WA 98043 www.freezerworks.com [email protected] 425-673-1974 877-289-7960 U.S. Toll
Windows XP Exchange Client Installation Instructions
WINDOWS XP with Outlook 2003 or Outlook 2007 1. Click the Start button and select Control Panel: 2. If your control panel looks like this: Click Switch to Classic View. 3. Double click Mail. 4. Click show
FileMaker Server 10 Help
FileMaker Server 10 Help 2007-2009 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker, the file folder logo, Bento and the Bento logo
Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions
HOSTING Administrator Control Panel / Quick Reference Guide Page 1 of 9 Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions Exchange 2010 Outlook Profile Setup Page 2 of 9 Exchange
Data Access Guide. BusinessObjects 11. Windows and UNIX
Data Access Guide BusinessObjects 11 Windows and UNIX 1 Copyright Trademarks Use restrictions Patents Copyright 2004 Business Objects. All rights reserved. If you find any problems with this documentation,
User's Guide. Product Version: 2.5.0 Publication Date: 7/25/2011
User's Guide Product Version: 2.5.0 Publication Date: 7/25/2011 Copyright 2009-2011, LINOMA SOFTWARE LINOMA SOFTWARE is a division of LINOMA GROUP, Inc. Contents GoAnywhere Services Welcome 6 Getting Started
Installation Guidelines (MySQL database & Archivists Toolkit client)
Installation Guidelines (MySQL database & Archivists Toolkit client) Understanding the Toolkit Architecture The Archivists Toolkit requires both a client and database to function. The client is installed
Lepide Active Directory Self Service. Configuration Guide. Follow the simple steps given in this document to start working with
Lepide Active Directory Self Service Configuration Guide 2014 Follow the simple steps given in this document to start working with Lepide Active Directory Self Service Table of Contents 1. Introduction...3
FileMaker Server 13. FileMaker Server Help
FileMaker Server 13 FileMaker Server Help 2010-2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker,
Configuring Security Features of Session Recording
Configuring Security Features of Session Recording Summary This article provides information about the security features of Citrix Session Recording and outlines the process of configuring Session Recording
WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express
WhatsUp Gold v16.1 Database Migration and Management Guide Learn how to migrate a WhatsUp Gold database from Microsoft SQL Server 2008 R2 Express Edition to Microsoft SQL Server 2005, 2008, or 2008 R2
Crystal Reports Installation Guide
Crystal Reports Installation Guide Version XI Infor Global Solutions, Inc. Copyright 2006 Infor IP Holdings C.V. and/or its affiliates or licensors. All rights reserved. The Infor word and design marks
Cloudera Backup and Disaster Recovery
Cloudera Backup and Disaster Recovery Important Note: Cloudera Manager 4 and CDH 4 have reached End of Maintenance (EOM) on August 9, 2015. Cloudera will not support or provide patches for any of the Cloudera
FileMaker Server 13. Getting Started Guide
FileMaker Server 13 Getting Started Guide 2007 2013 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker,
MICROSTRATEGY 9.3 Supplement Files Setup Transaction Services for Dashboard and App Developers
NOTE: You can use these instructions to configure instructor and student machines. Software Required Microsoft Access 2007, 2010 MicroStrategy 9.3 Microsoft SQL Server Express 2008 R2 (free from Microsoft)
IceWarp Server Windows Installation Guide
IceWarp Unified Communications IceWarp Server Windows Installation Guide Version 11.3 Published on 2/6/2015 Contents IceWarp Server Windows... 4 Pre-requisites... 5 Launch Installer Wizard... 6 Select
There are numerous ways to access monitors:
Remote Monitors REMOTE MONITORS... 1 Overview... 1 Accessing Monitors... 1 Creating Monitors... 2 Monitor Wizard Options... 11 Editing the Monitor Configuration... 14 Status... 15 Location... 17 Alerting...
Colligo Engage Windows App 7.0. Administrator s Guide
Colligo Engage Windows App 7.0 Administrator s Guide Contents Introduction... 3 Target Audience... 3 Overview... 3 Localization... 3 SharePoint Security & Privileges... 3 System Requirements... 4 Software
DEPLOYMENT GUIDE Version 1.2. Deploying the BIG-IP system v10 with Microsoft Exchange Outlook Web Access 2007
DEPLOYMENT GUIDE Version 1.2 Deploying the BIG-IP system v10 with Microsoft Exchange Outlook Web Access 2007 Table of Contents Table of Contents Deploying the BIG-IP system v10 with Microsoft Outlook Web
FileMaker 14. ODBC and JDBC Guide
FileMaker 14 ODBC and JDBC Guide 2004 2015 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and FileMaker Go are trademarks of FileMaker,
VMware Identity Manager Connector Installation and Configuration
VMware Identity Manager Connector Installation and Configuration VMware Identity Manager This document supports the version of each product listed and supports all subsequent versions until the document
Querying Databases Using the DB Query and JDBC Query Nodes
Querying Databases Using the DB Query and JDBC Query Nodes Lavastorm Desktop Professional supports acquiring data from a variety of databases including SQL Server, Oracle, Teradata, MS Access and MySQL.
SMART Sync 2011. Windows operating systems. System administrator s guide
SMART Sync 2011 Windows operating systems System administrator s guide Trademark notice SMART Sync, smarttech and the SMART logo are trademarks or registered trademarks of SMART Technologies ULC in the
Trusted RUBIX TM. Version 6. ODBC Guide. Revision 7 RELATIONAL DATABASE MANAGEMENT SYSTEM TEL +1-202-412-0152. Infosystems Technology, Inc.
Trusted RUBIX TM Version 6 ODBC Guide Revision 7 RELATIONAL DATABASE MANAGEMENT SYSTEM Infosystems Technology, Inc. 4 Professional Dr - Suite 118 Gaithersburg, MD 20879 TEL +1-202-412-0152 1981, 2014 Infosystems
Archive Attender Version 3.5
Archive Attender Version 3.5 Getting Started Guide Sherpa Software (800) 255-5155 www.sherpasoftware.com Page 1 Under the copyright laws, neither the documentation nor the software can be copied, photocopied,
Setting Up SSL on IIS6 for MEGA Advisor
Setting Up SSL on IIS6 for MEGA Advisor Revised: July 5, 2012 Created: February 1, 2008 Author: Melinda BODROGI CONTENTS Contents... 2 Principle... 3 Requirements... 4 Install the certification authority
