forked from D-Net/dnet-hadoop
removed the checl for the community name in the common version on MakeTar
This commit is contained in:
parent
259c67ce36
commit
73dbb79602
|
@ -90,9 +90,9 @@ public class MakeTarArchive implements Serializable {
|
|||
String p_string = p.toString();
|
||||
if (!p_string.endsWith("_SUCCESS")) {
|
||||
String name = p_string.substring(p_string.lastIndexOf("/") + 1);
|
||||
if (name.trim().equalsIgnoreCase("communities_infrastructures")) {
|
||||
name = "communities_infrastructures.json";
|
||||
}
|
||||
// if (name.trim().equalsIgnoreCase("communities_infrastructures")) {
|
||||
// name = "communities_infrastructures.json";
|
||||
// }
|
||||
TarArchiveEntry entry = new TarArchiveEntry(dir_name + "/" + name);
|
||||
entry.setSize(fileStatus.getLen());
|
||||
current_size += fileStatus.getLen();
|
||||
|
|
Loading…
Reference in New Issue