changed the discriminant for which split the file

pull/50/head
Miriam Baglioni 4 years ago
parent 0fba08eae4
commit dabb33e018

@ -84,7 +84,7 @@ public class MakeTar implements Serializable {
final long numberOfSplits = sourceSize / bytesPerSplit;
if (numberOfSplits <= 1) {
if (numberOfSplits < 2) {
write(fileSystem, inputPath, outputPath + ".tar", dir_name);
} else {
int partNum = 0;

Loading…
Cancel
Save