Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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!