triglav-agent-hdfs 1.0.0.rc2-java → 1.0.0.rc3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/triglav/agent/hdfs/monitor.rb +1 -1
- data/lib/triglav/agent/hdfs/version.rb +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: c0a79f6af4229f1dc88ad37fe153bb0b2028d63f
|
4
|
+
data.tar.gz: bc1425665f32eb71515a50e71a9f47265ca4d13f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cd09e8174dd32bada8fd58acce2ff5f389a12d484c534c20982f56be3dbd05318f80d5c8caf6d249d1caf59a11a755d1479b56978766d5e3632603c0fe71d1
|
7
|
+
data.tar.gz: b94fc6c48d09127720f1bc3a9341d872e856708fc007e7349918e8aecd17cf9f442dc0ea0ffcf368a4e045bf30545d48bc97d2be2c1cbb70fa625b5585705d31
|
@@ -59,8 +59,8 @@ module Triglav::Agent
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def get_last_modification_times
|
62
|
-
max_last_modification_time = @status.getsetnx([:max], $setting.debug? ? 0 : get_current_time)
|
63
62
|
last_modification_times = @status.get
|
63
|
+
max_last_modification_time = last_modification_times[:max] || @status.getsetnx([:max], $setting.debug? ? 0 : get_current_time)
|
64
64
|
removes = last_modification_times.keys - paths.keys
|
65
65
|
appends = paths.keys - last_modification_times.keys
|
66
66
|
removes.each {|path| last_modification_times.delete(path) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: triglav-agent-hdfs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Triglav Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|