fluent-plugin-aliyunoss 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/fluent-plugin-aliyunoss.gemspec +1 -1
- data/lib/fluent/plugin/out_aliyunoss.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42a9172b67527db3ae3c55a2501b0c27b3d80243
|
|
4
|
+
data.tar.gz: 535147eeed713867ff769dd0f02178e89c85daee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df436d3deee5dcf9684d7be5bf709237a9259094ffe2786859f1ef6d49769f65e500e3097cd9c9d6bedac32a362f7ee138e156a9ddd45466871e70a6af7834e4
|
|
7
|
+
data.tar.gz: f95614bf41f23203e14bc2bc8aced905f451e8d6e8411ce6c443445002771d5cd76156d5934f991b51af6635cd5277080d849803276641cb6d0738286a1c38fd
|
data/README.md
CHANGED
|
@@ -81,12 +81,16 @@ ex:
|
|
|
81
81
|
|
|
82
82
|
**If you want to use the storage format of orc, you need to install and configure some tools..**
|
|
83
83
|
|
|
84
|
-
```
|
|
84
|
+
```
|
|
85
|
+
in alpine3.8
|
|
86
|
+
|
|
85
87
|
apk add -U openjdk8-jre
|
|
86
88
|
wget https://search.maven.org/remotecontent?filepath=org/apache/orc/orc-tools/1.5.4/orc-tools-1.5.4-uber.jar -O /orc-tools.jar
|
|
87
89
|
```
|
|
88
90
|
|
|
89
|
-
```
|
|
91
|
+
```
|
|
92
|
+
vi /log4j.properties
|
|
93
|
+
|
|
90
94
|
log4j.rootLogger=FATAL,stdout
|
|
91
95
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
|
92
96
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
|
@@ -69,6 +69,9 @@ module Fluent
|
|
|
69
69
|
# Create a symlink with .json suffix, to fool orc-tools
|
|
70
70
|
chunk_path = File::realpath(chunk.path)
|
|
71
71
|
fake_path = "#{chunk_path}.json"
|
|
72
|
+
if File::exists?(fake_path)
|
|
73
|
+
File::unlink(fake_path)
|
|
74
|
+
end
|
|
72
75
|
File::symlink(chunk_path, fake_path)
|
|
73
76
|
|
|
74
77
|
command = "java -Dlog4j.configuration=file:/log4j.properties -jar /orc-tools.jar convert -o #{output_path} #{fake_path}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-aliyunoss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- junjie
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|