datanode启动源码分析
This commit is contained in:
parent
3ca66e24c8
commit
e6adc3868d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user