datanode启动源码分析

This commit is contained in:
LingZhaoHui 2023-11-09 23:20:55 +08:00
parent 3ca66e24c8
commit e6adc3868d
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC

View File

@ -20,6 +20,8 @@ public static DataNode createDataNode(String args[], Configuration conf,
### makeInstance ### makeInstance
初始化DataNode实例。
```java ```java
static DataNode makeInstance(Collection<StorageLocation> dataDirs, static DataNode makeInstance(Collection<StorageLocation> dataDirs,
Configuration conf, SecureResources resources) throws IOException { Configuration conf, SecureResources resources) throws IOException {