HOME>>>>>>>>>

File hadoop-namenode-info

脚本使用类型: portrule
脚本所属分类: default, discovery, safe
脚本下载地址: http://nmap.org/svn/scripts/hadoop-namenode-info.nse

User Summary

Retrieves information from an Apache Hadoop NameNode HTTP status page.

Information gathered: * Date/time the service was started * Hadoop version * Hadoop compile date * Upgrades status * Filesystem directory (relative to http://host:port/) * Log directory (relative to http://host:port/) * Associated DataNodes.

For more information about Hadoop, see: * http://hadoop.apache.org/ * http://en.wikipedia.org/wiki/Apache_Hadoop * http://wiki.apache.org/hadoop/NameNode

Script Arguments

max-newtargets, newtargets

See the documentation for the target library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

http.max-cache-size, http.max-pipeline, http.pipeline, http.useragent

See the documentation for the http library.

Example Usage

执行格式

nmap --script hadoop-namenode-info -p 50070 host

Script Output

PORT      STATE SERVICE         REASON
50070/tcp open  hadoop-namenode syn-ack
| hadoop-namenode-info:
|   Started:  Wed May 11 22:33:44 PDT 2011
|   Version:  0.20.2-cdh3u1, f415ef415ef415ef415ef415ef415ef415ef415e
|   Compiled:  Wed May 11 22:33:44 PDT 2011 by bob from unknown
|   Upgrades:  There are no upgrades in progress.
|   Filesystem: /nn_browsedfscontent.jsp
|   Logs: /logs/
|   Storage:
|   Total       Used (DFS)      Used (Non DFS)  Remaining
|   100 TB      85 TB           500 GB          14.5 TB
|   Datanodes (Live):
|     Datanode: datanode1.example.com:50075
|     Datanode: datanode2.example.com:50075

Requires


Author: John R. Bond (john.r.bond@gmail.com)

License: Simplified (2-clause) BSD license--See http://nmap.org/svn/docs/licenses/BSD-simplified