One challenge writing about big data is that content can get outdated before you even finish the first sentence! Thanks to the Oracle Database Gateway for ODBC and the DataDirect Apache Hadoop Hive ODBC driver, I am confident this article is still a great read. This connectivity shifts "data gravity" back to your Oracle applications by federating data from Hadoop Hive. A common use case from Oracle shops has been to perform lookups against historical transactional data in Hadoop making it no longer necessary to schedule on demand load jobs to physically move the data.
1. Assume Oracle Database which includes the Database Gateway for ODBC (DG4ODBC) or standalone DG4ODBC is installed.
2. Download and test-connect the DataDirect ConnectXE for ODBC Apache Hadoop Hive driver on Linux.
3. Configure Database Gateway for ODBC with the exceptions noted below in the init<sid>.ora file for Hadoop Hive.
(address = (protocol = tcp)(host = localhost)(port = 1521))
(sid = Cloudera)
(hs = ok)
# HS init parameters
HS_FDS_CONNECT_INFO = Cloudera
HS_FDS_TRACE_LEVEL = OFF
HS_FDS_SHAREABLE_NAME = /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/libodbc.so
#Properties below are for DataDirect Hadoop Hive ODBC Gateway
# ODBC specific environment variables
# Environment variables required for the non-Oracle system
Description=DataDirect 7.1 Apache Hive Wire Protocol
Login to SQLPlus to create database link:
SQL> create database link bigdata connect to "test01" identified by "test01" using 'Cloudera';
Database link created.
Sumit Sarkar is a Chief Data Evangelist at Progress, with over 10 years experience working in the data connectivity field. The world's leading consultant on open data standards connectivity with cloud data, Sumit's interests include performance tuning of the data access layer for which he has developed a patent pending technology for its analysis; business intelligence and data warehousing for SaaS platforms; and data connectivity for aPaaS environments, with a focus on standards such as ODBC, JDBC, ADO.NET and ODATA. He is an IBM Certified Consultant for IBM Cognos Business Intelligence and TDWI member. He has presented sessions on data connectivity at various conferences including Dreamforce, Oracle OpenWorld, Strata Hadoop, MongoDB World and SAP Analytics and Business Objects Conference, among many others.
Subscribe to get all the news, info and tutorials you need to build better business apps and sites
Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.