fluent-plugin-aliyunoss 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d89dc50dba60b2179471b80a8a049a6d0673e5a8
4
- data.tar.gz: dc0a9378459936e1649f7e42a7073c690b647d34
3
+ metadata.gz: 42a9172b67527db3ae3c55a2501b0c27b3d80243
4
+ data.tar.gz: 535147eeed713867ff769dd0f02178e89c85daee
5
5
  SHA512:
6
- metadata.gz: 8adb3ce3b7e6a880efedb346093af560052339be2e9a890a477b69fd43699ca99e01a6f342a1d74d2c9b3af377093e5d33aa9a61fa7d6371d264d6a91eaa52b0
7
- data.tar.gz: c6176d9f55aa19f834e703b2b645e096f336bc4e9aa44adcbf939d9fe1b5ca0a8091fd0c6b35808557cc288d6c5df649a7445b31a7df57c821f15cd1a9292ad5
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
- ``` in alpine3.8
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
- ``` vi /log4j.properties
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
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-aliyunoss"
6
- spec.version = "0.2.4"
6
+ spec.version = "0.2.5"
7
7
  spec.authors = ["junjie"]
8
8
  spec.email = ["junjzh0205@gmail.com"]
9
9
 
@@ -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
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-01 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler