empty string table_prefix fails to connect to Hbase thrift server

Bug #1173205 reported by Shengjie Min
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
High
Shengjie Min
Grizzly
Fix Committed
High
Eoghan Glynn

Bug Description

In the case of Hbase storage driver, if no table_prefix is provided, it defaults to empty string '' other than None. The empty string actually fails the connection to the hbase thrift server.

The table_prefix should simply defaults to None.

Tags: hbase
Changed in ceilometer:
assignee: nobody → shengjie min (shengjie-min)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/27651

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/27651
Committed: http://github.com/openstack/ceilometer/commit/8bcc3773ac0153f69e56508a17abf465d90492a0
Submitter: Jenkins
Branch: master

commit 8bcc3773ac0153f69e56508a17abf465d90492a0
Author: Shengjie Min <email address hidden>
Date: Sun Apr 28 16:43:12 2013 +0100

    Set hbase table_prefix default to None

    ...table_prefix default value was empty string which fails the connection to hbase thrift server. it should be set to None instead...

    Change-Id: I1339c7dad09d311f0a4e3b16d67057e3471e8c5b
    Fixes: bug #1173205

Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
tags: added: grizzly-backport-potential
removed: hbase
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/28165

Eoghan Glynn (eglynn)
tags: added: hbase
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → 2013.1.1
milestone: 2013.1.1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/grizzly)

Reviewed: https://review.openstack.org/28165
Committed: http://github.com/openstack/ceilometer/commit/966539af7d3c736b7b2903a7ca81cf277d680456
Submitter: Jenkins
Branch: stable/grizzly

commit 966539af7d3c736b7b2903a7ca81cf277d680456
Author: Shengjie Min <email address hidden>
Date: Sun Apr 28 16:43:12 2013 +0100

    Set hbase table_prefix default to None

    ...table_prefix default value was empty string which fails the connection to hbase thrift server. it should be set to None instead...

    Change-Id: I1339c7dad09d311f0a4e3b16d67057e3471e8c5b
    Fixes: bug #1173205
    (cherry picked from commit 8bcc3773ac0153f69e56508a17abf465d90492a0)

Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
Eoghan Glynn (eglynn)
Changed in ceilometer:
importance: Undecided → High
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.