Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save alexwoolford/9c0e865768ac65b932ec to your computer and use it in GitHub Desktop.

Select an option

Save alexwoolford/9c0e865768ac65b932ec to your computer and use it in GitHub Desktop.
alexw-mbp:~ awoolford$ ansible cluster -a "asinfo -v service"
hadoop01 | success | rc=0 >>
10.0.1.11:3000
hadoop03 | success | rc=0 >>
10.0.1.13:3000
hadoop02 | success | rc=0 >>
10.0.1.12:3000
alexw-mbp:~ awoolford$ ansible cluster -a "asinfo -v services"
hadoop01 | success | rc=0 >>
hadoop03 | success | rc=0 >>
hadoop02 | success | rc=0 >>
alexw-mbp:~ awoolford$ ansible cluster -a "asadm -e info"
hadoop01 | success | rc=0 >>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Service Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Build Cluster Cluster Cluster Free Free Migrates Principal Objects Uptime
. . Size Visibility Integrity Disk% Mem% . . . .
h 3.5.14 1 True True 0 100 (0,0) h 0.000 00:23:19
Number of rows: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Network Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Node Fqdn Ip Client Current HB HB
. Id . . Conns Time Self Foreign
h *BB9000000000094 hadoop01.woolford.io:3000 10.0.1.11:3000 15 174464730 37129 0
Number of rows: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Namespace Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Namespace Evictions Master Replica Repl Stop HWM Mem Mem HWM Stop
. . . Objects Objects Factor Writes Disk% Used Used% Mem% Writes%
h bar 0 0.000 0.000 1 false 50 0.000 B 0 60 90
h test 0 0.000 0.000 1 false 50 0.000 B 0 60 90
Number of rows: 2
hadoop03 | success | rc=0 >>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Service Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Build Cluster Cluster Cluster Free Free Migrates Principal Objects Uptime
. . Size Visibility Integrity Disk% Mem% . . . .
h 3.5.14 1 True True 0 100 (0,0) h 0.000 00:23:31
Number of rows: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Network Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Node Fqdn Ip Client Current HB HB
. Id . . Conns Time Self Foreign
h *BB9000000000094 hadoop03.woolford.io:3000 10.0.1.13:3000 5 174464730 37218 0
Number of rows: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Namespace Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Namespace Evictions Master Replica Repl Stop HWM Mem Mem HWM Stop
. . . Objects Objects Factor Writes Disk% Used Used% Mem% Writes%
h bar 0 0.000 0.000 1 false 50 0.000 B 0 60 90
h test 0 0.000 0.000 1 false 50 0.000 B 0 60 90
Number of rows: 2
hadoop02 | success | rc=0 >>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Service Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Build Cluster Cluster Cluster Free Free Migrates Principal Objects Uptime
. . Size Visibility Integrity Disk% Mem% . . . .
h 3.5.14 1 True True 0 100 (0,0) h 0.000 00:23:24
Number of rows: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Network Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Node Fqdn Ip Client Current HB HB
. Id . . Conns Time Self Foreign
h *BB9000000000094 hadoop02.woolford.io:3000 10.0.1.12:3000 5 174464731 37203 0
Number of rows: 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Namespace Information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Node Namespace Evictions Master Replica Repl Stop HWM Mem Mem HWM Stop
. . . Objects Objects Factor Writes Disk% Used Used% Mem% Writes%
h bar 0 0.000 0.000 1 false 50 0.000 B 0 60 90
h test 0 0.000 0.000 1 false 50 0.000 B 0 60 90
Number of rows: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment