[
https://issues.apache.org/jira/browse/HADOOP-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jakob Homan updated HADOOP-5258:
--------------------------------
Attachment: HADOOP-5258.patch
Patch:
* Implements new dfsAdmin command -printTopology that prints out a tree of
the racks and their attached nodes:
{noformat}
Rack: /default-rack
1.4.7.10:54726 (host1.domain.com)
2.5.8.11:59142 (host2.domain.com)
3.6.9.12:56643 (host3.domain.com)
etc...
{noformat}
This will allow the user to see the topology as the namenode currently sees
it.
* Provides a unit test for this new command. To test this I had to create a
new type of test comparator in TestCLI, which is also included.
* Moves a helper function that attempts to resolve an ip into a hostname
from DatanoderReport to the utils class, as it was needed again for this patch.
> Provide dfsadmin functionality to report on namenode's view of network
> topology
> -------------------------------------------------------------------------------
>
> Key: HADOOP-5258
> URL: https://issues.apache.org/jira/browse/HADOOP-5258
> Project: Hadoop Core
> Issue Type: New Feature
> Reporter: Jakob Homan
> Assignee: Jakob Homan
> Attachments: HADOOP-5258.patch
>
>
> As discussed in HADOOP-4954, it would be useful to be able to query the
> namenode to its current view on the network topology of racks and datanodes.
> This would allow ops to compare what the namenode sees with what they expect
> it to see.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.