From 6c14a69079f384513e9649dca16d5d5483e661f6 Mon Sep 17 00:00:00 2001 From: gord chung Date: Wed, 14 Jun 2017 17:10:59 +0000 Subject: [PATCH] deprecate hbase ain't nobody got time for this Change-Id: I8b5220798738aa02e06615e1493744d644507609 --- panko/storage/hbase/base.py | 3 +++ releasenotes/notes/deprecate-hbase-79e7e9a77fa3ad2b.yaml | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/deprecate-hbase-79e7e9a77fa3ad2b.yaml diff --git a/panko/storage/hbase/base.py b/panko/storage/hbase/base.py index 1a062aed..204dc074 100644 --- a/panko/storage/hbase/base.py +++ b/panko/storage/hbase/base.py @@ -12,6 +12,7 @@ # under the License. import os +import warnings import happybase from oslo_log import log @@ -29,6 +30,8 @@ class Connection(object): _memory_instance = None def __init__(self, url): + warnings.warn("Panko's HBase driver is now deprecated. Please use " + "another driver.") """Hbase Connection Initialization.""" opts = self._parse_connection_url(url) diff --git a/releasenotes/notes/deprecate-hbase-79e7e9a77fa3ad2b.yaml b/releasenotes/notes/deprecate-hbase-79e7e9a77fa3ad2b.yaml new file mode 100644 index 00000000..3d97cdeb --- /dev/null +++ b/releasenotes/notes/deprecate-hbase-79e7e9a77fa3ad2b.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + Panko's HBase driver is untested and unmaintained. A quick query confirms + no one cares about it. Therefore, the Hbase driver is gone and will be + removed in the following cycle.