123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- /**
- * 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 =
- {
- "haConfig": {
- serviceName: 'MISC',
- displayName: 'MISC',
- configCategories: [
- App.ServiceConfigCategory.create({ name: 'HDFS', displayName: 'HDFS'}),
- App.ServiceConfigCategory.create({ name: 'HBASE', displayName: 'HBase'}),
- App.ServiceConfigCategory.create({ name: 'ACCUMULO', displayName: 'Accumulo'})
- ],
- sites: ['core-site', 'hdfs-site', 'hbase-site', 'accumulo-site'],
- configs: [
- /**********************************************HDFS***************************************/
- {
- "id": "site property",
- "name": "dfs.journalnode.edits.dir",
- "displayName": "dfs.journalnode.edits.dir",
- "description": "The Directory where the JournalNode will store its local state.",
- "isReconfigurable": true,
- "recommendedValue": "/hadoop/hdfs/journal",
- "value": "/hadoop/hdfs/journal",
- "defaultDirectory": "/hadoop/hdfs/journal",
- "displayType": "directory",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "fs.defaultFS",
- "displayName": "fs.defaultFS",
- "description": "The default path prefix used by the Hadoop FS client when none is given.",
- "recommendedValue": "hdfs://haCluster",
- "isReconfigurable": false,
- "value": "hdfs://haCluster",
- "category": "HDFS",
- "filename": "core-site",
- serviceName: 'MISC'
- },
- {
- "id": "site property",
- "name": "ha.zookeeper.quorum",
- "displayName": "ha.zookeeper.quorum",
- "isReconfigurable": false,
- "description": "This lists the host-port pairs running the ZooKeeper service.",
- "recommendedValue": "zk1.example.com:2181,zk2.example.com:2181,zk3.example.com:2181",
- "value": "zk1.example.com:2181,zk2.example.com:2181,zk3.example.com:2181",
- "category": "HDFS",
- "filename": "core-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.nameservices",
- "displayName": "dfs.nameservices",
- "description": "Comma-separated list of nameservices.",
- "isReconfigurable": false,
- "recommendedValue": "haCluster",
- "value": "haCluster",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.ha.namenodes.${dfs.nameservices}",
- "displayName": "dfs.ha.namenodes.${dfs.nameservices}",
- "description": "The prefix for a given nameservice, contains a comma-separated list of namenodes for a given nameservice.",
- "isReconfigurable": false,
- "recommendedValue": "nn1,nn2",
- "value": "nn1,nn2",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.rpc-address.${dfs.nameservices}.nn1",
- "displayName": "dfs.namenode.rpc-address.${dfs.nameservices}.nn1",
- "description": "RPC address that handles all clients requests for nn1.",
- "isReconfigurable": false,
- "recommendedValue": "0.0.0.0:8020",
- "value": "0.0.0.0:8020",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.rpc-address.${dfs.nameservices}.nn2",
- "displayName": "dfs.namenode.rpc-address.${dfs.nameservices}.nn2",
- "description": "RPC address that handles all clients requests for nn2.",
- "isReconfigurable": false,
- "recommendedValue": "0.0.0.0:8020",
- "value": "0.0.0.0:8020",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.http-address.${dfs.nameservices}.nn1",
- "displayName": "dfs.namenode.http-address.${dfs.nameservices}.nn1",
- "description": "The fully-qualified HTTP address for nn1 NameNode.",
- "isReconfigurable": false,
- "recommendedValue": "0.0.0.0:50070",
- "value": "0.0.0.0:50070",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.http-address.${dfs.nameservices}.nn2",
- "displayName": "dfs.namenode.http-address.${dfs.nameservices}.nn2",
- "description": "The fully-qualified HTTP address for nn2 NameNode.",
- "isReconfigurable": false,
- "recommendedValue": "0.0.0.0:50070",
- "value": "0.0.0.0:50070",
- "category": "HDFS",
- "filename": "hdfs-site",
- serviceName: 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.https-address.${dfs.nameservices}.nn1",
- "displayName": "dfs.namenode.https-address.${dfs.nameservices}.nn1",
- "description": "The fully-qualified HTTP address for nn1 NameNode.",
- "isReconfigurable": false,
- "recommendedValue": "0.0.0.0:50470",
- "value": "0.0.0.0:50470",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.https-address.${dfs.nameservices}.nn2",
- "displayName": "dfs.namenode.https-address.${dfs.nameservices}.nn2",
- "description": "The fully-qualified HTTP address for nn2 NameNode.",
- "isReconfigurable": false,
- "recommendedValue": "0.0.0.0:50470",
- "value": "0.0.0.0:50470",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.client.failover.proxy.provider.${dfs.nameservices}",
- "displayName": "dfs.client.failover.proxy.provider.${dfs.nameservices}",
- "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'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.shared.edits.dir",
- "displayName": "dfs.namenode.shared.edits.dir",
- "description": " The URI which identifies the group of JNs where the NameNodes will write/read edits.",
- "isReconfigurable": false,
- "recommendedValue": "qjournal://node1.example.com:8485;node2.example.com:8485;node3.example.com:8485/mycluster",
- "value": "qjournal://node1.example.com:8485;node2.example.com:8485;node3.example.com:8485/mycluster",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.ha.fencing.methods",
- "displayName": "dfs.ha.fencing.methods",
- "description": "A list of scripts or Java classes which will be used to fence the Active NameNode during a failover.",
- "isReconfigurable": false,
- "recommendedValue": "shell(/bin/true)",
- "value": "shell(/bin/true)",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.ha.automatic-failover.enabled",
- "displayName": "dfs.ha.automatic-failover.enabled",
- "description": "Enable Automatic failover.",
- "isReconfigurable": false,
- "recommendedValue": true,
- "value": true,
- "displayType": "checkbox",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "dfs.namenode.safemode.threshold-pct",
- "displayName": "dfs.namenode.safemode.threshold-pct",
- "description": "Specifies the percentage of blocks that should satisfy\n the minimal replication requirement defined by dfs.namenode.replication.min.\n Values less than or equal to 0 mean not to start in safe mode.\n Values greater than 1 will make safe mode permanent.\n ",
- "isReconfigurable": false,
- "recommendedValue": "0.99f",
- "value": "0.99f",
- "category": "HDFS",
- "filename": "hdfs-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "hbase.rootdir",
- "displayName": "hbase.rootdir",
- "description": "The directory shared by region servers and into which HBase persists.",
- "isReconfigurable": false,
- "recommendedValue": "/hadoop/hdfs/journal",
- "value": "/hadoop/hdfs/journal",
- "category": "HBASE",
- "filename": "hbase-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "instance.volumes",
- "displayName": "instance.volumes",
- "isReconfigurable": false,
- "recommendedValue": "/hadoop/hdfs/journal",
- "value": "/hadoop/hdfs/journal",
- "category": "ACCUMULO",
- "filename": "accumulo-site",
- "serviceName": 'MISC'
- },
- {
- "id": "site property",
- "name": "instance.volumes.replacements",
- "displayName": "instance.volumes.replacements",
- "isReconfigurable": false,
- "recommendedValue": "/hadoop/hdfs/journal",
- "value": "/hadoop/hdfs/journal",
- "category": "ACCUMULO",
- "filename": "accumulo-site",
- "serviceName": 'MISC'
- }
- ]
- }
- };
|