[
https://issues.apache.org/jira/browse/HDFS-14227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879762#comment-16879762
]
Íñigo Goiri commented on HDFS-14227:
------------------------------------
Does this have to do with RBF?
It might be.
This seems to query {{getDataNodeStats()}} in {{DistributedFileSystem}}.
This ultimately goes to {{RouterRpcServer#getDatanodeReport()}}.
This seems to do:
{code}
// Add the subcluster as a suffix to the network location
node.setNetworkLocation(
NodeBase.PATH_SEPARATOR_STR + ns.getNameserviceId() +
node.getNetworkLocation());
datanodesMap.put(nodeId, node);
{code}
This seems correct.
Any idea of what can be wrong?
Are you checking trunk?
> RBF:HDFS "dfsadmin -printTopology" not displaying the rack details properly
> ---------------------------------------------------------------------------
>
> Key: HDFS-14227
> URL: https://issues.apache.org/jira/browse/HDFS-14227
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.1.1
> Reporter: venkata ramkumar
> Assignee: venkata ramkumar
> Priority: Minor
> Labels: RBF
>
> namespaces : hacluster1 ,hacluster2
> under hacluster1 :(IP1, IP2)
> under hacluster2 :(IP3,IP4)
> commands :
> {noformat}
> /router/bin> ./hdfs dfsadmin -printTopology
> 19/01/24 15:12:53 WARN util.NativeCodeLoader: Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> Rack: /hacluster1/default-rack
> IP1:9866 (BLR1000021217)
> IP2:9866 (linux-110)
> IP3:9866 (linux111)
> IP4:9866 (linux112)
> {noformat}
> expected o/p:
> {noformat}
> /router/bin> ./hdfs dfsadmin -printTopology
> 19/01/24 15:12:53 WARN util.NativeCodeLoader: Unable to load native-hadoop
> library for your platform... using builtin-java classes where applicable
> Rack: /hacluster1/default-rack
> IP1:9866 (BLR1000021217)
> IP2:9866 (linux-110)
> Rack: /hacluster2/default-rack
> IP3:9866 (linux111)
> IP4:9866 (linux112)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]