Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 09-12-2016 02:58 PM - edited 09-16-2022 03:38 AM
Hi
Can we consider that with Rack awarness and 2 racks we can support the failure of one rack?
Lot of blogs and articles are saying yes. But what about Journal nodes and Zookeeper ? I'll have one rack with 2 journal nodes or zookeepers. Losing this particular rack will get my cluster down. Am I missing something ?
Created 09-12-2016 03:45 PM
Hi Tim,
Rack awareness is related to how blocks are replicated amongst a cluster, so you won't loose any data (and improve locality) by setting it; It's not related to how masters are configured, but you can ensure by configuring them accordingly that you won't get your cluster down. Note that you possibly install more than 3 zk or journal nodes (has pros and cons though)
There's a nice 2-parts article on HCC: https://community.hortonworks.com/articles/43057/rack-awareness-1.html
Created 09-12-2016 03:45 PM
Hi Tim,
Rack awareness is related to how blocks are replicated amongst a cluster, so you won't loose any data (and improve locality) by setting it; It's not related to how masters are configured, but you can ensure by configuring them accordingly that you won't get your cluster down. Note that you possibly install more than 3 zk or journal nodes (has pros and cons though)
There's a nice 2-parts article on HCC: https://community.hortonworks.com/articles/43057/rack-awareness-1.html
Created 09-13-2016 08:05 PM
Created 09-14-2016 12:35 PM
that's correct; Indeed, if you have only one JN left you'll get into troubles with namenodes going down, same thing for zookeeper which must have a quorum
from zookeeper doc : Three ZooKeeper servers is the minimum recommended size for an ensemble
Created 09-14-2016 12:44 PM
@Laurent Edel Sure, I understand the risk when the NN goes down. What happens if the active NN is still up and I loose two JNs or two ZKs ?
Created 09-14-2016 12:46 PM
if you loose 2 ZK then NN will stay up but if it goes down the failover won't occur.
if you loose 2 JNs your NNs will go down.