Script hadoop-secondary-namenode-info
Script types:
portrule
Categories:
default, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/hadoop-secondary-namenode-info.nse
Script 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
Script Arguments
- slaxml.debug
See the documentation for the slaxml library.
- http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent
See the documentation for the http library.
- max-newtargets, newtargets
See the documentation for the target library.
- smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername
See the documentation for the smbauth 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:
License: Simplified (2-clause) BSD license--See https://nmap.org/svn/docs/licenses/BSD-simplified