FSDirectory详解:接口
This commit is contained in:
parent
fd64a2b992
commit
63d301e1d5
@ -96,3 +96,16 @@ fsd.updateCount(iip, context.quotaDelta(), false);
|
||||
- 删除EditLog。
|
||||
- 调用incrDeletedFileCount更新metrics信息。
|
||||
|
||||
### 创建文件
|
||||
|
||||
**接口**
|
||||
|
||||
```java
|
||||
HdfsFileStatus startFile(String src, PermissionStatus permissions,
|
||||
String holder, String clientMachine, EnumSet<CreateFlag> flag,
|
||||
boolean createParent, short replication, long blockSize,
|
||||
CryptoProtocolVersion[] supportedVersions, String ecPolicyName,
|
||||
String storagePolicy, boolean logRetryCache) throws IOException {
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user