Home Forums Hortonworks Sandbox Beeswax wont return data

This topic contains 3 replies, has 3 voices, and was last updated by  Aleksandar Sargic 7 months, 2 weeks ago.

  • Creator
    Topic
  • #46295

    Tom Barrand
    Member

    Hi,

    I am using the sandbox and following the tutorial and whenever I run a simple query using Beeswax like the tutorial says it just errors (see below) Any ideas?

    [03/Jan/2014 09:11:38 +0000] access WARNING 10.0.2.2 hue – “GET /logs HTTP/1.0″
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_tables returned in 4ms: ['nyse_stock', 'sample_07', 'sample_08']
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call: <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_tables(args=(‘default’, ‘.*’), kwargs={})
    [03/Jan/2014 08:37:42 +0000] views DEBUG Getting database name from argument
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_all_databases returned in 5ms: ['default']
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call: <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_all_databases(args=(), kwargs={})
    [03/Jan/2014 08:37:42 +0000] access INFO 10.0.2.2 hue – “GET /hcatalog/databases/json HTTP/1.0″
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_all_databases returned in 3ms: ['default']
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call: <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_all_databases(args=(), kwargs={})
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_tables returned in 5ms: ['nyse_stock', 'sample_07', 'sample_08']
    [03/Jan/2014 08:37:42 +0000] thrift_util DEBUG Thrift call: <class ‘hive_metastore.ThriftHiveMetastore.Client’>.get_tables(args=(‘default’, ‘.*’), kwargs={})
    [03/Jan/2014 08:37:42 +0000] access INFO 10.0.2.2 hue – “GET /beeswax/ HTTP/1.0″
    [03/Jan/2014 08:37:07 +0000] access WARNING 10.0.2.2 hue – “GET /logs HTTP/1.0″
    [03/Jan/2014 08:37:04 +0000] middleware INFO Processing exception: Error occurred executing hive query: Unknown exception.: 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/base.py”, line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
    File “/usr/lib/hue/apps/beeswax/src/beeswax/views.py”, line 70, in index
    return execute_query(request)
    File “/usr/lib/hue/apps/beeswax/src/beeswax/views.py”, line 554, in execute_query
    return execute_directly(request, query, query_server, design, on_success_url=on_success_url, download=download)
    File “/usr/lib/hue/apps/beeswax/src/beeswax/views.py”, line 1242, in execute_directly
    raise PopupException(_(‘Error occurred executing hive query: ‘ + error_message))
    PopupException: Error occurred executing hive query: Unknown exception.
    [03/Jan/2014 08:37:04 +0000] thrift_util DEBUG Thrift call <class ‘beeswaxd.BeeswaxService.Client’>.get_log returned in 0ms

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #51551

    Aleksandar Sargic
    Participant

    Tom,

    Did you ever get a resolution to this? I am having the exact same problem?

    Collapse
    #46297

    Tom Barrand
    Member

    Hi Dave,

    Just the basic one like this

    Select * from nyse_stocks

    I can see that the table exists

    Thanks

    Tom

    Collapse
    #46296

    Dave
    Moderator

    Hi Tom,

    What query exactly are you running?

    Thanks

    Dave

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)