fluent-plugin-aliyunoss 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-aliyunoss.gemspec +1 -1
- data/lib/fluent/plugin/out_aliyunoss.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdb41097907531d24f6140a311f2c20878e06d2d
|
4
|
+
data.tar.gz: 3bd39ab3ad2461618b63f24f0686088d99785776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62cf0b11b083deab2e9fa2cadbe54523c67c01af0274a48997af4eca491cccefca682af793336c0345943c13658bccac093d62d78c00146de180970bea6a229
|
7
|
+
data.tar.gz: '078f84e602c41ab2db6b930991438bb1bfa92fd5ff875c723783094ea54d5cc651928a0d57fc3b51fd3242e9c72e5a98111b176d3a07f41b1eb16982623d9680'
|
@@ -71,7 +71,7 @@ module Fluent
|
|
71
71
|
fake_path = "#{chunk_path}.json"
|
72
72
|
File::symlink(chunk_path, fake_path)
|
73
73
|
|
74
|
-
command = "orc-tools convert -o #{output_path} #{fake_path}"
|
74
|
+
command = "java -jar /orc-tools.jar convert -o #{output_path} #{fake_path}"
|
75
75
|
log.debug "cmd: #{command}"
|
76
76
|
res = system command
|
77
77
|
unless res
|
@@ -131,7 +131,7 @@ module Fluent
|
|
131
131
|
begin
|
132
132
|
f = Tempfile.new('oss-')
|
133
133
|
compress(chunk, f)
|
134
|
-
path = process_object_key_format(chunk, "#{@oss_path}.#{
|
134
|
+
path = process_object_key_format(chunk, "#{@oss_path}.#{@store_as}")
|
135
135
|
log.debug "output_path: #{f.path} oss_path: #{path}"
|
136
136
|
raise "Upload #{f.path} failed" unless @bucket.resumable_upload(path, f.path)
|
137
137
|
ensure
|