You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/01/14 18:58:02 UTC
[3/3] git commit: AMBARI-4287 STORM: Add configs.(Denys Buzhor via
ababiichuk)
AMBARI-4287 STORM: Add configs.(Denys Buzhor via ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9395e1f8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9395e1f8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9395e1f8
Branch: refs/heads/trunk
Commit: 9395e1f8797104c80e9eb68285a6cb3bd5d92c4f
Parents: 029b055
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Tue Jan 14 19:57:51 2014 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Jan 14 19:57:51 2014 +0200
----------------------------------------------------------------------
.../assets/data/clusters/tags_and_groups.json | 3 +
.../configurations/cluster_level_configs.json | 100 ++
.../wizard/stack/hdp/version2.0.1/HDFS.json | 1262 ++++++++++++------
.../wizard/stack/hdp/version2.0.1/STORM.json | 1096 ++++++++++++++-
ambari-web/app/config.js | 3 +-
ambari-web/app/controllers/wizard.js | 2 +-
.../app/controllers/wizard/step8_controller.js | 16 +-
ambari-web/app/data/HDP2/global_properties.js | 35 +-
ambari-web/app/data/HDP2/site_properties.js | 462 +++++++
ambari-web/app/data/service_configs.js | 8 +-
ambari-web/app/data/services.js | 6 +-
.../app/mappers/service_metrics_mapper.js | 21 +-
ambari-web/app/models/quick_links.js | 2 +-
ambari-web/app/models/service.js | 3 +-
ambari-web/app/models/service_config.js | 4 +
ambari-web/app/utils/config.js | 3 +
16 files changed, 2581 insertions(+), 445 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/9395e1f8/ambari-web/app/assets/data/clusters/tags_and_groups.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/clusters/tags_and_groups.json b/ambari-web/app/assets/data/clusters/tags_and_groups.json
index 606d07b..8c43911 100644
--- a/ambari-web/app/assets/data/clusters/tags_and_groups.json
+++ b/ambari-web/app/assets/data/clusters/tags_and_groups.json
@@ -35,6 +35,9 @@
"capacity-scheduler" : {
"tag" : "version1"
},
+ "storm-site" : {
+ "tag" : "version1"
+ },
"core-site" : {
"tag" : "version1"
}
http://git-wip-us.apache.org/repos/asf/ambari/blob/9395e1f8/ambari-web/app/assets/data/configurations/cluster_level_configs.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/configurations/cluster_level_configs.json b/ambari-web/app/assets/data/configurations/cluster_level_configs.json
index e0097c4..02492cd 100644
--- a/ambari-web/app/assets/data/configurations/cluster_level_configs.json
+++ b/ambari-web/app/assets/data/configurations/cluster_level_configs.json
@@ -548,6 +548,106 @@
"oozie_metastore_user_passwd" : "ooziepassword",
"oozie_jdbc_connection_url": "jdbc:oracle:thin:@//oozie-orcl-host:1521/XE"
}
+ },
+ {
+ "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations?type=storm-site&tag=version1",
+ "tag" : "version1",
+ "type" : "storm-site",
+ "Config" : {
+ "cluster_name" : "c1"
+ },
+ "properties" : {
+ "dev.zookeeper.path" : "/tmp/dev-storm-zookeeper",
+ "drpc.childopts" : "-Xmx768m",
+ "drpc.invocations.port" : "3773",
+ "drpc.port" : "3772",
+ "drpc.queue.size" : "128",
+ "drpc.request.timeout.secs" : "600",
+ "drpc.worker.threads" : "64",
+ "java.library.path" : "/usr/local/lib:/opt/local/lib:/usr/lib",
+ "logviewer.appender.name" : "A1",
+ "logviewer.childopts" : "-Xmx128m",
+ "logviewer.port" : "8000",
+ "nimbus.childopts" : "-Xmx1024m",
+ "nimbus.cleanup.inbox.freq.secs" : "600",
+ "nimbus.file.copy.expiration.secs" : "600",
+ "nimbus.host" : "localhost",
+ "nimbus.inbox.jar.expiration.secs" : "3600",
+ "nimbus.monitor.freq.secs" : "10",
+ "nimbus.reassign" : "true",
+ "nimbus.supervisor.timeout.secs" : "60",
+ "nimbus.task.launch.secs" : "120",
+ "nimbus.task.timeout.secs" : "30",
+ "nimbus.thrift.max_buffer_size" : "1048576",
+ "nimbus.thrift.port" : "6627",
+ "nimbus.topology.validator" : "backtype.storm.nimbus.DefaultTopologyValidator",
+ "storm.cluster.mode" : "distributed",
+ "storm.local.dir" : "/hadoop/storm",
+ "storm.local.mode.zmq" : "false",
+ "storm.messaging.netty.buffer_size" : "5242880",
+ "storm.messaging.netty.client_worker_threads" : "1",
+ "storm.messaging.netty.max_retries" : "30",
+ "storm.messaging.netty.max_wait_ms" : "1000",
+ "storm.messaging.netty.min_wait_ms" : "100",
+ "storm.messaging.netty.server_worker_threads" : "1",
+ "storm.messaging.transport" : "backtype.storm.messaging.netty.Context",
+ "storm.thrift.transport" : "backtype.storm.security.auth.SimpleTransportPlugin",
+ "storm.zookeeper.connection.timeout" : "15000",
+ "storm.zookeeper.port" : "2181",
+ "storm.zookeeper.retry.interval" : "1000",
+ "storm.zookeeper.retry.intervalceiling.millis" : "30000",
+ "storm.zookeeper.retry.times" : "5",
+ "storm.zookeeper.root" : "/storm",
+ "storm.zookeeper.servers" : "['localhost']",
+ "storm.zookeeper.session.timeout" : "20000",
+ "supervisor.childopts" : "-Xmx256m",
+ "supervisor.enable" : "true",
+ "supervisor.heartbeat.frequency.secs" : "5",
+ "supervisor.monitor.frequency.secs" : "3",
+ "supervisor.slots.ports" : "[6700, 6701, 6702, 6703]",
+ "supervisor.worker.start.timeout.secs" : "120",
+ "supervisor.worker.timeout.secs" : "30",
+ "task.heartbeat.frequency.secs" : "3",
+ "task.refresh.poll.secs" : "10",
+ "topology.acker.executors" : "null",
+ "topology.builtin.metrics.bucket.size.secs" : "60",
+ "topology.debug" : "false",
+ "topology.disruptor.wait.strategy" : "com.lmax.disruptor.BlockingWaitStrategy",
+ "topology.enable.message.timeouts" : "true",
+ "topology.error.throttle.interval.secs" : "10",
+ "topology.executor.receive.buffer.size" : "1024",
+ "topology.executor.send.buffer.size" : "1024",
+ "topology.fall.back.on.java.serialization" : "true",
+ "topology.kryo.factory" : "backtype.storm.serialization.DefaultKryoFactory",
+ "topology.max.error.report.per.interval" : "5",
+ "topology.max.spout.pending" : "null",
+ "topology.max.task.parallelism" : "null",
+ "topology.message.timeout.secs" : "30",
+ "topology.optimize" : "true",
+ "topology.receiver.buffer.size" : "8",
+ "topology.skip.missing.kryo.registrations" : "false",
+ "topology.sleep.spout.wait.strategy.time.ms" : "1",
+ "topology.spout.wait.strategy" : "backtype.storm.spout.SleepSpoutWaitStrategy",
+ "topology.state.synchronization.timeout.secs" : "60",
+ "topology.stats.sample.rate" : "0.05",
+ "topology.tick.tuple.freq.secs" : "null",
+ "topology.transfer.buffer.size" : "1024",
+ "topology.trident.batch.emit.interval.millis" : "500",
+ "topology.tuple.serializer" : "backtype.storm.serialization.types.ListDelegateSerializer",
+ "topology.worker.childopts" : "null",
+ "topology.worker.shared.thread.pool.size" : "4",
+ "topology.workers" : "1",
+ "transactional.zookeeper.port" : "null",
+ "transactional.zookeeper.root" : "/transactional",
+ "transactional.zookeeper.servers" : "null",
+ "ui.childopts" : "-Xmx768m",
+ "ui.port" : "8080",
+ "worker.childopts" : "-Xmx768m",
+ "worker.heartbeat.frequency.secs" : "1",
+ "zmq.hwm" : "0",
+ "zmq.linger.millis" : "5000",
+ "zmq.threads" : "1"
+ }
}
]
}