FSDirectory详解:配置和变量

This commit is contained in:
LingZhaoHui 2024-04-06 23:18:46 +08:00
parent 6504a13b23
commit a2aff039db
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
1 changed files with 14 additions and 0 deletions

View File

@ -43,3 +43,17 @@ FSDirectory的操作则全部是在内存中进行的 并不进行editlog的
- INodeAttributeProvider attributeProvider用于实现权限管理。
## 操作类型
所有客户端的操作都是通过FSNamesystem.java 的。FSNamesystem.java 会调用具体操作的实现类的。再实现类里面操作时会使用到FSDirectory。
### 删除
接口:
```java
boolean delete(String src, boolean recursive, boolean logRetryCache) throws IOException {}
```