HDFS-8456. Introduce STORAGE_CONTAINER_SERVICE as a new NodeType. (Contributed by Arpit Agarwal)
This commit is contained in:
parent
1b9ecc264a
commit
d41245ca56
9
hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-7240.txt
Normal file
9
hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-7240.txt
Normal file
@ -0,0 +1,9 @@
|
||||
Breakdown of HDFS-7240 sub-tasks:
|
||||
|
||||
HDFS-8210. Ozone: Implement storage container manager. (Jitendra Pandey)
|
||||
|
||||
HDFS-8392. Ozone: DataNode support for multiple datasets. (Arpit Agarwal)
|
||||
|
||||
HDFS-8456. Ozone: Introduce STORAGE_CONTAINER_SERVICE as a new NodeType.
|
||||
(Arpit Agarwal)
|
||||
|
@ -84,7 +84,8 @@ public interface HdfsServerConstants {
|
||||
enum NodeType {
|
||||
NAME_NODE,
|
||||
DATA_NODE,
|
||||
JOURNAL_NODE
|
||||
JOURNAL_NODE,
|
||||
STORAGE_CONTAINER_SERVICE
|
||||
}
|
||||
|
||||
/** Startup options for rolling upgrade. */
|
||||
|
@ -262,4 +262,8 @@ public class StorageInfo {
|
||||
}
|
||||
return props;
|
||||
}
|
||||
|
||||
public NodeType getNodeType() {
|
||||
return storageType;
|
||||
}
|
||||
}
|
||||
|
@ -187,6 +187,14 @@ message StorageInfoProto {
|
||||
required uint32 namespceID = 2; // File system namespace ID
|
||||
required string clusterID = 3; // ID of the cluster
|
||||
required uint64 cTime = 4; // File system creation time
|
||||
|
||||
enum NodeTypeProto {
|
||||
NAME_NODE = 1;
|
||||
DATA_NODE = 2;
|
||||
JOURNAL_NODE = 3;
|
||||
STORAGE_CONTAINER_SERVICE = 4;
|
||||
}
|
||||
optional NodeTypeProto nodeType = 5;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user