HTable vs HTableInterface

322 views
Skip to first unread message

Ionut

unread,
Dec 6, 2011, 4:46:16 AM12/6/11
to HBaseWD - Distribute Sequential HBase Writes
I suggest you in the next version of HBaseWD, the
DistributedScanner.create() should work with HTableInterface instead
of HTable. It's strongly recommended to program against interface
rather than against classes. Much more, using a HBase table pool you
have to handle HTableInterface.

Alex Baranau

unread,
Apr 12, 2012, 11:45:45 PM4/12/12
to hba...@googlegroups.com
Makes sense, thanx!

I think it wasn't used so far as it is relatively new class in HBase API (from javadoc: @since 0.21.0, while current HBaseWD supports 0.20.5+).

Alex

Otis Gospodnetic

unread,
Apr 13, 2012, 12:38:06 AM4/13/12
to hba...@googlegroups.com
Hi,

On Tuesday, December 6, 2011 4:46:16 AM UTC-5, Ionut wrote:
Good idea.  Do you mind sending a pull request?  Oh, just noticed this email is 4 months old.... :)

Otis
--
 
Reply all
Reply to author
Forward
0 new messages