hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehdi Ben Haj Abbes <mehdi.ab...@gmail.com>
Subject HTableDescriptor.hasFamily not working as expected
Date Fri, 04 Dec 2015 10:09:15 GMT
Hi folks,

I'm new to HBase client java API and using 0.98.4-hadoop2 version.

I need to check if a column family does exit even if it does not have any
rows in it.
The problem is that HTableDescriptor.hasFamily returns false for an empty
column family so if I try to create it I will have an exception stating
that the CF is already existing.

Any help will be more than appreciated.

Regard,


-- 
Mehdi BEN HAJ ABBES

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message