hbase-metrics 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15f007fd80781f01f078d7539ef44a448aaca1d6
4
- data.tar.gz: 618560ad88702096b44bde367c1f290f7a460195
3
+ metadata.gz: 9b3c0c57d6307e139d9cb53c6059fdc6750590f2
4
+ data.tar.gz: 79d639addbabbae39926bdf360aaced9e7c92712
5
5
  SHA512:
6
- metadata.gz: 08998b265e1a384581b08e2035d2f0c995be7fea1133a3eda0b71f523ad1b289d02175fdb641ede233fdfaef0afd6c2db1d533dba02b70cd3a0b826a21cd6142
7
- data.tar.gz: e7276230c645269f1df35cf1f21248cc2db2bee71f493dbba84eba01c07612820cda4e3af398a8bdb1cd609e3b9e57be3138c0e78436e217b2a5dc5592a6c5d4
6
+ metadata.gz: 12b9fd1b051e3f54e8f429ec10364fe126767e7f2d22344bf12e7111f6d1a887a10f836603024682b93a7bd983215abe5fa34c91ef2edf9ba6155e49b657ad6a
7
+ data.tar.gz: 0aacc000de0f9e90349b25df73c1a9046beb9c0d6ffdae67d12351608a36c58d034af46e81f47a7903334df62a55b3b86ed2c4c7512c7d0c123ee86c1c40620f
data/README.md CHANGED
@@ -20,6 +20,7 @@ require 'hbase_metrics/hbase_master'
20
20
  master = HBaseMetrics::HMaster.new("localhost", 16010, false)
21
21
  puts JSON.pretty_generate(master.server)
22
22
  puts JSON.pretty_generate(master.assignment_manger)
23
+ puts JSON.pretty_generate(master.ipc)
23
24
  ```
24
25
 
25
26
  ### RegionServer
@@ -11,6 +11,10 @@ module HBaseMetrics
11
11
  def assignment_manger
12
12
  query_jmx('Hadoop:service=HBase,name=Master,sub=AssignmentManger').first
13
13
  end
14
+
15
+ def ipc
16
+ query_jmx('Hadoop:service=HBase,name=Master,sub=IPC').first
17
+ end
14
18
 
15
19
  end
16
20
  end
@@ -37,5 +37,9 @@ module HBaseMetrics
37
37
  }
38
38
  end
39
39
 
40
+ def ipc
41
+ query_jmx('Hadoop:service=HBase,name=RegionServer,sub=IPC').first
42
+ end
43
+
40
44
  end
41
45
  end
@@ -1,3 +1,3 @@
1
1
  module HBaseMetrics
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hbase-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hironori Ogibayashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-25 00:00:00.000000000 Z
11
+ date: 2016-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler