HOME>>>>>>>>>

File hadoop-secondary-namenode-info

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

User Summary

Retrieves information from an Apache Hadoop secondary NameNode HTTP status page.

Information gathered: * Date/time the service was started * Hadoop version * Hadoop compile date * Hostname or IP address and port of the master NameNode server * Last time a checkpoint was taken * How often checkpoints are taken (in seconds) * Log directory (relative to http://host:port/) * File size of current checkpoint

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-secondary-namenode-info -p 50090 host

Script Output

PORT      STATE  SERVICE REASON
50090/tcp open   unknown syn-ack
| hadoop-secondary-namenode-info:
|   Start: Wed May 11 22:33:44 PDT 2011
|   Version: 0.20.2, f415ef415ef415ef415ef415ef415ef415ef415e
|   Compiled: Wed May 11 22:33:44 PDT 2011 by bob from unknown
|   Log: /logs/
|   namenode: namenode1.example.com/192.0.1.1:8020
|   Last Checkpoint: Wed May 11 22:33:44 PDT 2011
|   Checkpoint Period: 3600 seconds
|_  Checkpoint Size: 12345678 MB

Requires


Author: John R. Bond

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