| 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217 |
1
1
| "use strict";
;require.register("data/configs/wizards/federation_properties", function (exports, require, module) {
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module.exports = {
"federationConfig": {
serviceName: 'MISC',
displayName: 'MISC',
configCategories: [App.ServiceConfigCategory.create({ name: 'HDFS', displayName: 'HDFS' }), App.ServiceConfigCategory.create({ name: 'RANGER', displayName: 'Ranger' }), App.ServiceConfigCategory.create({ name: 'ACCUMULO', displayName: 'Accumulo' })],
sites: ['core-site'],
configs: [{
"name": "dfs.journalnode.edits.dir.{{newNameservice}}",
"displayName": "dfs.journalnode.edits.dir.{{newNameservice}}",
"description": "The Directory where the JournalNode will store its local state.",
"isReconfigurable": true,
"recommendedValue": "",
"value": "",
"displayType": "directory",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.journalnode.edits.dir.{{nameservice1}}",
"displayName": "dfs.journalnode.edits.dir.{{nameservice1}}",
"description": "The Directory where the JournalNode will store its local state.",
"isReconfigurable": false,
"recommendedValue": "{{journalnode_edits_dir}}",
"value": "{{journalnode_edits_dir}}",
"displayType": "directory",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC',
"firstRun": true
}, {
"name": "dfs.nameservices",
"displayName": "dfs.nameservices",
"description": "Comma-separated list of nameservices.",
"isReconfigurable": false,
"recommendedValue": "{{nameServicesList}},{{newNameservice}}",
"value": "{{nameServicesList}},{{newNameservice}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.internal.nameservices",
"displayName": "dfs.internal.nameservices",
"description": "Comma-separated list of nameservices.",
"isReconfigurable": false,
"recommendedValue": "{{nameServicesList}},{{newNameservice}}",
"value": "{{nameServicesList}},{{newNameservice}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.ha.namenodes.{{newNameservice}}",
"displayName": "dfs.ha.namenodes.{{newNameservice}}",
"description": "The prefix for a given nameservice, contains a comma-separated list of namenodes for a given nameservice.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode1Index}},{{newNameNode2Index}}",
"value": "{{newNameNode1Index}},{{newNameNode2Index}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.rpc-address.{{newNameservice}}.{{newNameNode1Index}}",
"displayName": "dfs.namenode.rpc-address.{{newNameservice}}.{{newNameNode1Index}}",
"description": "RPC address that handles all clients requests for {{newNameNode1Index}}.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode1}}:{{nnRpcPort}}",
"value": "{{newNameNode1}}:{{nnRpcPort}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.rpc-address.{{newNameservice}}.{{newNameNode2Index}}",
"displayName": "dfs.namenode.rpc-address.{{newNameservice}}.{{newNameNode2Index}}",
"description": "RPC address that handles all clients requests for {{newNameNode2Index}}.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode2}}:{{nnRpcPort}}",
"value": "{{newNameNode2}}:{{nnRpcPort}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.http-address.{{newNameservice}}.{{newNameNode1Index}}",
"displayName": "dfs.namenode.http-address.{{newNameservice}}.{{newNameNode1Index}}",
"description": "The fully-qualified HTTP address for {{newNameNode1Index}} NameNode.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode1}}:{{nnHttpPort}}",
"value": "{{newNameNode1}}:{{nnHttpPort}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.http-address.{{newNameservice}}.{{newNameNode2Index}}",
"displayName": "dfs.namenode.http-address.{{newNameservice}}.{{newNameNode2Index}}",
"description": "The fully-qualified HTTP address for {{newNameNode2Index}} NameNode.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode2}}:{{nnHttpPort}}",
"value": "{{newNameNode2}}:{{nnHttpPort}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.https-address.{{newNameservice}}.{{newNameNode1Index}}",
"displayName": "dfs.namenode.https-address.{{newNameservice}}.{{newNameNode1Index}}",
"description": "The fully-qualified HTTPS address for {{newNameNode1Index}} NameNode.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode1}}:{{nnHttpsPort}}",
"value": "{{newNameNode1}}:{{nnHttpsPort}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.https-address.{{newNameservice}}.{{newNameNode2Index}}",
"displayName": "dfs.namenode.https-address.{{newNameservice}}.{{newNameNode2Index}}",
"description": "The fully-qualified HTTPS address for {{newNameNode2Index}} NameNode.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode2}}:{{nnHttpsPort}}",
"value": "{{newNameNode2}}:{{nnHttpsPort}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.client.failover.proxy.provider.{{newNameservice}}",
"displayName": "dfs.client.failover.proxy.provider.{{newNameservice}}",
"description": "The Java class that HDFS clients use to contact the Active NameNode.",
"recommendedValue": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"isReconfigurable": false,
"value": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.shared.edits.dir.{{nameservice1}}",
"displayName": "dfs.namenode.shared.edits.dir.{{nameservice1}}",
"description": "The URI which identifies the group of JNs where the NameNodes will write/read edits.",
"isReconfigurable": false,
"recommendedValue": "qjournal://{{journalnodes}}/{{nameservice1}}",
"value": "qjournal://{{journalnodes}}/{{nameservice1}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC',
"firstRun": true
}, {
"name": "dfs.namenode.shared.edits.dir.{{newNameservice}}",
"displayName": "dfs.namenode.shared.edits.dir.{{newNameservice}}",
"description": "The URI which identifies the group of JNs where the NameNodes will write/read edits.",
"isReconfigurable": false,
"recommendedValue": "qjournal://{{journalnodes}}/{{newNameservice}}",
"value": "qjournal://{{journalnodes}}/{{newNameservice}}",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.servicerpc-address.{{nameservice1}}.nn1",
"displayName": "dfs.namenode.servicerpc-address.{{nameservice1}}.nn1",
"description": "RPC address for HDFS Services communication.",
"isReconfigurable": false,
"recommendedValue": "{{namenode1}}:8021",
"value": "{{namenode1}}:8021",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC',
"firstRun": true
}, {
"name": "dfs.namenode.servicerpc-address.{{nameservice1}}.nn2",
"displayName": "dfs.namenode.servicerpc-address.{{nameservice1}}.nn2",
"description": "RPC address for HDFS Services communication.",
"isReconfigurable": false,
"recommendedValue": "{{namenode2}}:8021",
"value": "{{namenode2}}:8021",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC',
"firstRun": true
}, {
"name": "dfs.namenode.servicerpc-address.{{newNameservice}}.{{newNameNode1Index}}",
"displayName": "dfs.namenode.servicerpc-address.{{newNameservice}}.{{newNameNode1Index}}",
"description": "RPC address for HDFS Services communication.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode1}}:8021",
"value": "{{newNameNode1}}:8021",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}, {
"name": "dfs.namenode.servicerpc-address.{{newNameservice}}.{{newNameNode2Index}}",
"displayName": "dfs.namenode.servicerpc-address.{{newNameservice}}.{{newNameNode2Index}}",
"description": "RPC address for HDFS Services communication.",
"isReconfigurable": false,
"recommendedValue": "{{newNameNode2}}:8021",
"value": "{{newNameNode2}}:8021",
"category": "HDFS",
"filename": "hdfs-site",
"serviceName": 'MISC'
}]
}
};
}); |