http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/services/storm_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/services/storm_properties.js b/ambari-web/app/data/configs/services/storm_properties.js new file mode 100644 index 0000000..386bbe6 --- /dev/null +++ b/ambari-web/app/data/configs/services/storm_properties.js @@ -0,0 +1,296 @@ +/** + * 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 = [ + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.root", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.local.dir", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.servers", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.port", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.session.timeout", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.connection.timeout", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.retry.times", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.retry.interval", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.zookeeper.retry.intervalceiling.millis", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.cluster.mode", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.local.mode.zmq", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.transport", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.netty.buffer_size", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.netty.max_retries", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.netty.max_wait_ms", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.netty.min_wait_ms", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.netty.server_worker_threads", + "serviceName": "STORM" + }, + { + "category": "General", + "filename": "storm-site.xml", + "name": "storm.messaging.netty.client_worker_threads", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.thrift.port", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.thrift.max_buffer_size", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.childopts", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.task.timeout.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.supervisor.timeout.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.monitor.freq.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.cleanup.inbox.freq.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.inbox.jar.expiration.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.task.launch.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.reassign", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.file.copy.expiration.secs", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.topology.validator", + "serviceName": "STORM" + }, + { + "category": "SUPERVISOR", + "filename": "storm-site.xml", + "name": "supervisor.slots.ports", + "serviceName": "STORM" + }, + { + "category": "SUPERVISOR", + "filename": "storm-site.xml", + "name": "supervisor.childopts", + "serviceName": "STORM" + }, + { + "category": "SUPERVISOR", + "filename": "storm-site.xml", + "name": "supervisor.worker.start.timeout.secs", + "serviceName": "STORM" + }, + { + "category": "SUPERVISOR", + "filename": "storm-site.xml", + "name": "supervisor.worker.timeout.secs", + "serviceName": "STORM" + }, + { + "category": "SUPERVISOR", + "filename": "storm-site.xml", + "name": "supervisor.monitor.frequency.secs", + "serviceName": "STORM" + }, + { + "category": "SUPERVISOR", + "filename": "storm-site.xml", + "name": "supervisor.heartbeat.frequency.secs", + "serviceName": "STORM" + }, + { + "category": "DRPC_SERVER", + "filename": "storm-site.xml", + "name": "drpc.port", + "serviceName": "STORM" + }, + { + "category": "DRPC_SERVER", + "filename": "storm-site.xml", + "name": "drpc.worker.threads", + "serviceName": "STORM" + }, + { + "category": "DRPC_SERVER", + "filename": "storm-site.xml", + "name": "drpc.queue.size", + "serviceName": "STORM" + }, + { + "category": "DRPC_SERVER", + "filename": "storm-site.xml", + "name": "drpc.invocations.port", + "serviceName": "STORM" + }, + { + "category": "DRPC_SERVER", + "filename": "storm-site.xml", + "name": "drpc.request.timeout.secs", + "serviceName": "STORM" + }, + { + "category": "DRPC_SERVER", + "filename": "storm-site.xml", + "name": "drpc.childopts", + "serviceName": "STORM" + }, + { + "category": "STORM_UI_SERVER", + "filename": "storm-site.xml", + "name": "ui.port", + "serviceName": "STORM" + }, + { + "category": "STORM_UI_SERVER", + "filename": "storm-site.xml", + "name": "ui.childopts", + "serviceName": "STORM" + }, + { + "filename": "ranger-storm-plugin-properties.xml", + "index": 1, + "name": "ranger-storm-plugin-enabled", + "serviceName": "STORM" + }, + { + "category": "NIMBUS", + "filename": "storm-site.xml", + "name": "nimbus.seeds", + "serviceName": "STORM" + } +]; \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/services/tez_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/services/tez_properties.js b/ambari-web/app/data/configs/services/tez_properties.js new file mode 100644 index 0000000..f8bb60c --- /dev/null +++ b/ambari-web/app/data/configs/services/tez_properties.js @@ -0,0 +1,92 @@ +/** + * 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 = [ + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.am.resource.memory.mb", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.am.log.level", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.am.launch.cmd-opts", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.am.launch.env", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.task.resource.memory.mb", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.task.launch.cmd-opts", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.task.launch.env", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.grouping.split-waves", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.grouping.min-size", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.grouping.max-size", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.runtime.compress", + "serviceName": "TEZ" + }, + { + "category": "General", + "filename": "tez-site.xml", + "name": "tez.runtime.compress.codec", + "serviceName": "TEZ" + } +]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/services/yarn_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/services/yarn_properties.js b/ambari-web/app/data/configs/services/yarn_properties.js new file mode 100644 index 0000000..3d7ac6d --- /dev/null +++ b/ambari-web/app/data/configs/services/yarn_properties.js @@ -0,0 +1,300 @@ +/** + * 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 = [ + { + "category": "RESOURCEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.acl.enable", + "serviceName": "YARN" + }, + { + "category": "RESOURCEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.admin.acl", + "serviceName": "YARN" + }, + { + "category": "RESOURCEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.log-aggregation-enable", + "serviceName": "YARN" + }, + { + "category": "CapacityScheduler", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.scheduler.class", + "serviceName": "YARN" + }, + { + "category": "CapacityScheduler", + "filename": "yarn-site.xml", + "name": "yarn.scheduler.minimum-allocation-mb", + "serviceName": "YARN" + }, + { + "category": "CapacityScheduler", + "filename": "yarn-site.xml", + "name": "yarn.scheduler.maximum-allocation-mb", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.resource.memory-mb", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.vmem-pmem-ratio", + "serviceName": "YARN" + }, + { + "category": "Isolation", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.linux-container-executor.group", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.log-dirs", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.local-dirs", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.remote-app-log-dir", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.remote-app-log-dir-suffix", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.aux-services", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.log.retain-second", + "serviceName": "YARN" + }, + { + "category": "General", + "filename": "yarn-env.xml", + "index": 0, + "name": "yarn_heapsize", + "serviceName": "YARN" + }, + { + "category": "RESOURCEMANAGER", + "filename": "yarn-env.xml", + "index": 1, + "name": "resourcemanager_heapsize", + "serviceName": "YARN" + }, + { + "category": "NODEMANAGER", + "filename": "yarn-env.xml", + "index": 1, + "name": "nodemanager_heapsize", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-env.xml", + "index": 1, + "name": "apptimelineserver_heapsize", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.enabled", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.leveldb-timeline-store.path", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.store-class", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.ttl-enable", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.ttl-ms", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.generic-application-history.store-class", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.webapp.address", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.webapp.https.address", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.address", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.leveldb-state-store.path", + "serviceName": "YARN" + }, + { + "category": "APP_TIMELINE_SERVER", + "filename": "yarn-site.xml", + "name": "yarn.timeline-service.state-store-class", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.recovery.enabled", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.recovery.enabled", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.work-preserving-recovery.enabled", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.zk-address", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.connect.retry-interval.ms", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.connect.max-wait.ms", + "serviceName": "YARN" + }, + { + "category": "FaultTolerance", + "filename": "yarn-site.xml", + "name": "yarn.resourcemanager.ha.enabled", + "serviceName": "YARN" + }, + { + "category": "Isolation", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.container-executor.class", + "serviceName": "YARN" + }, + { + "category": "Isolation", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.linux-container-executor.resources-handler.class", + "serviceName": "YARN" + }, + { + "category": "Isolation", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.linux-container-executor.cgroups.hierarchy", + "serviceName": "YARN" + }, + { + "category": "Isolation", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.linux-container-executor.cgroups.mount", + "serviceName": "YARN" + }, + { + "category": "Isolation", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage", + "serviceName": "YARN" + }, + { + "category": "CapacityScheduler", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.resource.cpu-vcores", + "serviceName": "YARN" + }, + { + "category": "CapacityScheduler", + "filename": "yarn-site.xml", + "name": "yarn.nodemanager.resource.percentage-physical-cpu-limit", + "serviceName": "YARN" + }, + { + "filename": "ranger-yarn-plugin-properties.xml", + "index": 1, + "name": "ranger-yarn-plugin-enabled", + "serviceName": "YARN" + } +]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/services/zookeeper_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/services/zookeeper_properties.js b/ambari-web/app/data/configs/services/zookeeper_properties.js new file mode 100644 index 0000000..812450e --- /dev/null +++ b/ambari-web/app/data/configs/services/zookeeper_properties.js @@ -0,0 +1,67 @@ +/** + * 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 = [ + { + "category": "ZOOKEEPER_SERVER", + "filename": "zoo.cfg.xml", + "index": 1, + "name": "dataDir", + "serviceName": "ZOOKEEPER" + }, + { + "category": "ZOOKEEPER_SERVER", + "filename": "zoo.cfg.xml", + "index": 2, + "name": "tickTime", + "serviceName": "ZOOKEEPER" + }, + { + "category": "ZOOKEEPER_SERVER", + "filename": "zoo.cfg.xml", + "index": 3, + "name": "initLimit", + "serviceName": "ZOOKEEPER" + }, + { + "category": "ZOOKEEPER_SERVER", + "filename": "zoo.cfg.xml", + "index": 4, + "name": "syncLimit", + "serviceName": "ZOOKEEPER" + }, + { + "category": "ZOOKEEPER_SERVER", + "filename": "zoo.cfg.xml", + "index": 5, + "name": "clientPort", + "serviceName": "ZOOKEEPER" + }, + { + "filename": "zookeeper-env.xml", + "index": 0, + "name": "zk_log_dir", + "serviceName": "ZOOKEEPER" + }, + { + "filename": "zookeeper-env.xml", + "index": 1, + "name": "zk_pid_dir", + "serviceName": "ZOOKEEPER" + } +]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/site_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/site_properties.js b/ambari-web/app/data/configs/site_properties.js new file mode 100644 index 0000000..2fd4ac4 --- /dev/null +++ b/ambari-web/app/data/configs/site_properties.js @@ -0,0 +1,55 @@ +/** +* 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. +*/ + +/** + * Returns list of config properties + * @param {string[]} serviceNames list of service names + * @return {object[]} + */ +var includeSiteProperties = function() { + var serviceNames = Array.prototype.slice.call(arguments); + return serviceNames.reduce(function(acc, serviceName) { + return acc.concat(require('data/configs/services/' + serviceName + '_properties')); + }, []); +}; + +module.exports = { + configProperties: includeSiteProperties( + 'accumulo', + 'ambari_infra', + 'ambari_metrics', + 'falcon', + 'flume', + 'glusterfs', + 'hawq', + 'hbase', + 'hdfs', + 'hive', + 'kafka', + 'kerberos', + 'knox', + 'logsearch', + 'mapreduce2', + 'oozie', + 'ranger', + 'storm', + 'tez', + 'yarn', + 'zookeeper' + ) +}; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/ui_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/ui_properties.js b/ambari-web/app/data/configs/ui_properties.js new file mode 100644 index 0000000..8d731d9 --- /dev/null +++ b/ambari-web/app/data/configs/ui_properties.js @@ -0,0 +1,49 @@ +/** + * 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 = [ + { + "name": "admin_principal", + "displayName": "Admin principal", + "description": "Admin principal used to create principals and export key tabs (e.g. admin/ad...@example.com).", + "isRequiredByAgent": false, + "serviceName": "KERBEROS", + "filename": "krb5-conf.xml", + "category": "Kadmin", + "index": 1 + }, + { + "name": "admin_password", + "displayName": "Admin password", + "displayType": "password", + "isRequiredByAgent": false, + "serviceName": "KERBEROS", + "filename": "krb5-conf.xml", + "category": "Kadmin", + "index": 2 + }, + { + "name": "dfs.ha.fencing.methods", + "displayName": "dfs.ha.fencing.methods", + "serviceName": "HDFS", + "filename": "hdfs-site.xml", + "category": "Advanced hdfs-site", + "displayType": "multiLine", + "index": 1 + } +]; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/ha_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/ha_properties.js b/ambari-web/app/data/configs/wizards/ha_properties.js new file mode 100644 index 0000000..0275371 --- /dev/null +++ b/ambari-web/app/data/configs/wizards/ha_properties.js @@ -0,0 +1,538 @@ +/** + * 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'}), + App.ServiceConfigCategory.create({ name: 'AMBARI_METRICS', displayName: 'Ambari Metrics'}), + App.ServiceConfigCategory.create({ name: 'HAWQ', displayName: 'HAWQ'}), + App.ServiceConfigCategory.create({ name: 'RANGER', displayName: 'Ranger'}) + ], + sites: ['core-site', 'hdfs-site', 'hbase-site', 'accumulo-site', 'ams-hbase-site', 'hawq-site', 'hdfs-client', 'ranger-env', 'ranger-knox-plugin-properties', 'ranger-kms-audit', 'ranger-storm-plugin-properties', 'ranger-hbase-plugin-properties', 'ranger-hdfs-plugin-properties', 'ranger-hive-plugin-properties', 'ranger-kafka-audit', 'ranger-knox-audit', 'ranger-hdfs-audit', 'ranger-hive-audit', 'ranger-atlas-audit', 'ranger-storm-audit', 'ranger-hbase-audit', 'ranger-yarn-audit'], + configs: [ + /**********************************************HDFS***************************************/ + { + "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", + "displayType": "directory", + "category": "HDFS", + "filename": "hdfs-site", + "serviceName": 'MISC' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "name": "dfs.internal.nameservices", + "displayName": "dfs.internal.nameservices", + "description": "Comma-separated list of nameservices.", + "isReconfigurable": false, + "recommendedValue": "haCluster", + "value": "haCluster", + "category": "HDFS", + "filename": "hdfs-site", + "serviceName": 'MISC' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "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)", + "displayType": "multiLine", + "value": "shell(/bin/true)", + "category": "HDFS", + "filename": "hdfs-site", + "serviceName": 'MISC' + }, + { + "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' + }, + { + "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' + }, + { + "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' + }, + { + "name": "instance.volumes", + "displayName": "instance.volumes", + "isReconfigurable": false, + "recommendedValue": "/hadoop/hdfs/journal", + "value": "/hadoop/hdfs/journal", + "category": "ACCUMULO", + "filename": "accumulo-site", + "serviceName": 'MISC' + }, + { + "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' + }, + { + "name": "hbase.rootdir", + "displayName": "hbase.rootdir", + "description": "Ambari Metrics service uses HBase as default storage backend. Set the rootdir for HBase to either local filesystem path if using Ambari Metrics in embedded mode or to a HDFS dir, example: hdfs://namenode.example.org:8020/amshbase.", + "isReconfigurable": false, + "recommendedValue": "file:///var/lib/ambari-metrics-collector/hbase", + "value": "file:///var/lib/ambari-metrics-collector/hbase", + "category": "AMBARI_METRICS", + "isVisible": false, + "filename": "ams-hbase-site", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "RANGER", + "filename": "ranger-env", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "HDFS", + "filename": "ranger-hdfs-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "HDFS", + "isVisible": false, + "filename": "ranger-hdfs-plugin-properties", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "KAFKA", + "isVisible": false, + "filename": "ranger-kafka-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "KNOX", + "isVisible": false, + "filename": "ranger-knox-plugin-properties", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "RANGER_KMS", + "isVisible": false, + "filename": "ranger-kms-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "STORM", + "isVisible": false, + "filename": "ranger-storm-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "STORM", + "isVisible": false, + "filename": "ranger-storm-plugin-properties", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "HBASE", + "isVisible": false, + "filename": "ranger-hbase-plugin-properties", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "HIVE", + "isVisible": false, + "filename": "ranger-hive-plugin-properties", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "HBASE", + "isVisible": false, + "filename": "ranger-hbase-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "KNOX", + "isVisible": false, + "filename": "ranger-knox-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "HIVE", + "isVisible": false, + "filename": "ranger-hive-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "YARN", + "isVisible": false, + "filename": "ranger-yarn-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "ATLAS", + "isVisible": false, + "filename": "ranger-atlas-audit", + "serviceName": 'MISC' + }, + { + "name": "xasecure.audit.destination.hdfs.dir", + "displayName": "Destination HDFS Directory", + "description": "HDFS folder to write audit to, make sure all service user has required permissions. This property is overridable at service level.", + "isReconfigurable": false, + "recommendedValue": "hdfs://haCluster", + "value": "hdfs://haCluster", + "category": "RANGER_KMS", + "isVisible": false, + "filename": "ranger-kms-audit", + "serviceName": 'MISC' + }, + /**********************************************HAWQ***************************************/ + { + "name": "hawq_dfs_url", + "displayName": "hawq_dfs_url", + "description": "URL for Accessing HDFS", + "isReconfigurable": false, + "recommendedValue": "haCluster/hawq_data", + "value": "haCluster/hawq_data", + "category": "HAWQ", + "filename": "hawq-site", + "serviceName": 'MISC' + }, + { + "name": "dfs.nameservices", + "displayName": "dfs.nameservices", + "description": "Comma-separated list of nameservices.", + "isReconfigurable": false, + "recommendedValue": "haCluster", + "value": "haCluster", + "category": "HAWQ", + "filename": "hdfs-client", + "serviceName": 'MISC' + }, + { + "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": "HAWQ", + "filename": "hdfs-client", + "serviceName": 'MISC' + }, + { + "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": "HAWQ", + "filename": "hdfs-client", + "serviceName": 'MISC' + }, + { + "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": "HAWQ", + "filename": "hdfs-client", + "serviceName": 'MISC' + }, + { + "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": "HAWQ", + "filename": "hdfs-client", + "serviceName": 'MISC' + }, + { + "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": "HAWQ", + "filename": "hdfs-client", + "serviceName": 'MISC' + } + ] + } +}; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/hawq_activate_standby_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/hawq_activate_standby_properties.js b/ambari-web/app/data/configs/wizards/hawq_activate_standby_properties.js new file mode 100644 index 0000000..a06009f --- /dev/null +++ b/ambari-web/app/data/configs/wizards/hawq_activate_standby_properties.js @@ -0,0 +1,43 @@ +/** + * 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: 'HAWQ', displayName: 'HAWQ'}), + ], + sites: ['hawq-site'], + configs: [ + /**********************************************HAWQ***************************************/ + { + "name": "hawq_master_address_host", + "displayName": "HAWQ Master Host", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "HAWQ", + "filename": "hawq-site", + serviceName: 'MISC' + } + ] + } +}; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/hawq_ha_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/hawq_ha_properties.js b/ambari-web/app/data/configs/wizards/hawq_ha_properties.js new file mode 100644 index 0000000..62deba3 --- /dev/null +++ b/ambari-web/app/data/configs/wizards/hawq_ha_properties.js @@ -0,0 +1,43 @@ +/** + * 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: 'HAWQ', displayName: 'HAWQ'}), + ], + sites: ['hawq-site'], + configs: [ + /**********************************************HAWQ***************************************/ + { + "name": "hawq_standby_address_host", + "displayName": "HAWQ Standby Master", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "HAWQ", + "filename": "hawq-site", + serviceName: 'MISC' + }, + ] + } +}; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/kerberos_descriptor_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/kerberos_descriptor_properties.js b/ambari-web/app/data/configs/wizards/kerberos_descriptor_properties.js new file mode 100644 index 0000000..f6e4239 --- /dev/null +++ b/ambari-web/app/data/configs/wizards/kerberos_descriptor_properties.js @@ -0,0 +1,35 @@ +/** + * 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. + */ + +var properties = [ + { + "name": "keytab_dir", + "index": 3 + }, + { + "name": "realm", + "index": 4 + }, + { + "name": "additional_realms", + "index": 5, + "placeholderText": "(" + Em.I18n.t("common.optional") + ")" + } +]; + +module.exports = properties; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/kerberos_identities.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/kerberos_identities.js b/ambari-web/app/data/configs/wizards/kerberos_identities.js new file mode 100644 index 0000000..8af6702 --- /dev/null +++ b/ambari-web/app/data/configs/wizards/kerberos_identities.js @@ -0,0 +1,129 @@ +/** + * 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. + */ + +var App = require('app'); + +module.exports = { + configProperties: [ + { + "name": "smokeuser_principal_name", + "displayName": "Smoke user principal", + "category": "Ambari Principals", + "filename": "cluster-env.xml", + "index": 1 + }, + { + "name": "smokeuser_keytab", + "displayName": "Smoke user keytab", + "category": "Ambari Principals", + "filename": "cluster-env.xml", + "index": 2 + }, + { + "name": "ambari-server_keytab", + "displayName": "Ambari Keytab", + "category": "Ambari Principals", + "filename": "cluster-env.xml", + "index": 3 + }, + { + "name": "hdfs_principal_name", + "displayName": "HDFS user principal", + "category": "Ambari Principals", + "filename": "hadoop-env.xml", + "index": 4 + }, + { + "name": "hdfs_user_keytab", + "displayName": "HDFS user keytab", + "category": "Ambari Principals", + "filename": "hadoop-env.xml", + "index": 5 + }, + { + "name": "hbase_principal_name", + "displayName": "HBase user principal", + "category": "Ambari Principals", + "filename": "hbase-env.xml", + "index": 6 + }, + { + "name": "hbase_user_keytab", + "displayName": "HBase user keytab", + "category": "Ambari Principals", + "filename": "hbase-env.xml", + "index": 7 + }, + { + "name": "accumulo_principal_name", + "displayName": "Accumulo user principal", + "category": "Ambari Principals", + "filename": "accumulo-env.xml", + "index": 8 + }, + { + "name": "accumulo_user_keytab", + "displayName": "Accumulo user keytab", + "category": "Ambari Principals", + "filename": "accumulo-env.xml", + "index": 9 + }, + { + "name": "spark.history.kerberos.principal", + "displayName": "Spark user principal", + "category": "Ambari Principals", + "filename": "spark-defaults.xml", + "index": 10 + }, + { + "name": "spark.history.kerberos.keytab", + "displayName": "Spark user keytab", + "category": "Ambari Principals", + "filename": "spark-defaults.xml", + "index": 11 + }, + { + "name": "spark.history.kerberos.principal", + "displayName": "Spark2 user principal", + "category": "Ambari Principals", + "filename": "spark2-defaults.xml", + "index": 12 + }, + { + "name": "spark.history.kerberos.keytab", + "displayName": "Spark2 user keytab", + "category": "Ambari Principals", + "filename": "spark2-defaults.xml", + "index": 13 + }, + { + "name": "storm_principal_name", + "displayName": "Storm user principal", + "category": "Ambari Principals", + "filename": "storm-env.xml", + "index": 14 + }, + { + "name": "storm_keytab", + "displayName": "Storm user keytab", + "category": "Ambari Principals", + "filename": "storm-env.xml", + "index": 15 + } + ] +}; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/move_journal_node_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/move_journal_node_properties.js b/ambari-web/app/data/configs/wizards/move_journal_node_properties.js new file mode 100644 index 0000000..87a6cfd --- /dev/null +++ b/ambari-web/app/data/configs/wizards/move_journal_node_properties.js @@ -0,0 +1,42 @@ +/** + * 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 = +{ + "moveJNConfig": { + serviceName: 'MISC', + displayName: 'MISC', + configCategories: [ + App.ServiceConfigCategory.create({ name: 'HDFS', displayName: 'HDFS'}) + ], + sites: ['hdfs-site'], + configs: [ + { + "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' + } + ] + } +}; http://git-wip-us.apache.org/repos/asf/ambari/blob/2ce9e3b6/ambari-web/app/data/configs/wizards/rm_ha_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/configs/wizards/rm_ha_properties.js b/ambari-web/app/data/configs/wizards/rm_ha_properties.js new file mode 100644 index 0000000..fb1bd13 --- /dev/null +++ b/ambari-web/app/data/configs/wizards/rm_ha_properties.js @@ -0,0 +1,206 @@ +/** + * 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: 'YARN', displayName: 'YARN'}), + App.ServiceConfigCategory.create({ name: 'HAWQ', displayName: 'HAWQ'}), + App.ServiceConfigCategory.create({ name: 'HDFS', displayName: 'HDFS'}) + ], + sites: ['yarn-site', 'hawq-site', 'core-site'], + configs: [ + /**********************************************HDFS***************************************/ + { + "name": "yarn.resourcemanager.ha.enabled", + "displayName": "yarn.resourcemanager.ha.enabled", + "isReconfigurable": false, + "recommendedValue": true, + "isOverridable": false, + "value": true, + "displayType": "checkbox", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.ha.rm-ids", + "displayName": "yarn.resourcemanager.ha.rm-ids", + "isReconfigurable": false, + "recommendedValue": "rm1,rm2", + "isOverridable": false, + "value": "rm1,rm2", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.hostname.rm1", + "displayName": "yarn.resourcemanager.hostname.rm1", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + + { + "name": "yarn.resourcemanager.webapp.address.rm1", + "displayName": "yarn.resourcemanager.webapp.address.rm1", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.webapp.address.rm2", + "displayName": "yarn.resourcemanager.webapp.address.rm2", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.webapp.https.address.rm1", + "displayName": "yarn.resourcemanager.webapp.https.address.rm1", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.webapp.https.address.rm2", + "displayName": "yarn.resourcemanager.webapp.https.address.rm2", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + + { + "name": "yarn.resourcemanager.hostname.rm2", + "displayName": "yarn.resourcemanager.hostname.rm2", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.recovery.enabled", + "displayName": "yarn.resourcemanager.recovery.enabled", + "isReconfigurable": false, + "recommendedValue": true, + "isOverridable": false, + "value": true, + "displayType": "checkbox", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.store.class", + "displayName": "yarn.resourcemanager.store.class", + "isReconfigurable": false, + "recommendedValue": "org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore", + "isOverridable": false, + "value": "org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.zk-address", + "displayName": "yarn.resourcemanager.zk-address", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.cluster-id", + "displayName": "yarn.resourcemanager.cluster-id", + "isReconfigurable": false, + "recommendedValue": "yarn-cluster", + "isOverridable": false, + "value": "yarn-cluster", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.ha.automatic-failover.zk-base-path", + "displayName": "yarn.resourcemanager.ha.automatic-failover.zk-base-path", + "isReconfigurable": false, + "recommendedValue": "/yarn-leader-election", + "isOverridable": false, + "value": "/yarn-leader-election", + "category": "YARN", + "filename": "yarn-site", + serviceName: 'MISC' + }, + /**********************************************HAWQ***************************************/ + { + "name": "yarn.resourcemanager.ha", + "displayName": "yarn.resourcemanager.ha", + "description": "Comma separated yarn resourcemanager host addresses with port", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "HAWQ", + "filename": "yarn-client", + serviceName: 'MISC' + }, + { + "name": "yarn.resourcemanager.scheduler.ha", + "displayName": "yarn.resourcemanager.scheduler.ha", + "description": "Comma separated yarn resourcemanager scheduler addresses with port", + "isReconfigurable": false, + "recommendedValue": "", + "isOverridable": false, + "value": "", + "category": "HAWQ", + "filename": "yarn-client", + serviceName: 'MISC' + } + ] + } +};