forked from D-Net/dnet-hadoop
changed because of D-Net/dnet-hadoop#61 (comment)
This commit is contained in:
parent
90d4369fd2
commit
66c0e3e574
|
@ -90,9 +90,6 @@ public class MakeTarArchive implements Serializable {
|
||||||
String p_string = p.toString();
|
String p_string = p.toString();
|
||||||
if (!p_string.endsWith("_SUCCESS")) {
|
if (!p_string.endsWith("_SUCCESS")) {
|
||||||
String name = p_string.substring(p_string.lastIndexOf("/") + 1);
|
String name = p_string.substring(p_string.lastIndexOf("/") + 1);
|
||||||
// if (name.trim().equalsIgnoreCase("communities_infrastructures")) {
|
|
||||||
// name = "communities_infrastructures.json";
|
|
||||||
// }
|
|
||||||
TarArchiveEntry entry = new TarArchiveEntry(dir_name + "/" + name);
|
TarArchiveEntry entry = new TarArchiveEntry(dir_name + "/" + name);
|
||||||
entry.setSize(fileStatus.getLen());
|
entry.setSize(fileStatus.getLen());
|
||||||
current_size += fileStatus.getLen();
|
current_size += fileStatus.getLen();
|
||||||
|
|
Loading…
Reference in New Issue