hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1133) Tools to analyze and debug namenode on a production cluster
Date Mon, 19 Mar 2007 21:27:32 GMT

     [ 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.

View raw message