-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathhdfs-namenode.json
executable file
·62 lines (62 loc) · 1.8 KB
/
hdfs-namenode.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"id" : "hdfs-namenode",
"kind" : "Pod",
"apiVersion" : "v1beta1",
"desiredState" : {
"manifest" : {
"version" : "v1beta1",
"id" : "hdfs-namenode",
"containers" : [{
"name" : "hadoop-hdfs-namenode",
"image" : "bioshrek/hadoop-hdfs-namenode:cdh5",
"ports" : [{
"containerPort" : 50070,
"hostPort" : 50070
}, {
"containerPort" : 8020,
"hostPort" : 8020
}
],
"imagePullPolicy" : "PullNever",
"volumeMounts" : [{
"name" : "hadoop-hdfs-log-dir",
"mountPath" : "/home/chianyu/shared_with_docker_container/hadoop-log-dir"
}, {
"name" : "hadoop-hdfs-namenode-dir",
"mountPath" : "/home/chianyu/shared_with_docker_container/cdh5/nn"
}, {
"name" : "hadoop-hdfs-datanode-dir",
"mountPath" : "/home/chianyu/shared_with_docker_container/cdh5/dn"
}
]
}
],
"volumes" : [{
"name" : "hadoop-hdfs-log-dir",
"source" : {
"hostDir" : {
"path" : "/home/chianyu/shared_with_docker_container/hadoop-log-dir"
}
}
}, {
"name" : "hadoop-hdfs-namenode-dir",
"source" : {
"hostDir" : {
"path" : "/home/chianyu/shared_with_docker_container/cdh5/nn"
}
}
}, {
"name" : "hadoop-hdfs-datanode-dir",
"source" : {
"hostDir" : {
"path" : "/home/chianyu/shared_with_docker_container/cdh5/dn"
}
}
}
]
}
},
"labels" : {
"name" : "hdfs-namenode"
}
}