Storm 疑难杂症。

疑难解答:
这个页面列出了一些人们在使用storm时遇到的问题和他们的解决方案。
worker 进程 启动时没有堆栈信息。
可能的情形:
Topology 只在一台机器的不同worker中运行,但是在多节点上运行会遇到问题或崩溃。
解决方法:
你可能配置错了子网,在其中节点不能通过hostname(机器名)定位其他的节点。ZeroMQ  有时不能解析主机的时候不能处理数据。有两种解决办法。
1.在/etc/hosts 中做hostname 和 ip 的映射
2.假设内部DNS服务器,这样节点都能通过hostname定位其他节点。
节点之间不能够通信
可能的现象:
每一个spout tuple 都失败
进程不工作
解决方法:
storm 不能使用ipv6 工作。你需要强制使用ipv4 添加 -Djava.net.preferIPv4Stack=true 到 supervisor 子选项上,然后 重启supervisor。
你可能配置错了子网 具体请看上一条:worker 进程 启动时没有堆栈信息。
topology 不久之后就停止处理tuple
现象:
处理工作一段时间内是正常的,然后突然停止了。spout tuple 开始全部失败。
解决办法:
这是使用了ZeroMQ 2.1.10的问题。回退到版本ZeroMQ 2.1.7。
不是所有的supervisor都出现在Storm UI 上
现象:
有些supervisor进程在Storm UI 上看不到
刷先后很多supervisor 改变
解决办法:
确定 supervisor的本地文件夹是独立的 (例如,,不是一个通过NFS分享的本地文件夹)
试着删除本地文件夹,然后重启。Supervisor 创建一个独有的id,然后把它存储在本地。 当这个id被复制到其他节点上,storm就会变得茫然了。

“Multiple defaults.yaml found” error

现象:
当你用“storm jar”部署 topology是,你会得到这个错误
解决办法:
极有可能是你把 Strom的jar包也打包到你的topology jar包中了。 当打包你的topology jar 时,不要包含 storm 的jars ,storm 将会通过classpath 把他们放到里面。

“NoSuchMethodError” when running storm jar

现象:
当运行storm jar 时 你得到一个模糊的”NoSuchMethodError”
解决办法:
你这在部署的topology的运行环境与你打包topology时用的storm不是一个版本。确定你编译topology用的storm的版本与你用的storm的客户端是同一个版本。
附英文原文:
https://github.com/nathanmarz/storm/wiki/Troubleshooting

Troubleshooting

  • Page History

Troubleshooting

This page lists issues people have run into when using Storm along with their solutions.

Worker processes are crashing on startup with no stack trace

Possible symptoms:

  • Topologies work with one node, but workers crash with multiple nodes

Solutions:

  • You may have a misconfigured subnet, where nodes can’t locate other nodes based on their hostname. ZeroMQ sometimes crashes the process when it can’t resolve a host. There are two solutions:
    • Make a mapping from hostname to IP address in /etc/hosts
    • Set up an internal DNS so that nodes can locate each other based on hostname.

Nodes are unable to communicate with each other

Possible symptoms:

  • Every spout tuple is failing
  • Processing is not working

Solutions:

  • Storm doesn’t work with ipv6. You can force ipv4 by adding -Djava.net.preferIPv4Stack=true to the supervisor child options and restarting the supervisor.
  • You may have a misconfigured subnet. See the solutions for Worker processes are crashing on startup with no stack trace

Topology stops processing tuples after awhile

Symptoms:

  • Processing works fine for awhile, and then suddenly stops and spout tuples start failing en masse.

Solutions:

  • This is a known issue with ZeroMQ 2.1.10. Downgrade to ZeroMQ 2.1.7.

Not all supervisors appear in Storm UI

Symptoms:

  • Some supervisor processes are missing from the Storm UI
  • List of supervisors in Storm UI changes on refreshes

Solutions:

  • Make sure the supervisor local dirs are independent (e.g., not sharing a local dir over NFS)
  • Try deleting the local dirs for the supervisors and restarting the daemons. Supervisors create a unique id for themselves and store it locally. When that id is copied to other nodes, Storm gets confused.

“Multiple defaults.yaml found” error

Symptoms:

  • When deploying a topology with “storm jar”, you get this error

Solution:

  • You’re most likely including the Storm jars inside your topology jar. When packaging your topology jar, don’t include the Storm jars as Storm will put those on the classpath for you.

“NoSuchMethodError” when running storm jar

Symptoms:

  • When running storm jar, you get a cryptic “NoSuchMethodError”

Solution:

  • You’re deploying your topology with a different version of Storm than you built your topology against. Make sure the storm client you use comes from the same version as the version you compiled your topology against.

转载于:https://www.cnblogs.com/qgxiaoguang/archive/2013/02/17/2914462.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/261956.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

第七章数组答案C语言,C语言复习题及答案-第七章-数组

.WORD版本第七章数组 (8学时)学习目的与要求:1 、重点掌握一维数组的定义和引用;2 、基本掌握二维数组的定义和引用;3 、重点掌握字符型数组的定义与引用;4 、能正确使用字符串处理函数;5 、学会使用数组解决实际问题。…

一些布局

嗯&#xff0c;今天重新玩了下布局&#xff0c;把部分布局方式整理了一下&#xff0c;也就顺手记了下来。&#xff08;都测试过了&#xff0c;IE6 ,FF,opera,chromer浏览器现在流行的版本都支持&#xff09; 一、三列&#xff08;固宽&#xff09; <div id"container&q…

英语26个字母使用频度

LetterLetter namePronunciation NLetterFrequency LetterFrequencyAa/ˈeɪ/, //[nb 2] 1A8.17% E12.70%Bbee/ˈbiː/ 2B1.49% T9.06%Ccee/ˈsiː/ 3C2.78% A8.17%Ddee/ˈdiː/ 4D4.25% O7.51%Ee/ˈiː/ 5E12.70% I6.97%Fef (eff as a verb)/ˈɛf/ 6F2.23% N6.75%Ggee/ˈdʒi…

java签到_实战:如果让你用SpringBoot实现签到奖励的功能,你会怎么做?

阅读本文大概需要 6 分钟。来自&#xff1a;网络前言最近在做社交业务&#xff0c;用户进入APP后有签到功能&#xff0c;签到成功后获取相应的奖励&#xff1a;项目状况&#xff1a;前期尝试业务阶段&#xff1b;特点&#xff1a;快速实现&#xff08;不需要做太重&#xff0c;…

c语言经典算法大全pdf,c语言经典算法100例pdf版.pdf

c语言经典算法100例pdf版C 语言经典算法 100 例C 语言编程经典 100 例A&#xff1a;【程序1】题目&#xff1a;有1、2、3、4 个数字&#xff0c;能组成多少个互不相同且无重复数字的三位数&#xff1f;都是多少&#xff1f;1.程序分析&#xff1a;可填在百位、十位、个位的数字…

软件开发工具介绍之 1.代码生成器

在程序开发过程当中&#xff0c;程序员会经常做着重复性的工作&#xff0c;最常见的是访问数据库&#xff0c;程序员要经常编写增、删、改、分页之类的操作。为了避免这个问题&#xff0c;节省大量机械录入的时间和重复劳动&#xff0c;提高工作效率&#xff0c;而将精力集中于…

python自带的shell、其性能优于ipython吗_Python自带的shell,其性能优于IPython

信源X的&#xff0c;自带每一机事件的都相等个随概率&#xff0c;即P。 优于 自带优于 自带求(机械的保养要。 优于标有机械的主管理要指。 下尺性期人手节分的病离急法整复后&#xff0c;自带项处做哪理&#xff1a;还应。 并放下肢射至&#xff0c;优于现右肢放扭伤右下臀及后…

虚拟机测试必备虚拟机之VirtualBox 使用

2019独角兽企业重金招聘Python工程师标准>>> 安装&#xff0c;windowns在官网上对应版本下载下一步安装结束即可&#xff0c;配置有seting可以选择中文&#xff0c;方便理解&#xff0c;其实英文也好功能 不多。 安装linux&#xff1a;ubuntu&#xff0c;如果有网su…

Android如何在测试程序中删除被测应用私有的原始数据

我们知道在Android App测试时&#xff0c;当我们想把应用程序恢复的初始状态&#xff0c;我们通常可以有以下几种做法&#xff1a; 手动 到Setting -> Apps -> 单击我们要测得应用程序 -> 选择Clear data 这样重新启动App的时候&#xff0c;我们的程序就处于初始状态了…

c语言结构体编程,[编程] C语言的结构体详解

结构体struct 结构体名{}变量名;结构体变量&#xff1a;struct person{char *name;int age;float score;} student;成员的获取和赋值//Members of the acquisition and assignmentstudent.name"taoshihan";student.age30;student.score100;printf("name%s \n&qu…

基于.NET Framework 4.0的解决方案部署

VS 2010发布之后&#xff0c;随着而来的框架版本也升级到了.NET Framework 4.0。我相信很多朋友已经在用了吧。这一篇文章总结了如何基于.NET Framework 4.0&#xff0c;进行解决方案部署。 之所以要单独写一下&#xff0c;是因为确实这个版本与之前的.NET Framework 2.0&#…

chrome网页自动化插件_chrome网页注释插件

问题背景&#xff1a;tensorflow中文官方文档无法做网页注释。原本使用Hypothesis - Web & PDF Annotationdiigo达到了500个注释的上限&#xff0c;继续做注释&#xff0c;每次注释均为弹出超过上限的提醒&#xff0c;影响学习。目前结论&#xff1a;Scrible Toolbarhttps:…

【BZOJ 3098】 Hash Killer II

Description 这天天气不错&#xff0c;hzhwcmhf神犇给VFleaKing出了一道题&#xff1a;给你一个长度为N的字符串S&#xff0c;求有多少个不同的长度为L的子串。子串的定义是S[l]、S[l 1]、... S[r]这样连续的一段。两个字符串被认为是不同的当且仅当某个位置上的字符不同。 VF…

如何在Windows Azure VM上的SQL Server和Windows Azure SQL Database两者中做出选择

作者信息&#xff1a;本篇文章是由SQL Server Cloud Infrastructure Team的 Madhan Arumugam 和 Guy Bowerman共同著作。 简介 把SQL 数据托管在哪里&#xff0c;Windows Azure 为您提供了两个选择&#xff0c;VM上的SQL Server&#xff08;以下简称 SQL/VM&#xff09;和 Wind…

MFC 控件布局

在MFC要自己控制控件随窗口变化而改变其大小 以下提供一个解决办法&#xff0c;easysize.h来自codeproject /Files/pbreak/EasySize.rar 第一:添加消息映射 afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnSizing(UINT fwSide, LPRECT pRect); ON_WM_SIZE()…

c语言离散卷积编程,实验一 离散卷积的C语言编程.ppt

实验一 离散卷积的C语言编程.ppt实验一 离散卷积的C语言编程实验 DSP实验室 实验性质 综合设计性实验 实验目的 1 了解和认识常用的各种信号&#xff1b; 2 掌握卷积的定义和计算方法&#xff1b; 3 掌握在计算机中生成以及绘制信号序列图的方法。 实验原理 离散时间系统中几种…

graphviz 画决策树_数据挖掘入门系列教程(四)之基于scikit-lean决策树处理Iris

数据挖掘入门系列教程&#xff08;四&#xff09;之基于scikit-lean决策树处理Iris加载数据集数据特征训练随机森林调参工程师结尾数据挖掘入门系列教程&#xff08;四&#xff09;之基于scikit-lean决策树处理Iris在上一篇博客&#xff0c;我们介绍了决策树的一些知识。如果对…

设计模式UML图

1.简单工厂模式 2.工厂模式 工厂模式与简单工厂模式的不同在于&#xff0c;每个操作类都有自己的工厂&#xff0c;而且把逻辑判断交给了客户端&#xff0c;而简单工厂的逻辑判断在工厂类里边&#xff0c;当增加新的操作类时&#xff0c;简单工厂需要修改工厂类&#xff0c;而工…

Android小項目之--ListView與ListAcitivity完善論壇管理效果2(附源碼)

ListAcitivity 类型布局用来配置应用程序&#xff0c;主要为显示菜单列表、列表明细项目&#xff0c;假如让程序继承 ListActivity ,可以实现以下的方法&#xff1a; getListAdapter()  取得目前列表项目的 AdaptergetListView()  取得目前列表的 ViewgetSelectedItemId() …

c语言编辑输出后汉字乱码,为什么这个程序会输出汉字乱码

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼#include #include #include #include #include int main(void){int correct false;char anothergame *Y*;int counter 0;int sequencelength 0;time_t seed 0;int number 0;time_t now 0;int time_taken0;int i1;printf(&qu…