Skip to content

Instantly share code, notes, and snippets.

@gsantovena
gsantovena / gist:5b601c921d1d5f35568f5ef9e642774c
Created January 3, 2017 00:35 — forked from cnauroth/gist:7ff52e9f80e7d856ddb3
Hadoop NameNode JMX REST Query for NameNodeStatus
> curl 'http://172.20.11.177:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus'
{
"beans" : [ {
"name" : "Hadoop:service=NameNode,name=NameNodeStatus",
"modelerType" : "org.apache.hadoop.hdfs.server.namenode.NameNode",
"State" : "active",
"NNRole" : "NameNode",
"HostAndPort" : "localhost:19000",
"SecurityEnabled" : false,
"LastHATransitionTime" : 0
@gsantovena
gsantovena / .gitignore
Created July 25, 2016 07:13 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #