Suggestion for using SHA-512 instead of MD5

2015-02-18 Thread ashutosh jindal
Hi All, I have seen that in hbase MD5 is used to generate hash e.g. to create region name . In deployments MD5 is not considered good because of security issues related to it. Can we use SHA-512 or make it configurable . Please give your views. Regards, Ashutosh Jindal

Re: Region balancing query

2015-02-18 Thread Ted Yu
When a region splits, the two daughter regions stay on the same host as the parent region did. It is through balancing that the daughter regions (may) be assigned to other server(s). Cheers On Wed, Feb 18, 2015 at 7:35 AM, Abe Weinograd a...@flonet.com wrote: Another question, would this help

Re: Region balancing query

2015-02-18 Thread Abe Weinograd
Great. Thanks for the clarification. In 0.98.1 I thought we saw a different behavior and regions were distributed when we split. Thanks again for the help. Abe On Wed, Feb 18, 2015 at 12:01 PM, Ted Yu yuzhih...@gmail.com wrote: When a region splits, the two daughter regions stay on the same

Re: Suggestion for using SHA-512 instead of MD5

2015-02-18 Thread Andrew Purtell
We simply use MD5 to get a hash where collision probability is very small. There's no security implication, we don't use MD5 here to protect anything in a cryptographic sense. In fact we could probably use a faster algorithm with weaker collision properties for this, but MD5 is ok. On Tue, Feb

Region-level metrics being phased out?

2015-02-18 Thread Otis Gospodnetic
Hi, Are Region-level metrics here to stay? I'm asking because I remember seeing an email or JIRA comment (from Stack?) from a fe wmonths ago about some Region-level metrics being removed ... maybe that was just for one specific Region-level metric, but in general Region-level metrics are

Re: Region balancing query

2015-02-18 Thread Abe Weinograd
Another question, would this help when we split or only when we balance? Thanks, Abe On Mon, Feb 16, 2015 at 11:24 AM, Abe Weinograd a...@flonet.com wrote: balancer said true and it is not disabled. Thanks again for your help. Abe On Mon, Feb 16, 2015 at 11:23 AM, Ted Yu

Re: HTable or HConnectionManager, how a client connect to HBase?

2015-02-18 Thread Enis Söztutar
It is a bit more complex than that. It is actually a hash of some subset of the configuration properties. See HConnectionKey class if you want to learn more. But the important thing is that with the new style, you do not need to worry anything about these since there is no implicit connection

Re: Region-level metrics being phased out?

2015-02-18 Thread Stack
On Wed, Feb 18, 2015 at 1:57 PM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: Well, here are a few related things, since you're asking :) 1. Are there table-level metrics? I didn't see any in JMX. Or is one supposed to collect all region-level metrics and compute table-level metrics