1
0
Fork 0

changed the discriminant for which split the file

This commit is contained in:
Miriam Baglioni 2020-10-30 17:52:22 +01:00
parent 0fba08eae4
commit dabb33e018
1 changed files with 1 additions and 1 deletions

View File

@ -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;