Created
May 21, 2014 15:56
-
-
Save nipra/50b0258d114d8827a7aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hbase.ss.jmx> (p/print-table [:host :blockCacheEvictedCount :blockCacheCount :blockCacheFree :blockCacheSize] | |
(map #(-> % | |
(j/massager :blockCacheFree (fn [x] (str (float (/ x 1024 1024)) "MB"))) | |
(j/massager :blockCacheSize (fn [x] (str (float (/ x 1024 1024)) "MB"))) | |
(j/massager :host (fn [x] "Some host."))) | |
(j/get-regionserver-metrics [:blockCacheEvictedCount | |
:blockCacheCount | |
:blockCacheFree | |
:blockCacheSize]))) | |
=========================================================================================== | |
:host | :blockCacheEvictedCount | :blockCacheCount | :blockCacheFree | :blockCacheSize | |
=========================================================================================== | |
Some host. | 59023 | 20478 | 538.2547MB | 1504.3452MB | |
Some host. | 344493 | 14182 | 497.51154MB | 1545.0885MB | |
Some host. | 220556 | 18490 | 308.2968MB | 1734.3031MB | |
Some host. | 310784 | 18431 | 336.8679MB | 1705.732MB | |
Some host. | 936240 | 20326 | 436.49777MB | 1606.1022MB | |
Some host. | 266146 | 15834 | 558.38696MB | 1484.213MB | |
Some host. | 394168 | 18741 | 475.59198MB | 1567.008MB | |
Some host. | 21137 | 15827 | 902.4239MB | 1140.176MB | |
Some host. | 160121 | 15877 | 544.82996MB | 1497.77MB | |
Some host. | 151964 | 14957 | 611.00867MB | 1431.5913MB | |
Some host. | 139336 | 14853 | 684.79584MB | 1357.8042MB | |
Some host. | 153169 | 14625 | 594.37506MB | 1448.2249MB | |
Some host. | 69964 | 14950 | 713.83575MB | 1328.7643MB | |
Some host. | 273480 | 16631 | 636.4181MB | 1406.1819MB | |
Some host. | 320084 | 17188 | 472.29385MB | 1570.3062MB | |
Some host. | 226317 | 18027 | 491.08557MB | 1551.5144MB | |
Some host. | 97601 | 19459 | 924.56055MB | 1118.0394MB | |
Some host. | 82396 | 13821 | 876.64575MB | 1165.9542MB | |
Some host. | 171573 | 21121 | 628.65735MB | 1413.9426MB | |
Some host. | 145923 | 19853 | 786.1808MB | 1256.4192MB | |
Some host. | 194084 | 12003 | 979.7611MB | 1062.8389MB | |
Some host. | 116039 | 15018 | 925.4773MB | 1117.1227MB | |
Some host. | 79776 | 9242 | 1190.0093MB | 852.5907MB | |
Some host. | 189211 | 10414 | 1141.2509MB | 901.3492MB | |
Some host. | 136254 | 13712 | 845.8539MB | 1196.7461MB | |
Some host. | 71171 | 6361 | 1281.1292MB | 761.47076MB | |
Some host. | 82609 | 9820 | 1295.5789MB | 747.0211MB | |
Some host. | 78409 | 11196 | 1011.5928MB | 1031.0072MB | |
Some host. | 65681 | 13569 | 1132.9095MB | 909.6904MB | |
Some host. | 46739 | 6481 | 1350.3777MB | 692.2222MB | |
=========================================================================================== | |
nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment