mandy 0.5.20 → 0.5.21
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/mandy-get +2 -1
- metadata +19 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.21
|
data/bin/mandy-get
CHANGED
@@ -4,6 +4,7 @@ require 'ostruct'
|
|
4
4
|
|
5
5
|
require "rubygems"
|
6
6
|
require "mandy"
|
7
|
+
require 'fileutils'
|
7
8
|
|
8
9
|
HadoopConfiguration.check_home_and_version
|
9
10
|
|
@@ -40,7 +41,7 @@ end
|
|
40
41
|
def is_a_valid(path)
|
41
42
|
path =~ /\/(\S+)/
|
42
43
|
end
|
43
|
-
|
44
|
+
FileUtils.mkdir_p(File.split(local_file)[0])
|
44
45
|
File.open("#{local_file}", "a") do |target|
|
45
46
|
IO.popen("$HADOOP_HOME/bin/hadoop fs -conf #{config} -ls #{remote_file}").each_line do |line|
|
46
47
|
permissions,replication,user,group,size,mod_date,mod_time,path = *line.split(/\s+/)
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mandy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 33
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 21
|
10
|
+
version: 0.5.21
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Andy Kent
|
@@ -11,7 +16,8 @@ autorequire:
|
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
18
|
|
14
|
-
date: 2011-05-
|
19
|
+
date: 2011-05-25 00:00:00 +01:00
|
20
|
+
default_executable:
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
23
|
name: json
|
@@ -21,6 +27,9 @@ dependencies:
|
|
21
27
|
requirements:
|
22
28
|
- - ">="
|
23
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
24
33
|
version: "0"
|
25
34
|
type: :runtime
|
26
35
|
version_requirements: *id001
|
@@ -100,6 +109,7 @@ files:
|
|
100
109
|
- lib/mandy/ruby-hbase/xml_decoder.rb
|
101
110
|
- lib/mandy/test_runner.rb
|
102
111
|
- bin/mandy-hdfs
|
112
|
+
has_rdoc: true
|
103
113
|
homepage: http://github.com/trafficbroker/mandy
|
104
114
|
licenses: []
|
105
115
|
|
@@ -113,17 +123,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
123
|
requirements:
|
114
124
|
- - ">="
|
115
125
|
- !ruby/object:Gem::Version
|
126
|
+
hash: 3
|
127
|
+
segments:
|
128
|
+
- 0
|
116
129
|
version: "0"
|
117
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
131
|
none: false
|
119
132
|
requirements:
|
120
133
|
- - ">="
|
121
134
|
- !ruby/object:Gem::Version
|
135
|
+
hash: 3
|
136
|
+
segments:
|
137
|
+
- 0
|
122
138
|
version: "0"
|
123
139
|
requirements: []
|
124
140
|
|
125
141
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.
|
142
|
+
rubygems_version: 1.4.2
|
127
143
|
signing_key:
|
128
144
|
specification_version: 2
|
129
145
|
summary: Map/Reduce Framework
|