首页 \ 问答 \ 将Storm HA Nimbus作为单个实例运行(Running Storm HA Nimbus as a single instance)

将Storm HA Nimbus作为单个实例运行(Running Storm HA Nimbus as a single instance)

我正在使用Storm 1.0.2。 目前我们有一个小型拓扑,我们只需要运行一个Nimbus实例。 但是,在极少数情况下,我们唯一的Nimbus实例会因磁盘丢失而崩溃,因此创建一个新实例将无法工作。 新实例将转到ZK,由于缺少拓扑数据,将永远不会被选为Leader并且永远不会再次出现。 这是我们面临的问题。 我能想到的唯一工作就是将这些数据存储在一个单独的永久磁盘上,这样即使我们唯一的Nimbus实例发生故障,我们也不会丢失拓扑罐,下一个实例可以成为ZK的Leader,没有任何问题。

我错过了什么吗? 有没有其他方法来重置ZK,除了删除nimbus数据( 以某种方式删除/ storm / nimbus目录不起作用 )? 是否有任何配置只能在暂存环境中禁用Nimbus中的领导者选举?


I am using Storm 1.0.2. Currently we have a small topology and we only want 1 instance of Nimbus running. However, in the rare event of our only Nimbus instance going down with some disk loss, brining up a new instance will never work. The new instance will go to ZK and because of missing topology data, will never be elected Leader and will never come up again. This is the issue we faced. The only work around I can think of is to store this data on a separate persistent disk so even if our only Nimbus instance goes down we don't lose topology jars and the next instance can be made Leader by ZK without any issues.

Am I missing something? Is there any other way to reset the ZK other than by deleting the nimbus data (somehow deleting the /storm/nimbus dir did not work) ? Is there any config to disable leader election in Nimbus for 1 instance only on staging environments?


原文:https://stackoverflow.com/questions/43753495
更新时间:2024-05-14 15:05

最满意答案

请确保在已部署的环境中安装了所需的字体。


Please ensure that required font is installed in the deployed environment.

相关问答

更多
  • 您要确保的第一件事是您当前正在使用CPL报告而不是FPL报告。 固定页面布局(FPL)报告不允许增加控件,因此表格不会自动增长以容纳长文本。 所以我建议你尝试这些步骤。 在Visual Studio中打开设计器后,转到“报告”菜单并选择“转换为CPL”选项。 转换后,选择表中的所有单元格并确保其CanGrow属性设置为true。 一旦进行了这些更改,表格将自动增长以适应其中的长文本。 除此之外,我建议您查看此链接以了解有关CPL和FPL报告类型的更多信息。 我希望这有帮助。 First thing whic ...
  • 看起来您的代理程序没有配置为具有这些项目键所需的任何psql.* userparameters,除非您在某些包含的文件中使用它们。 您应该从获得此模板的相同位置获取用户参数配置。 看起来您已经将模板与相关主机取消链接 - 但这可能不是一个好主意,最好保持模板链接。 并且考虑在官方手册中阅读有关Zabbix用户参数的内容,它应该更清楚地说明它应该如何工作。 有人建议libzbxpgsql 可加载模块应该提供这些项密钥。 如果是这样,将代理DebugLevel参数设置为4并检查更多有用的错误消息可能会有所帮助, ...
  • 确保您没有运行Visual Studio 2010 Express Edition。 ActiveReports不能与Visual Studio的Express版本一起使用,因为它们不支持包。 有关更多信息,请查看要求页面。 Make sure you are not running the Visual Studio 2010 express edition. ActiveReports cannot be used with the express edition of Visual Studio si ...
  • 生成基于代码的设计器不能与C ++ / CLI一起使用。 您也无法使用C ++在报告中编写“脚本”。 但是,您可以将报表设计为基于XML的报表(rpx) ,然后您不应该通过SectionReport类(例如)实例化和调用C ++中的报表 。 类似于以下内容: GrapeCity::ActiveReports::SectionReport ^sectionReport = gcnew GrapeCity::ActiveReports::SectionReport(); System::Xml::XmlText ...
  • 根据文档 ,范围不能是子Subtree ,搜索过滤器必须是(objectClass=*)才能进行持久搜索。 UPDATE: I found this: https://forums.oracle.com/thread/1157474?tstart=0 It basically says that AD does not support this, and that there’s no way I can make the above code work. However, it does give out ...
  • kmarks, 您确实可以非常轻松地执行此操作,您可以使用相同的DataTable作为报表的数据源,方法是将报表的datasource属性设置为DataTable。然后,您只需要将ActiveReports TextBox控件添加到报表的“详细信息”部分,然后将其DataField属性设置为数据表中的列名,以将字段从数据表绑定到TextBox控件。您可以在设计时或后面的代码中执行此操作 完成此操作后,只需创建报表实例,在此实例上调用Run the method,然后将报表文档导出为PDF。 我还建议你通过以 ...
  • 我最终得到以下代码。 我真的不知道为什么,但它有效。 Dim objs As New List(Of Teste)() objs.Add(New Teste With {.Nome = "TESTE1", .Valor = 15}) objs.Add(New Teste With {.Nome = "TESTE2", .Valor = 22}) objs.Add(New Teste With {.Nome = "TESTE3", .Valor = 10}) objs.Add(New Teste With { ...
  • 如果使用“格式”事件根据第一个文本框高度设置其他文本框的高度,则无法获得正确的结果。 我建议你宁愿使用“BeforePrint”事件来设置高度。 public void Detail_BeforePrint() { this.TextBox2.Height = this.TextBox1.Height; this.TextBox3.Height = this.TextBox1.Height; } 希望这可以帮助。 You will not get the correct resul ...
  • 您可以在触发部分的Format事件之前发生的每一行的数据绑定之后获取值。 在detail_Format事件中。 您可以使用文本框值或文本属性txtMyTextbox.Text检索值(返回将在报表中呈现的格式化文本)txtMyTextbox.Value(返回绑定值,不进行格式设置) 希望这可以帮助。 http://activereports.grapecity.com You can get the value after the data binding of each row which happens ...
  • 请确保在已部署的环境中安装了所需的字体。 Please ensure that required font is installed in the deployed environment.

相关文章

更多

最新问答

更多
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)
  • 是否可以嵌套hazelcast IMaps?(Is it possible to nest hazelcast IMaps? And whick side effects can I expect? Is it a good Idea anyway?)
  • UIViewAnimationOptionRepeat在两个动画之间暂停(UIViewAnimationOptionRepeat pausing in between two animations)
  • 在x-kendo-template中使用Razor查询(Using Razor query within x-kendo-template)
  • 在BeautifulSoup中替换文本而不转义(Replace text without escaping in BeautifulSoup)
  • 如何在存根或模拟不存在的方法时配置Rspec以引发错误?(How can I configure Rspec to raise error when stubbing or mocking non-existing methods?)
  • asp用javascript(asp with javascript)
  • “%()s”在sql查询中的含义是什么?(What does “%()s” means in sql query?)
  • 如何为其编辑的内容提供自定义UITableViewCell上下文?(How to give a custom UITableViewCell context of what it is editing?)
  • c ++十进制到二进制,然后使用操作,然后回到十进制(c++ Decimal to binary, then use operation, then back to decimal)
  • 以编程方式创建视频?(Create videos programmatically?)
  • 无法在BeautifulSoup中正确解析数据(Unable to parse data correctly in BeautifulSoup)
  • webform和mvc的区别 知乎
  • 如何使用wadl2java生成REST服务模板,其中POST / PUT方法具有参数?(How do you generate REST service template with wadl2java where POST/PUT methods have parameters?)
  • 我无法理解我的travis构建有什么问题(I am having trouble understanding what is wrong with my travis build)
  • iOS9 Scope Bar出现在Search Bar后面或旁边(iOS9 Scope Bar appears either behind or beside Search Bar)
  • 为什么开机慢上面还显示;Inetrnet,Explorer
  • 有关调用远程WCF服务的超时问题(Timeout Question about Invoking a Remote WCF Service)