123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <link rel="stylesheet" type="text/css" href="/static/bootstrap-3.0.2/css/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" href="/static/hadoop.css" />
- <title>Namenode information</title>
- </head>
- <body>
- <header class="navbar navbar-inverse bs-docs-nav" role="banner">
- <div class="container">
- <div class="navbar-header">
- <div class="navbar-brand">Hadoop</div>
- </div>
- <ul class="nav navbar-nav" id="ui-tabs">
- <li><a href="#tab-overview">Overview</a></li>
- <li><a href="#tab-datanode">Datanodes</a></li>
- <li><a href="#tab-snapshot">Snapshot</a></li>
- <li><a href="#tab-startup-progress">Startup Progress</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Utilities <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="explorer.html">Browse the file system</a></li>
- <li><a href="logs">Logs</a></li>
- </ul>
- </li>
- </ul>
- </div>
- </header>
- <div class="container">
- <div id="alert-panel">
- <div class="alert alert-danger">
- <button type="button" class="close" onclick="$('#alert-panel').hide();">×</button>
- <div class="alert-body" id="alert-panel-body"></div>
- </div>
- </div>
- <div class="tab-content">
- <div class="tab-pane" id="tab-overview"></div>
- <div class="tab-pane" id="tab-datanode"></div>
- <div class="tab-pane" id="tab-snapshot"></div>
- <div class="tab-pane" id="tab-startup-progress"></div>
- </div>
- <div class="row">
- <hr />
- <div class="col-xs-2"><p>Hadoop, 2014.</p></div>
- <div class="col-xs-1 pull-right"><a style="color: #ddd" href="dfshealth.jsp">Legacy UI</a></div>
- </div>
- </div>
- <script type="text/x-dust-template" id="tmpl-dfshealth">
- {#nn}
- {@if cond="{DistinctVersionCount} > 1 || '{RollingUpgradeStatus}'.length"}
- <div class="alert alert-dismissable alert-info">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- {#RollingUpgradeStatus}
- <p>Rolling upgrade started at {#helper_date_tostring value="{startTime}"/}. </br>
- {#createdRollbackImages}
- Rollback image has been created. Proceed to upgrade daemons.
- {:else}
- Rollback image has not been created.
- {/createdRollbackImages}
- </p>
- {/RollingUpgradeStatus}
- {@if cond="{DistinctVersionCount} > 1"}
- There are {DistinctVersionCount} versions of datanodes currently live:
- {#DistinctVersions}
- {key} ({value}) {@sep},{/sep}
- {/DistinctVersions}
- {/if}
- </div>
- {/if}
- {@if cond="{NumberOfMissingBlocks} > 0"}
- <div class="alert alert-dismissable alert-warning">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- <p>There are {NumberOfMissingBlocks} missing blocks. The following files may be corrupted:</p>
- <br/>
- <div class="well">
- {#CorruptFiles}
- {.}<br/>
- {/CorruptFiles}
- </div>
- <p>Please check the logs or run fsck in order to identify the missing blocks. See the Hadoop FAQ for common causes and potential solutions.</p>
- </div>
- {/if}
- {/nn}
- <div class="page-header"><h1>Overview {#nnstat}<small>'{HostAndPort}' ({State})</small>{/nnstat}</h1></div>
- {#nn}
- <table class="table table-bordered table-striped">
- <tr><th>Started:</th><td>{NNStarted}</td></tr>
- <tr><th>Version:</th><td>{Version}</td></tr>
- <tr><th>Compiled:</th><td>{CompileInfo}</td></tr>
- <tr><th>Cluster ID:</th><td>{ClusterId}</td></tr>
- <tr><th>Block Pool ID:</th><td>{BlockPoolId}</td></tr>
- </table>
- {/nn}
- <div class="page-header"><h1>Summary</h1></div>
- <p>
- Security is {#nnstat}{#SecurityEnabled}on{:else}off{/SecurityEnabled}{/nnstat}.</p>
- <p>{#nn}{#Safemode}{.}{:else}Safemode is off.{/Safemode}{/nn}</p>
- <p>
- {#fs}
- {FilesTotal} files and directories, {BlocksTotal} blocks = {@math key="{FilesTotal}" method="add" operand="{BlocksTotal}"/} total filesystem object(s).
- {#helper_fs_max_objects/}
- {/fs}
- </p>
- {#mem.HeapMemoryUsage}
- <p>Heap Memory used {used|fmt_bytes} of {committed|fmt_bytes} Heap Memory. Max Heap Memory is {max|fmt_bytes}. </p>
- {/mem.HeapMemoryUsage}
- {#mem.NonHeapMemoryUsage}
- <p>Non Heap Memory used {used|fmt_bytes} of {committed|fmt_bytes} Commited Non Heap Memory. Max Non Heap Memory is {max|fmt_bytes}. </p>
- {/mem.NonHeapMemoryUsage}
- {#nn}
- <table class="table table-bordered table-striped">
- <tr><th> Configured Capacity:</th><td>{Total|fmt_bytes}</td></tr>
- <tr><th> DFS Used:</th><td>{Used|fmt_bytes}</td></tr>
- <tr><th> Non DFS Used:</th><td>{NonDfsUsedSpace|fmt_bytes}</td></tr>
- <tr><th> DFS Remaining:</th><td>{Free|fmt_bytes}</td></tr>
- <tr><th> DFS Used%:</th><td>{PercentUsed|fmt_percentage}</td></tr>
- <tr><th> DFS Remaining%:</th><td>{PercentRemaining|fmt_percentage}</td></tr>
- <tr><th> Block Pool Used:</th><td>{BlockPoolUsedSpace|fmt_bytes}</td></tr>
- <tr><th> Block Pool Used%:</th><td>{PercentBlockPoolUsed|fmt_percentage}</td></tr>
- <tr><th> DataNodes usages% (Min/Median/Max/stdDev): </th>
- <td>{#NodeUsage.nodeUsage}{min} / {median} / {max} / {stdDev}{/NodeUsage.nodeUsage}</td></tr>
- {/nn}
- {#fs}
- <tr><th><a href="#tab-datanode">Live Nodes</a></th><td>{NumLiveDataNodes} (Decommissioned: {NumDecomLiveDataNodes})</td></tr>
- <tr><th><a href="#tab-datanode">Dead Nodes</a></th><td>{NumDeadDataNodes} (Decommissioned: {NumDecomDeadDataNodes})</td></tr>
- <tr><th><a href="#tab-datanode">Decommissioning Nodes</a></th><td>{NumDecommissioningDataNodes}</td></tr>
- <tr><th title="Excludes missing blocks.">Number of Under-Replicated Blocks</th><td>{UnderReplicatedBlocks}</td></tr>
- <tr><th>Number of Blocks Pending Deletion</th><td>{PendingDeletionBlocks}</td></tr>
- {/fs}
- </table>
- <div class="page-header"><h1>NameNode Journal Status</h1></div>
- <p><b>Current transaction ID:</b> {nn.JournalTransactionInfo.LastAppliedOrWrittenTxId}</p>
- <table class="table" title="NameNode Journals">
- <thead>
- <tr><th>Journal Manager</th><th>State</th></tr>
- </thead>
- <tbody>
- {#nn.NameJournalStatus}
- <tr><td>{manager}</td><td>{stream}</td></tr>
- {/nn.NameJournalStatus}
- </tbody>
- </table>
- <div class="page-header"><h1>NameNode Storage</h1></div>
- <table class="table" title="NameNode Storage">
- <thead><tr><td><b>Storage Directory</b></td><td><b>Type</b></td><td><b>State</b></td></tr></thead>
- {#nn.NameDirStatuses}
- {#active}{#helper_dir_status type="Active"/}{/active}
- {#failed}{#helper_dir_status type="Failed"/}{/failed}
- {/nn.NameDirStatuses}
- </table>
- </script>
- <script type="text/x-dust-template" id="tmpl-snapshot">
- <div class="page-header"><h1>Snapshot Summary</h1></div>
- <div class="page-header"><h1><small>Snapshottable directories: {@size key=SnapshotStats.directory}{/size}</small></div>
- <small>
- <table class="table">
- <thead>
- <tr>
- <th>Path</th>
- <th>Snapshot Number</th>
- <th>Snapshot Quota</th>
- <th>Modification Time</th>
- <th>Permission</th>
- <th>Owner</th>
- <th>Group</th>
- </tr>
- </thead>
- {#SnapshotStats.directory}
- <tr>
- <td>{path}</td>
- <td>{snapshotNumber}</td>
- <td>{snapshotQuota}</td>
- <td>{modificationTime|date_tostring}</td>
- <td>{permission|helper_to_permission}</td>
- <td>{owner}</td>
- <td>{group}</td>
- </tr>
- {/SnapshotStats.directory}
- </table>
- </small>
- <div class="page-header"><h1><small>Snapshotted directories: {@size key=SnapshotStats.snapshots}{/size}</small></div>
- <small>
- <table class="table">
- <thead>
- <tr>
- <th>Snapshot ID</th>
- <th>Snapshot Directory</th>
- <th>Modification Time</th>
- </tr>
- </thead>
- {#SnapshotStats.snapshots}
- <tr>
- <td>{snapshotID}</td>
- <td>{snapshotDirectory}</td>
- <td>{modificationTime|date_tostring}</td>
- </tr>
- {/SnapshotStats.snapshots}
- </table>
- </small>
- </script>
- <script type="text/x-dust-template" id="tmpl-datanode">
- <div class="page-header"><h1>Datanode Information</h1></div>
- <div class="page-header"><h1><small>In operation</small></h1></div>
- <small>
- <table class="table">
- <thead>
- <tr>
- <th>Node</th>
- <th>Last contact</th>
- <th>Admin State</th>
- <th>Capacity</th>
- <th>Used</th>
- <th>Non DFS Used</th>
- <th>Remaining</th>
- <th>Blocks</th>
- <th>Block pool used</th>
- <th>Failed Volumes</th>
- <th>Version</th>
- </tr>
- </thead>
- {#LiveNodes}
- <tr>
- <td>{name} ({xferaddr})</td>
- <td>{lastContact}</td>
- <td>{adminState}</td>
- <td>{capacity|fmt_bytes}</td>
- <td>{used|fmt_bytes}</td>
- <td>{nonDfsUsedSpace|fmt_bytes}</td>
- <td>{remaining|fmt_bytes}</td>
- <td>{numBlocks}</td>
- <td>{blockPoolUsed|fmt_bytes} ({blockPoolUsedPercent|fmt_percentage})</td>
- <td>{volfails}</td>
- <td>{version}</td>
- </tr>
- {/LiveNodes}
- {#DeadNodes}
- <tr class="danger">
- <td>{name} ({xferaddr})</td>
- <td>{lastContact}</td>
- <td>Dead{?decomissioned}, Decomissioned{/decomissioned}</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- <td>-</td>
- </tr>
- {/DeadNodes}
- </table>
- </small>
- <div class="page-header"><h1><small>Decomissioning</small></h1></div>
- <small>
- <table class="table">
- <thead>
- <tr>
- <th>Node</th>
- <th>Last contact</th>
- <th>Under replicated blocks</th>
- <th>Blocks with no live replicas</th>
- <th>Under Replicated Blocks <br/>In files under construction</th>
- </tr>
- </thead>
- {#DecomNodes}
- <tr>
- <td>{name} ({xferaddr})</td>
- <td>{lastContact}</td>
- <td>{underReplicatedBlocks}</td>
- <td>{decommissionOnlyReplicas}</td>
- <td>{underReplicateInOpenFiles}</td>
- </tr>
- {/DecomNodes}
- </table>
- </small>
- </script>
- <script type="text/x-dust-template" id="tmpl-startup-progress">
- <div class="page-header"><h1>Startup Progress</h1></div>
- <p>Elapsed Time: {elapsedTime|fmt_time}, Percent Complete: {percentComplete|fmt_percentage}</p>
- <table class="table">
- <thead>
- <tr class="active">
- <th>Phase</th>
- <th style="text-align:center">Completion</th>
- <th style="text-align:center">Elapsed Time</th>
- </tr>
- </thead>
- <tbody>
- {#phases}
- <tr class="phase">
- <td class="startupdesc">{desc} {file} {size|fmt_bytes}</td>
- <td style="text-align:center">{percentComplete|fmt_percentage}</td>
- <td style="text-align:center">{elapsedTime|fmt_time}</td>
- </tr>
- {#steps root_file=file}
- <tr class="step">
- <td class="startupdesc">{stepDesc} {stepFile} {stepSize|fmt_bytes} ({count}/{total})</td>
- <td style="text-align:center">{percentComplete|fmt_percentage}</td>
- <td></td>
- </tr>
- {/steps}
- {/phases}
- </tbody>
- </table>
- </script>
- <script type="text/javascript" src="/static/jquery-1.10.2.min.js">
- </script><script type="text/javascript" src="/static/bootstrap-3.0.2/js/bootstrap.min.js">
- </script><script type="text/javascript" src="/static/dust-full-2.0.0.min.js">
- </script><script type="text/javascript" src="/static/dust-helpers-1.1.1.min.js">
- </script><script type="text/javascript" src="dfs-dust.js">
- </script><script type="text/javascript" src="dfshealth.js">
- </script>
- </body>
- </html>
|