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

Hue Forum

hue mysql Processing excecption

  • #58521

    hello.. i am using hue and HDP 2.1

    I was able to query and view my hive tables using Hue beeswax and Hue HCat

    I then changes from the default SQLLite database to MySQL.. All of the components in Hue are working fine except for Hive query editor and HCat

    When I try to access either I get this error in the Hue logs

    [09/Aug/2014 08:12:29 +0000] middleware INFO Processing exception: cannot import name TGetLogReq: Traceback (most recent call last):
    File “/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.2.3-py2.6.egg/django/core/handlers/”, line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File “/usr/lib/hue/apps/beeswax/src/beeswax/”, line 70, in index
    return execute_query(request)
    File “/usr/lib/hue/apps/beeswax/src/beeswax/”, line 515, in execute_query
    db = dbms.get(request.user, query_server)
    File “/usr/lib/hue/apps/beeswax/src/beeswax/server/”, line 41, in get
    from beeswax.server.hive_server2_lib import HiveServerClientCompatible, HiveServerClient
    File “/usr/lib/hue/apps/beeswax/src/beeswax/server/”, line 26, in <module>
    from TCLIService.ttypes import TOpenSessionReq, TGetTablesReq, TFetchResultsReq,\
    ImportError: cannot import name TGetLogReq

    THis was working previosuly with SQLLite.. Has anyone seen this error before ?


The forum ‘Hue’ 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.