The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

ODBC connection to Hive

  • #57693
    Tarun Kumar
    Participant

    Hi I have installed Hortonworks Hive ODBC driver on my Linux server. I configured .odbc.ini and .hortonworks.hiveodbc.ini as mentioned in the document. When i try to test the odbc connection using isql i get the below error. Appreciate if someone could help me on this.

    # isql -v <data source name>

    Error Trace:

    Jul 23 01:48:42 DEBUG 2010535680 HardyConnection::LogConnectionSettings: End of DSIConnSettingResponseMap.
    Jul 23 01:48:42 TRACE 2010535680 HardyConnection::Connect: +++++ enter +++++
    Jul 23 01:48:42 TRACE 2010535680 HardyThriftHiveClient::HardyThriftHiveClient: +++++ enter +++++
    Jul 23 01:48:42 TRACE 2010535680 HardyThriftHiveClient::TestConnection: +++++ enter +++++
    Jul 23 01:48:42 DEBUG 2010535680 HardyThriftHiveClient::TestConnection():
    Jul 23 01:48:42 TRACE 2010535680 HardyThriftHiveClient::ExecuteUseDatabaseQuery: +++++ enter +++++
    Jul 23 01:48:42 DEBUG 2010535680 HardyThriftHiveClient::ExecuteUseDatabaseQuery():
    Jul 23 01:49:42 ERROR 2010535680 Connection::SQLConnectW: [Hortonworks][HiveODBC] (22) Error from ThriftHiveClient: EAGAIN (timed out)
    Jul 23 01:49:42 TRACE 2010535680 CInterface::SQLGetDiagRec: +++++ enter +++++
    Jul 23 01:49:42 TRACE 2010535680 CInterface::SQLGetDiagRec: +++++ enter +++++
    Jul 23 01:49:42 TRACE 2010535680 CInterface::SQLFreeHandle: +++++ enter +++++
    Jul 23 01:49:42 TRACE 2010535680 Environment::SQLFreeHandle: +++++ enter +++++
    Jul 23 01:49:42 TRACE 2010535680 HardyConnection::~HardyConnection: +++++ enter +++++
    Jul 23 01:49:42 TRACE 2010535680 HardyConnection::Disconnect: +++++ enter +++++
    Jul 23 01:49:42 TRACE 2010535680 HardyThriftHiveClient::GetAllTablesOfDatabase: +++++ enter +++++
    Jul 23 01:49:42 DEBUG 2010535680 HardyThriftHiveClient::GetAllTablesOfDatabase(std::vector<simba_string>& out_tables, const simba_string& in_database): in_schemaName=”default”
    Jul 23 01:50:43 TRACE 2010535680 HardyThriftHiveClient::~HardyThriftHiveClient: +++++ enter +++++
    Jul 23 01:50:43 TRACE 2010535680 Driver::UnregisterConnection: +++++ enter +++++
    Jul 23 01:50:43 TRACE 2010535680 CInterface::SQLFreeHandle: +++++ enter +++++
    Jul 23 01:50:43 TRACE 2010535680 Driver::FreeEnvironment: +++++ enter +++++
    Jul 23 01:50:43 TRACE 2010535680 Driver::GetEnvironment: +++++ enter +++++
    Jul 23 01:50:43 TRACE 2010535680 Driver::UnregisterEnvironment: +++++ enter +++++
    [S1000][unixODBC][Hortonworks][HiveODBC] (22) Error from ThriftHiveClient: EAGAIN (timed out)
    [ISQL]ERROR: Could not SQLConnect
    Jul 23 01:50:43 TRACE 2010535680 HardyDriver::~HardyDriver: +++++ enter +++++

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.