Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-1793

[hbase] Api Error: 'NoneType' object has no attribute 'group'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 3.6.0
    • Component/s: connector.hbase
    • Labels:
      None
    • Environment:

      CDH 4.5

      Description

      Trying out the new HBase Browser app in Hue 2.5 / CDH 4.5 I get the following error when clicking on it:

      Api Error: 'NoneType' object has no attribute 'group'

      The logs show the following traceback, it looks like a Python bug in not checking the object before trying to use the group attribute:

      [16/Dec/2013 13:20:55 +0000] middleware INFO Processing exception: Api Error: 'NoneType' object has no attribute 'group': Traceback (most recent call last):
      File "/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/share/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 "/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/share/hue/apps/hbase/src/hbase/views.py", line 65, in api_router
      return api_dump(HbaseApi().query(*url_params))
      File "/opt/cloudera/parcels/CDH-4.5.0-1.cdh4.5.0.p0.30/share/hue/apps/hbase/src/hbase/api.py", line 48, in query
      raise PopupException(_("Api Error: %s") % e.message)
      PopupException: Api Error: 'NoneType' object has no attribute 'group'

      Thanks

      Hari Sekhon
      Big Data Contractor, former Clouderan
      http://www.linkedin.com/in/harisekhon

        Attachments

          Activity

            People

            • Assignee:
              abe Abraham Elmahrek
              Reporter:
              harisekhon Hari Sekhon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: