zoukankan      html  css  js  c++  java
  • storm配置项目

    java.library.path: “/usr/local/lib:/opt/local/lib:/usr/lib”
    ### storm.* configs are general configurations
    # the local dir is where jars are kept
    storm.local.dir: “/var/lib/storm/data”
    storm.zookeeper.servers:
    - “10.4.124.144″
    storm.zookeeper.port: 2181
    storm.zookeeper.root: “/storm”
    storm.zookeeper.session.timeout: 20000
    storm.cluster.mode: “distributed” # can be distributed or local
    storm.local.mode.zmq: false
    ### nimbus.* configs are for the master
    nimbus.host: “10.4.124.144″
    nimbus.thrift.port: 6627
    nimbus.childopts: “-Xmx2048m”
    nimbus.task.timeout.secs: 30
    nimbus.supervisor.timeout.secs: 60
    nimbus.monitor.freq.secs: 10
    nimbus.task.launch.secs: 240
    nimbus.reassign: true
    nimbus.file.copy.expiration.secs: 600
    ui.port: 8080
    drpc.port: 3772
    supervisor.slots.ports:
    - 6700
    - 6701
    - 6702
    - 6703
    supervisor.childopts: “-Xmx2048m”
    #how long supervisor will wait to ensure that a worker process is started
    supervisor.worker.start.timeout.secs: 240
    #how long between heartbeats until supervisor considers that worker dead and tries to restart it
    supervisor.worker.timeout.secs: 30
    #how frequently the supervisor checks on the status of the processes it’s monitoring and restarts if necessary
    supervisor.monitor.frequency.secs: 3
    #how frequently the supervisor heartbeats to the cluster state (for nimbus)
    supervisor.heartbeat.frequency.secs: 5
    supervisor.enable: true
    ### worker.* configs are for task workers
    worker.childopts: “-Xmx768m”
    worker.heartbeat.frequency.secs: 1
    task.heartbeat.frequency.secs: 3
    task.refresh.poll.secs: 10
    zmq.threads: 1
    zmq.linger.millis: 5000

  • 相关阅读:
    洛谷 1339 最短路
    洛谷 1330 封锁阳光大学 图论 二分图染色
    洛谷 1262 间谍网络 Tarjan 图论
    洛谷 1373 dp 小a和uim之大逃离 良心题解
    洛谷 1972 莫队
    洛谷 2158 数论 打表 欧拉函数
    洛谷 1414 数论 分解因数 水题
    蒟蒻的省选复习(不如说是noip普及组复习)————连载中
    关于筛法
    关于整数划分的几类问题
  • 原文地址:https://www.cnblogs.com/man-li/p/4424256.html
Copyright © 2011-2022 走看看