hadoop-metrics 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hadoop_metrics.rb +0 -11
- data/lib/hadoop_metrics/version.rb +1 -1
- metadata +3 -3
data/lib/hadoop_metrics.rb
CHANGED
@@ -1,13 +1,2 @@
|
|
1
1
|
require 'hadoop_metrics/job_tracker'
|
2
2
|
require 'hadoop_metrics/task_tracker'
|
3
|
-
|
4
|
-
jt = HadoopMetrics::JobTracker.new('localhost', 50030, :snake_case => false)
|
5
|
-
#puts JSON.pretty_generate(jt.fairscheduler_jobs)
|
6
|
-
#puts JSON.pretty_generate(jt.mapred_jobtracker('hostName'))
|
7
|
-
#puts JSON.pretty_generate(jt.fairscheduler_pools)
|
8
|
-
puts JSON.pretty_generate(jt.fairscheduler_running_tasks)
|
9
|
-
#puts JSON.pretty_generate(jt.jmx)
|
10
|
-
|
11
|
-
#tt = HadoopMetrics::TaskTracker.new('localhost', 50060, :snake_case => false)
|
12
|
-
#puts JSON.pretty_generate(tt.shuffle_output)
|
13
|
-
#puts JSON.pretty_generate(tt.mapred)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hadoop-metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -58,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
segments:
|
60
60
|
- 0
|
61
|
-
hash:
|
61
|
+
hash: 460637235756246510
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
67
|
version: '0'
|
68
68
|
segments:
|
69
69
|
- 0
|
70
|
-
hash:
|
70
|
+
hash: 460637235756246510
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
73
|
rubygems_version: 1.8.23
|