Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hadoop Rack-Awareness is only for datanode servers?

avatar
Rising Star

If this is the case,

Rack-A

Master 0 (Ambari)

Master 1 (NameNode Server 1, NameNodeHA)

Rack-B

Master 2 (NameNode Server 2, NameNodeHA)

Master 3 (Yarn, etc...)

Rack-C

Slave 1-10 (DataNode 1-10)

Rack-D

Slave 11-20 (DataNodes 11-20)

Just only set the rack awareness to datanode's racks using by ambari?

Like this

/default

: Master 0, Master 1, Master 2, Master 3

/Rack-C

: Slave 1-10

/Rack-D

: Slave 11-20

1 ACCEPTED SOLUTION

avatar

Hi @Peter Kim Rack Awareness is only used by HDFS to ensure it accurately places replicas of data off-rack, therefore it only needs to have the datanodes listed.

Hope that helps!

View solution in original post

1 REPLY 1

avatar

Hi @Peter Kim Rack Awareness is only used by HDFS to ensure it accurately places replicas of data off-rack, therefore it only needs to have the datanodes listed.

Hope that helps!