datanode启动源码分析 #15

Merged
zeekling merged 1 commits from datanode into master 2023-11-11 08:25:51 +00:00

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 {