Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.0.1, 1.0.2, 2.0.0-alpha, 3.0.0-alpha1
-
None
-
None
-
None
Description
The BlockManager cross-rack replication checks only works if script files are used for replication, not if alternate plugins provide the topology information.
This is because the BlockManager sets its rack checking flag if there is a filename key
shouldCheckForEnoughRacks = conf.get(DFSConfigKeys.NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY) != null;
yet this filename key is only used if the topology mapper defined by
DFSConfigKeys.NET_TOPOLOGY_NODE_SWITCH_MAPPING_IMPL_KEY
is an instance of ScriptBasedMapping
If any other mapper is used, the system may be multi rack, but the Block Manager will not be aware of this fact unless the filename key is set to something non-null
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-8046 Revert StaticMapping semantics to the existing ones, add DNS mapping diagnostics in progress
- Resolved
-
HADOOP-7878 Regression HADOOP-7777 switch changes break HDFS tests when the isSingleSwitch() predicate is used
- Closed
-
HADOOP-8630 rename isSingleSwitch() methods in new topo base class to isFlatTopology()
- Resolved
-
HADOOP-7777 Implement a base class for DNSToSwitchMapping implementations that can offer extra topology information
- Closed
-
HADOOP-7772 javadoc the topology classes
- Closed
- is depended upon by
-
HADOOP-8091 Add a topology mapper that reads hostname to rack mappings from a Java properties file
- Resolved
-
HDFS-2472 Extend UnderReplicatedBlocks queue to give blocks whose existing copies are all on a single rack priority over multi-rack blocks
- Open
- is related to
-
HADOOP-8231 Make topologies easier to set up and debug
- Open