Revision 28587
Added by Eri Katsari over 10 years ago
modules/dnet-openaire-stats/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/statsExport/drivers/SqoopDriver.java | ||
---|---|---|
129 | 129 |
|
130 | 130 |
try { |
131 | 131 |
Path exportPath = new Path(hdfs.getUri() + outputPath); |
132 |
Files = hdfs.listFiles(exportPath, false);
|
|
132 |
Files = hdfs.listFiles(exportPath, true);
|
|
133 | 133 |
if (Files == null) { |
134 | 134 |
log.error("No files generated in " + outputPath + " at " + exportPath.getName()); |
135 | 135 |
throw new Exception("No files generated in " + outputPath + " at " + exportPath.getName() + " in " + hdfs.resolvePath(exportPath)); |
Also available in: Unified diff