hadoop: filesystem cannot create file

issues: https://github.com/chrislusf/seaweedfs/issues/1494
This commit is contained in:
limd 2020-09-26 01:38:48 +08:00
parent 402aef8f30
commit 95bfec4931

View file

@ -202,6 +202,8 @@ public class SeaweedFileSystemStore {
.clearGroupName()
.addAllGroupName(Arrays.asList(userGroupInformation.getGroupNames()))
);
filerClient.createEntry(getParentDirectory(path), entry.build());
}
return new SeaweedOutputStream(filerGrpcClient, path, entry, writePosition, bufferSize, replication);