Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> Single parameter HTable constructors gone in 0.94 without warning


Copy link to this message
-
Re: Single parameter HTable constructors gone in 0.94 without warning
Thanks Ted!

J-D

On Sat, Aug 25, 2012 at 3:59 PM, Ted Yu <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>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
>>