Storm Caused by: org.apache.thrift7.transport.TTransportException
2016-01-07 16:01
639 查看
修改配置文件:
# 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.
########### These MUST be filled in for a storm configuration
# storm.zookeeper.servers:
# - "server1"
# - "server2"
storm.zookeeper.servers:
- "192.168.3.161"
storm.zookeeper.port: 2181
#
# nimbus.host: "nimbus"
#
nimbus.host: "192.168.3.160"
nimbus.childopts: -Xmx1024m -Djava.net.preferIPv4Stack=true
ui.childopts: -Xmx768m -Djava.net.preferIPv4Stack=true
ui.host: 0.0.0.0
ui.port: 8080
supervisor.childopts: -Djava.net.preferIPv4Stack=true
worker.childopts: -Xmx768m -Dfile.encoding=utf-8 -Djava.net.preferIPv4Stack=true
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
storm.local.dir: /data/cluster/storm
storm.local.hostname: 192.168.3.160
storm.log.dir: /data/cluster/storm/logs
logviewer.port: 8000
#
# ##### These may optionally be filled in:
#
## List of custom serializations
# topology.kryo.register:
# - org.mycompany.MyType
# - org.mycompany.MyType2: org.mycompany.MyType2Serializer
#
## List of custom kryo decorators
# topology.kryo.decorators:
# - org.mycompany.MyDecorator
#
## Locations of the drpc servers
# drpc.servers:
# - "server1"
# - "server2"
drpc.servers:
- "192.168.3.160"
- "192.168.3.161"
- "192.168.3.162"
- "192.168.3.163"
## Metrics Consumers
# topology.metrics.consumer.register:
# - class: "backtype.storm.metric.LoggingMetricsConsumer"
# parallelism.hint: 1
# - class: "org.mycompany.MyMetricsConsumer"
# parallelism.hint: 1
# argument:
# - endpoint: "metrics-collector.mycompany.org"
storm.messaging.netty.max_retries: 3000
storm.messaging.netty.max_wait_ms: 10000
storm.messaging.netty.min_wait_ms: 1000
# 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.
########### These MUST be filled in for a storm configuration
# storm.zookeeper.servers:
# - "server1"
# - "server2"
storm.zookeeper.servers:
- "192.168.3.161"
storm.zookeeper.port: 2181
#
# nimbus.host: "nimbus"
#
nimbus.host: "192.168.3.160"
nimbus.childopts: -Xmx1024m -Djava.net.preferIPv4Stack=true
ui.childopts: -Xmx768m -Djava.net.preferIPv4Stack=true
ui.host: 0.0.0.0
ui.port: 8080
supervisor.childopts: -Djava.net.preferIPv4Stack=true
worker.childopts: -Xmx768m -Dfile.encoding=utf-8 -Djava.net.preferIPv4Stack=true
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
storm.local.dir: /data/cluster/storm
storm.local.hostname: 192.168.3.160
storm.log.dir: /data/cluster/storm/logs
logviewer.port: 8000
#
# ##### These may optionally be filled in:
#
## List of custom serializations
# topology.kryo.register:
# - org.mycompany.MyType
# - org.mycompany.MyType2: org.mycompany.MyType2Serializer
#
## List of custom kryo decorators
# topology.kryo.decorators:
# - org.mycompany.MyDecorator
#
## Locations of the drpc servers
# drpc.servers:
# - "server1"
# - "server2"
drpc.servers:
- "192.168.3.160"
- "192.168.3.161"
- "192.168.3.162"
- "192.168.3.163"
## Metrics Consumers
# topology.metrics.consumer.register:
# - class: "backtype.storm.metric.LoggingMetricsConsumer"
# parallelism.hint: 1
# - class: "org.mycompany.MyMetricsConsumer"
# parallelism.hint: 1
# argument:
# - endpoint: "metrics-collector.mycompany.org"
storm.messaging.netty.max_retries: 3000
storm.messaging.netty.max_wait_ms: 10000
storm.messaging.netty.min_wait_ms: 1000
相关文章推荐
- 阿里云Linux之CentOS从0配置APACHE+MYSQL+PHP
- Apache配置压缩优化时报错——undefined symbol: inflateEnd
- Apache Thrift之java入门例子
- 使用Apache Benchmark给自己的网站进行测试
- What are the differences between Apache Kafka and RabbitMQ?
- apache poi导出Excel或Pdf文件
- Apache静态缓存配置
- wampserver部署笔记 设置apache使得外网可以访问
- apache服务器
- Apache-2.2.31编译安装
- yum 安装Apache,mysql
- How To Install an Apache, MySQL, and PHP (FAMP) Stack on FreeBSD 10.1
- How to Install Apache, MySQL, PHP, and phpMyAdmin on FreeBSD
- CentOS 7.0 yum安装Apache、PHP和MySQL
- 如何从Apache官网下载windows版apache服务器
- Apache 学习笔记
- Apache Spark 初识
- linux服务器 Apache服务的源码安装与基本配置
- django apache error.log过大
- Apache Spark 1.6发布(新特性介绍)