embulk-input-hdfs 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/input/hdfs/HdfsFileInputPlugin.java +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e125254c0d5e9b6837c42a6dc3a6701c8897395
|
4
|
+
data.tar.gz: 1b2c5aba3844aabd1e7d7eb1af7a177eb9ea8ae0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d2eb9a08bcd17da14a3c4815d2cb88ab6941cd33d7a08d913e1006349d4690a28a3994797120edec3aab7c9a6978aaf4368419cae674b5fce65b5c33b0039c
|
7
|
+
data.tar.gz: 65a03af4289551d279a60b028b77602d606c6a7816ec328fd910c5f6d0a171833260675350766e9f22f5426781a9a9cd0cf6e275780ba43a57c8b7ae105786bf
|
data/build.gradle
CHANGED
@@ -24,6 +24,7 @@ import org.jruby.embed.ScriptingContainer;
|
|
24
24
|
import org.slf4j.Logger;
|
25
25
|
|
26
26
|
import javax.annotation.Nullable;
|
27
|
+
import java.io.File;
|
27
28
|
import java.io.IOException;
|
28
29
|
import java.io.InputStream;
|
29
30
|
import java.util.ArrayList;
|
@@ -171,10 +172,10 @@ public class HdfsFileInputPlugin implements FileInputPlugin
|
|
171
172
|
{
|
172
173
|
Configuration configuration = new Configuration();
|
173
174
|
|
174
|
-
for (
|
175
|
-
|
175
|
+
for (String configFile : task.getConfigFiles()) {
|
176
|
+
File file = new File(configFile);
|
177
|
+
configuration.addResource(file.toURI().toURL());
|
176
178
|
}
|
177
|
-
configuration.reloadConfiguration();
|
178
179
|
|
179
180
|
for (Map.Entry<String, String> entry: task.getConfig().entrySet()) {
|
180
181
|
configuration.set(entry.getKey(), entry.getValue());
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-hdfs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takahiro.nakayama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,7 +82,7 @@ files:
|
|
82
82
|
- classpath/curator-client-2.6.0.jar
|
83
83
|
- classpath/curator-framework-2.6.0.jar
|
84
84
|
- classpath/curator-recipes-2.6.0.jar
|
85
|
-
- classpath/embulk-input-hdfs-0.1.
|
85
|
+
- classpath/embulk-input-hdfs-0.1.7.jar
|
86
86
|
- classpath/gson-2.2.4.jar
|
87
87
|
- classpath/hadoop-annotations-2.6.0.jar
|
88
88
|
- classpath/hadoop-auth-2.6.0.jar
|