Browse Source

hadoop: filesystem cannot create file

issues: https://github.com/chrislusf/seaweedfs/issues/1494
pull/1495/head
limd 4 years ago
parent
commit
95bfec4931
  1. 2
      other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

2
other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

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

Loading…
Cancel
Save