hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Zhang <zjf...@gmail.com>
Subject Question about the hbase source code
Date Mon, 28 Dec 2009 02:19:04 GMT
Hi all,

I am interested to know the internal implementation of hbase, so I'd like to
deep into the source source.
I found that the variable onlineRegions in HRegionServer is a map type and
the key is the hashcode of region name. So wont't it cause conflict ? I mean
tow region name may have the same hashcode. Or does the hash code
implemetation guarantee that two region name won't have the same hashcode ?

Thank you

Jeff Zhnag

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