embulk-output-hdfs 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/output/hdfs/HdfsFileOutputPlugin.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: a0be14cc220ab2713561b0ff9c009a76bbd4c234
|
|
4
|
+
data.tar.gz: d13c4ba40410f7857b396a7ca031267fad887e40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3acc7fda130ce48a3c9fe5c9cacb7acf3ec2146eb691fc1c1a3e9842fed47daf30706a73ffb7448efef6b12cd7af5e96dd5248f1848c55eb2f4754cfbd5f3600
|
|
7
|
+
data.tar.gz: 159d104c53c39933e2c77730ceb9413c3d040cb610ae7ca91d09d1818264acc2ab3e5fd78bfdeafec8f860aee6f83d7f68d95d2be74f77608e8210350981d4f0
|
data/build.gradle
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
package org.embulk.output.hdfs;
|
|
2
2
|
|
|
3
|
+
import java.io.File;
|
|
3
4
|
import java.io.IOException;
|
|
4
5
|
import java.io.OutputStream;
|
|
5
6
|
import java.util.ArrayList;
|
|
@@ -176,10 +177,10 @@ public class HdfsFileOutputPlugin
|
|
|
176
177
|
{
|
|
177
178
|
Configuration configuration = new Configuration();
|
|
178
179
|
|
|
179
|
-
for (
|
|
180
|
-
|
|
180
|
+
for (String configFile : task.getConfigFiles()) {
|
|
181
|
+
File file = new File(configFile);
|
|
182
|
+
configuration.addResource(file.toURI().toURL());
|
|
181
183
|
}
|
|
182
|
-
configuration.reloadConfiguration();
|
|
183
184
|
|
|
184
185
|
for (Map.Entry<String, String> entry: task.getConfig().entrySet()) {
|
|
185
186
|
configuration.set(entry.getKey(), entry.getValue());
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embulk-output-hdfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Civitaspo
|
|
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
|
|
@@ -79,7 +79,7 @@ files:
|
|
|
79
79
|
- classpath/curator-client-2.6.0.jar
|
|
80
80
|
- classpath/curator-framework-2.6.0.jar
|
|
81
81
|
- classpath/curator-recipes-2.6.0.jar
|
|
82
|
-
- classpath/embulk-output-hdfs-0.2.
|
|
82
|
+
- classpath/embulk-output-hdfs-0.2.1.jar
|
|
83
83
|
- classpath/gson-2.2.4.jar
|
|
84
84
|
- classpath/hadoop-annotations-2.6.0.jar
|
|
85
85
|
- classpath/hadoop-auth-2.6.0.jar
|