ChenSammi commented on PR #3350: URL: https://github.com/apache/ozone/pull/3350#issuecomment-1118247547
> The problem I think is the content of the topology, in `network-topology-default.xml`, the topology is "/datacenter/rack/node", which is a 4 level topology, including "root, datacenter, rack and node", but the trick thing in "NodeSchemaLoader" is it ignores the first "/" so the schema becomes "datacenter/rack/node", which becomes a 3 level topology which fits the default setting for datanodes, that is "/default-rack/node1". > In network-topology-default.xml, "datacenter" is just the name ID of the root layer in this topology configuration file. Please don't treat the "/" in topology configuration file the same as "/" in code. The "/" in topology configuration file is just a separator between different layers. So the ID "datacenter" doesn't introduce a new layer. Does this answer your question? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
