embulk-input-hdfs 0.1.5 → 0.1.6

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: 115bf772d6e3eefcf1326451556c501a7efda067
4
- data.tar.gz: ddcd9284f586d5ed27c586eece4132e9f781e045
3
+ metadata.gz: 304cdee9ca1c60697b3796bd4aab6a406da8aa1d
4
+ data.tar.gz: faa5cc173f74d4cdf5cafbc52d3fbeb77b1eface
5
5
  SHA512:
6
- metadata.gz: 8dd925dfb1b48497255fb5755f22e6ef439165bb3712186b12735743a307bef813b281f3d0d2e43ee038143e9d90249ae70876e6108e281dd012614fb5c97f5d
7
- data.tar.gz: 88566caa1b5e3cfb10d243aaa9de123de43ca16cf3473e0c96bb75ebf8e357801a6bbe96a03bf64a5be4ab738b96b51acdc049a1dd59ff3571d2854872f26f6d
6
+ metadata.gz: 868a12f39f550effcef880beec037d063c844459ae515bae0efd711d8ac9be1d103648679cfc5de49f53a0f68b0be16b60c8b979710384c0e59bdbe265b85f51
7
+ data.tar.gz: 63fa4e4e7cbde6297f652fbd87776e9d1153cc35a2329b255fd9003b66603ec8b1daaf7b416637e2d035332d10e7282a42a52d9c845c3f828fe9c701e6d32e72
data/build.gradle CHANGED
@@ -12,7 +12,7 @@ configurations {
12
12
  provided
13
13
  }
14
14
 
15
- version = "0.1.5"
15
+ version = "0.1.6"
16
16
 
17
17
  sourceCompatibility = 1.7
18
18
  targetCompatibility = 1.7
@@ -81,7 +81,7 @@ public class HdfsFileInputPlugin implements FileInputPlugin
81
81
  }
82
82
 
83
83
  task.setFiles(allocateHdfsFilesToTasks(task, getFs(task), originalFileList));
84
- logger.info("Loading target files: {}", originalFileList);
84
+ logger.info("embulk-input-hdfs: Loading target files: {}", originalFileList);
85
85
  }
86
86
  catch (IOException e) {
87
87
  logger.error(e.getMessage());
@@ -90,13 +90,13 @@ public class HdfsFileInputPlugin implements FileInputPlugin
90
90
 
91
91
  // log the detail of partial files.
92
92
  for (HdfsPartialFile partialFile : task.getFiles()) {
93
- logger.info("target file: {}, start: {}, end: {}",
93
+ logger.debug("embulk-input-hdfs: target file: {}, start: {}, end: {}",
94
94
  partialFile.getPath(), partialFile.getStart(), partialFile.getEnd());
95
95
  }
96
96
 
97
97
  // number of processors is same with number of targets
98
98
  int taskCount = task.getFiles().size();
99
- logger.info("task size: {}", taskCount);
99
+ logger.info("embulk-input-hdfs: task size: {}", taskCount);
100
100
 
101
101
  return resume(task.dump(), taskCount, control);
102
102
  }
@@ -259,7 +259,7 @@ public class HdfsFileInputPlugin implements FileInputPlugin
259
259
  for (Path path : pathList) {
260
260
  int fileLength = (int) fs.getFileStatus(path).getLen(); // declare `fileLength` here because this is used below.
261
261
  if (fileLength <= 0) {
262
- logger.info("Skip the 0 byte target file: {}", path);
262
+ logger.info("embulk-input-hdfs: Skip the 0 byte target file: {}", path);
263
263
  continue;
264
264
  }
265
265
 
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.5
4
+ version: 0.1.6
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-06 00:00:00.000000000 Z
11
+ date: 2015-11-17 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.5.jar
85
+ - classpath/embulk-input-hdfs-0.1.6.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