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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f84aa3f189f941a904ee7a514f59204318f8dbb
4
- data.tar.gz: 69c9bd1b9a17d00ba919fa862cc24cd5639a7fc7
3
+ metadata.gz: 29d8c1ea39c10bba240c1b6eb077a5edeb1993f6
4
+ data.tar.gz: cbd7157cf130edb72b5080b1bafe5aa3e9d8e4c5
5
5
  SHA512:
6
- metadata.gz: c1007da36d50b1641502642cf366014d80ff65a717740916eff1a5c031e7eaf53654f67140406ac6274b7864ba4f420ffd2fb592887f1c97c9abe30a08123fef
7
- data.tar.gz: 491cf24437fd37f56f157bcd21aaf104c55f2a8ed0e97e15e1d3bdca008c161b4b047a8cbdc91f41dc3f840bc63737cc2eda53f72ff0d33ab8dbb1e42b13c989
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.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.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-08 00:00:00.000000000 Z
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