Skip to content

Commit

Permalink
Reuse fs
Browse files Browse the repository at this point in the history
  • Loading branch information
civitaspo committed Feb 8, 2016
1 parent e9db52f commit f14c622
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/embulk/input/hdfs/HdfsFileInputPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ private static FileSystem setFs(final PluginTask task)
}
logger.debug("Resource Files: {}", configuration);

return FileSystem.get(configuration);
fs = FileSystem.get(configuration);
return fs;
}

private String strftime(final String raw, final int rewindSeconds)
Expand Down

0 comments on commit f14c622

Please sign in to comment.