Script hadoop-secondary-namenode-info

Script types: portrule
Categories: default, discovery, safe

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


See the documentation for the slaxml library., 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

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:
|   Last Checkpoint: Wed May 11 22:33:44 PDT 2011
|   Checkpoint Period: 3600 seconds
|_  Checkpoint Size: 12345678 MB



  • John R. Bond

License: Simplified (2-clause) BSD license--See