Script hadoop-namenode-info
Script types:
portrule
Categories:
default, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/hadoop-namenode-info.nse
Script 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.
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-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): | datanode1.example.com:50075 |_ datanode2.example.com:50075
Requires
Author:
License: Simplified (2-clause) BSD license--See https://nmap.org/svn/docs/licenses/BSD-simplified