logstash-output-hdfs 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/hdfs.rb +4 -0
- data/logstash-output-hdfs.gemspec +1 -1
- 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: 29d8c1ea39c10bba240c1b6eb077a5edeb1993f6
|
4
|
+
data.tar.gz: cbd7157cf130edb72b5080b1bafe5aa3e9d8e4c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3d659638f7b67abdb8e087cb5b87edbdb752817058c3d3fa035dfe74dc63d765395073add33df6c2b98138dce5fca770df4945c3ce56de5e69501f10f085d66
|
7
|
+
data.tar.gz: 4688a9d3523e9f1853f8a812105322a6f99be2c90aec477a7a431f62d921cd60abae44225a484ad42d2fb0d1b2423dd827ee28d0ecfe905460b0ebdc3056131b
|
@@ -154,6 +154,10 @@ class LogStash::Outputs::HDFS < LogStash::Outputs::Base
|
|
154
154
|
|
155
155
|
def recover_lease(path)
|
156
156
|
is_file_closed_available = @hdfs.respond_to? :isFileClosed
|
157
|
+
|
158
|
+
# Not all Hadoop file systems support recover lease (e.g. LocalFileSystem)
|
159
|
+
return true unless @hdfs.respond_to? :recoverLease
|
160
|
+
|
157
161
|
start = Time.now
|
158
162
|
first_retry = true
|
159
163
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-hdfs'
|
4
|
-
s.version = '0.2.
|
4
|
+
s.version = '0.2.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "$summary"
|
7
7
|
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-hdfs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Avishai Ish-Shalom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|