@@ -81,7 +81,7 @@ public ConfigDiff transaction(ConfigSource config, FileInputPlugin.Control contr
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 ConfigDiff transaction(ConfigSource config, FileInputPlugin.Control contr
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 Path apply(@Nullable String input)
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
0 commit comments