pmux 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pmux/application.rb +1 -1
- data/lib/pmux/reducer.rb +6 -2
- data/lib/pmux/task_scheduler.rb +1 -0
- data/lib/pmux/version.rb +1 -1
- metadata +2 -2
data/lib/pmux/application.rb
CHANGED
data/lib/pmux/reducer.rb
CHANGED
@@ -36,8 +36,10 @@ module Pmux
|
|
36
36
|
@output_path = "#{@tmp_dir}/r#{@task['pindex']}"
|
37
37
|
err_path = "#{@tmp_dir}/.err.#{$$}"
|
38
38
|
err_msg = nil
|
39
|
+
#cmd_line = fix_cmd_line reducer_cmd,
|
40
|
+
# @paths.join(' '), @output_path, err_path, tmp_dir
|
39
41
|
cmd_line = fix_cmd_line reducer_cmd,
|
40
|
-
@
|
42
|
+
"#{tmp_dir}/t*-#{@task['pindex']}", @output_path, err_path, tmp_dir
|
41
43
|
Log.debug "system: #{cmd_line}"
|
42
44
|
system cmd_line
|
43
45
|
@exitstatus = $?.exitstatus
|
@@ -56,8 +58,10 @@ module Pmux
|
|
56
58
|
@output_path = "#{@tmp_dir}/r#{@task['pindex']}"
|
57
59
|
err_path = "#{@tmp_dir}/.rerr.#{$$}"
|
58
60
|
err_msg = nil
|
61
|
+
#cmd_line = fix_cmd_line reducer_cmd,
|
62
|
+
# @paths.join(' '), nil, err_path, tmp_dir
|
59
63
|
cmd_line = fix_cmd_line reducer_cmd,
|
60
|
-
@
|
64
|
+
"#{tmp_dir}/t*-#{@task['pindex']}", nil, err_path, tmp_dir
|
61
65
|
Log.debug "popen: #{cmd_line}"
|
62
66
|
pipeio = nil
|
63
67
|
Dir.chdir(@tmp_dir) {pipeio = PipeIO.new cmd_line}
|
data/lib/pmux/task_scheduler.rb
CHANGED
data/lib/pmux/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pmux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: msgpack-rpc
|