You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Jean-Daniel Cryans <jd...@apache.org> on 2012/08/25 00:42:13 UTC

Single parameter HTable constructors gone in 0.94 without warning

Hi dev,

While moving to 0.94 we encountered the problem that the HTable
constructors that only took the table name were removed by
https://issues.apache.org/jira/browse/HBASE-4746

Ted mentioned in a review that these constructors should be marked as
deprecated in 0.92 but it was never done.

Basically, we removed public constructor methods from HTable without notice.

I opened https://issues.apache.org/jira/browse/HBASE-6661 to fix that.

In the future we need to be more careful when changing user-facing
APIs, specifically for 0.94 this is the second time we needed to add
work arounds post-upgrade.

J-D

Re: Single parameter HTable constructors gone in 0.94 without warning

Posted by Jean-Daniel Cryans <jd...@apache.org>.
Thanks Ted!

J-D

On Sat, Aug 25, 2012 at 3:59 PM, Ted Yu <yu...@gmail.com> wrote:
> I attached patch for 0.92 to HBASE-6661
> The patch can be applied cleanly to 0.90 branch.
>
> Cheers
>
> On Fri, Aug 24, 2012 at 3:42 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
>
>> Hi dev,
>>
>> While moving to 0.94 we encountered the problem that the HTable
>> constructors that only took the table name were removed by
>> https://issues.apache.org/jira/browse/HBASE-4746
>>
>> Ted mentioned in a review that these constructors should be marked as
>> deprecated in 0.92 but it was never done.
>>
>> Basically, we removed public constructor methods from HTable without
>> notice.
>>
>> I opened https://issues.apache.org/jira/browse/HBASE-6661 to fix that.
>>
>> In the future we need to be more careful when changing user-facing
>> APIs, specifically for 0.94 this is the second time we needed to add
>> work arounds post-upgrade.
>>
>> J-D
>>

Re: Single parameter HTable constructors gone in 0.94 without warning

Posted by Ted Yu <yu...@gmail.com>.
I attached patch for 0.92 to HBASE-6661
The patch can be applied cleanly to 0.90 branch.

Cheers

On Fri, Aug 24, 2012 at 3:42 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:

> Hi dev,
>
> While moving to 0.94 we encountered the problem that the HTable
> constructors that only took the table name were removed by
> https://issues.apache.org/jira/browse/HBASE-4746
>
> Ted mentioned in a review that these constructors should be marked as
> deprecated in 0.92 but it was never done.
>
> Basically, we removed public constructor methods from HTable without
> notice.
>
> I opened https://issues.apache.org/jira/browse/HBASE-6661 to fix that.
>
> In the future we need to be more careful when changing user-facing
> APIs, specifically for 0.94 this is the second time we needed to add
> work arounds post-upgrade.
>
> J-D
>