You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2007/03/19 22:27:32 UTC

[jira] Updated: (HADOOP-1133) Tools to analyze and debug namenode on a production cluster

     [ https://issues.apache.org/jira/browse/HADOOP-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dhruba borthakur updated HADOOP-1133:
-------------------------------------

    Attachment: metasave.patch

Here is a tool that is invoked as follows:

bin/hadoop dfsadmin -metasave <filename>

The namenode dumps its primary data structures into a file specified by the above command. It creates the file in the directory specified by a system property "hadoop.log.dir".

The tools dumps one line for each of the following:

1. Datanodes that the namenode is heartbeating with
2. Blocks that are waiting replication
3. Blocks that are currently being replicated
4. Blocks that are waiting to be deleted

Comments welcome.

> Tools to analyze and debug namenode on a production cluster
> -----------------------------------------------------------
>
>                 Key: HADOOP-1133
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1133
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>         Attachments: metasave.patch
>
>
> I would like to have a tool that dumps namenode data structures to a log file. This is especially useful in debugging a production cluster where attaching a debugger to the namenode is not a feasible option.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.