hadoop-rubydsl 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -5
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/bin/{hrd → papyrus} +0 -0
- data/{bin → contrib/hudson}/hadoop-hudson.sh +0 -0
- data/{bin → contrib/hudson}/hadoop-ruby.sh +0 -0
- data/{hadoop-rubydsl.gemspec → hadoop-papyrus.gemspec} +12 -11
- metadata +11 -13
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= hadoop-
|
1
|
+
= hadoop-papyrus
|
2
2
|
|
3
3
|
Enable to run Ruby DSL script on your Hadoop.
|
4
4
|
|
@@ -13,14 +13,14 @@ Required gems are all on GemCutter.
|
|
13
13
|
|
14
14
|
1. Upgrade your rubygem to 1.3.5
|
15
15
|
2. Install gems
|
16
|
-
$ gem install hadoop-
|
16
|
+
$ gem install hadoop-papyrus
|
17
17
|
|
18
18
|
== Usage
|
19
19
|
|
20
|
-
1. Run Hadoop cluster on your machines and set HADOOP_HOME env variable.
|
20
|
+
1. Run Hadoop cluster on your machines and put your 'hadoop' executable to your PATH or set HADOOP_HOME env variable.
|
21
21
|
2. put files into your hdfs. ex) wc/inputs/file1
|
22
|
-
3. Now you can run '
|
23
|
-
$
|
22
|
+
3. Now you can run 'papyrus' like below:
|
23
|
+
$ papyrus examples/word_count_test.rb
|
24
24
|
You can get Hadoop job results in your hdfs wc/outputs/part-*
|
25
25
|
|
26
26
|
== Examples
|
data/Rakefile
CHANGED
@@ -2,10 +2,10 @@ begin
|
|
2
2
|
require 'jeweler'
|
3
3
|
Jeweler::Tasks.new do |gemspec|
|
4
4
|
gemspec.name = "hadoop-rubydsl"
|
5
|
-
gemspec.summary = "Hadoop Ruby DSL"
|
6
|
-
gemspec.description = "Hadoop Ruby DSL"
|
5
|
+
gemspec.summary = "Hadoop Ruby DSL is now changed to Hadoop Papyrus. Please use it."
|
6
|
+
gemspec.description = "Hadoop Ruby DSL is now changed to Hadoop Papyrus. Please use it. Hadoop papyrus - Ruby DSL for Hadoop"
|
7
7
|
gemspec.email = "fujibee@gmail.com"
|
8
|
-
gemspec.homepage = "http://github.com/fujibee/hadoop-
|
8
|
+
gemspec.homepage = "http://github.com/fujibee/hadoop-papyrus"
|
9
9
|
gemspec.authors = ["Koichi Fujikawa"]
|
10
10
|
|
11
11
|
gemspec.add_dependency 'jruby-on-hadoop'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/bin/{hrd → papyrus}
RENAMED
File without changes
|
File without changes
|
File without changes
|
@@ -4,15 +4,16 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{hadoop-
|
8
|
-
s.version = "0.0.
|
7
|
+
s.name = %q{hadoop-papyrus}
|
8
|
+
s.version = "0.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Koichi Fujikawa"]
|
12
|
-
s.date = %q{2010-01-
|
13
|
-
s.
|
12
|
+
s.date = %q{2010-01-31}
|
13
|
+
s.default_executable = %q{papyrus}
|
14
|
+
s.description = %q{Hadoop papyrus - Ruby DSL for Hadoop}
|
14
15
|
s.email = %q{fujibee@gmail.com}
|
15
|
-
s.executables = ["
|
16
|
+
s.executables = ["papyrus"]
|
16
17
|
s.extra_rdoc_files = [
|
17
18
|
"README.rdoc"
|
18
19
|
]
|
@@ -21,14 +22,14 @@ Gem::Specification.new do |s|
|
|
21
22
|
"README.rdoc",
|
22
23
|
"Rakefile",
|
23
24
|
"VERSION",
|
24
|
-
"bin/
|
25
|
-
"bin/hadoop-ruby.sh",
|
26
|
-
"bin/hrd",
|
25
|
+
"bin/papyrus",
|
27
26
|
"conf/hadoop-site.xml",
|
27
|
+
"contrib/hudson/hadoop-hudson.sh",
|
28
|
+
"contrib/hudson/hadoop-ruby.sh",
|
28
29
|
"examples/hive_like_test.rb",
|
29
30
|
"examples/log_analysis_test.rb",
|
30
31
|
"examples/word_count_test.rb",
|
31
|
-
"hadoop-
|
32
|
+
"hadoop-papyrus.gemspec",
|
32
33
|
"lib/core.rb",
|
33
34
|
"lib/dsl_init.rb",
|
34
35
|
"lib/hadoop_dsl.rb",
|
@@ -39,11 +40,11 @@ Gem::Specification.new do |s|
|
|
39
40
|
"lib/util.rb",
|
40
41
|
"lib/word_count.rb"
|
41
42
|
]
|
42
|
-
s.homepage = %q{http://github.com/fujibee/hadoop-
|
43
|
+
s.homepage = %q{http://github.com/fujibee/hadoop-papyrus}
|
43
44
|
s.rdoc_options = ["--charset=UTF-8"]
|
44
45
|
s.require_paths = ["lib"]
|
45
46
|
s.rubygems_version = %q{1.3.5}
|
46
|
-
s.summary = %q{Hadoop
|
47
|
+
s.summary = %q{Hadoop papyrus}
|
47
48
|
s.test_files = [
|
48
49
|
"spec/spec_helper.rb",
|
49
50
|
"spec/dsl_init_spec.rb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hadoop-rubydsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koichi Fujikawa
|
@@ -9,8 +9,8 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
13
|
-
default_executable:
|
12
|
+
date: 2010-01-31 00:00:00 +09:00
|
13
|
+
default_executable: papyrus
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jruby-on-hadoop
|
@@ -22,12 +22,10 @@ dependencies:
|
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: "0"
|
24
24
|
version:
|
25
|
-
description: Hadoop Ruby DSL
|
25
|
+
description: Hadoop Ruby DSL is now changed to Hadoop Papyrus. Please use it. Hadoop papyrus - Ruby DSL for Hadoop
|
26
26
|
email: fujibee@gmail.com
|
27
27
|
executables:
|
28
|
-
-
|
29
|
-
- hadoop-hudson.sh
|
30
|
-
- hadoop-ruby.sh
|
28
|
+
- papyrus
|
31
29
|
extensions: []
|
32
30
|
|
33
31
|
extra_rdoc_files:
|
@@ -37,14 +35,14 @@ files:
|
|
37
35
|
- README.rdoc
|
38
36
|
- Rakefile
|
39
37
|
- VERSION
|
40
|
-
- bin/
|
41
|
-
- bin/hadoop-ruby.sh
|
42
|
-
- bin/hrd
|
38
|
+
- bin/papyrus
|
43
39
|
- conf/hadoop-site.xml
|
40
|
+
- contrib/hudson/hadoop-hudson.sh
|
41
|
+
- contrib/hudson/hadoop-ruby.sh
|
44
42
|
- examples/hive_like_test.rb
|
45
43
|
- examples/log_analysis_test.rb
|
46
44
|
- examples/word_count_test.rb
|
47
|
-
- hadoop-
|
45
|
+
- hadoop-papyrus.gemspec
|
48
46
|
- lib/core.rb
|
49
47
|
- lib/dsl_init.rb
|
50
48
|
- lib/hadoop_dsl.rb
|
@@ -55,7 +53,7 @@ files:
|
|
55
53
|
- lib/util.rb
|
56
54
|
- lib/word_count.rb
|
57
55
|
has_rdoc: true
|
58
|
-
homepage: http://github.com/fujibee/hadoop-
|
56
|
+
homepage: http://github.com/fujibee/hadoop-papyrus
|
59
57
|
licenses: []
|
60
58
|
|
61
59
|
post_install_message:
|
@@ -81,7 +79,7 @@ rubyforge_project:
|
|
81
79
|
rubygems_version: 1.3.5
|
82
80
|
signing_key:
|
83
81
|
specification_version: 3
|
84
|
-
summary: Hadoop Ruby DSL
|
82
|
+
summary: Hadoop Ruby DSL is now changed to Hadoop Papyrus. Please use it.
|
85
83
|
test_files:
|
86
84
|
- spec/spec_helper.rb
|
87
85
|
- spec/dsl_init_spec.rb
|