简体   繁体   English

动物园管理员只使用春分还是菲利克斯?

[英]Does zookeeper work with equinox or only felix?

I have been looking at a tutorial on Hadoop to get ZooKeeper working, but I'm not sure if it will work in a Equinox Framework or only Felix? 我一直在寻找有关Hadoop的教程,以使ZooKeeper正常工作,但是我不确定它是否可以在Equinox框架中运行,还是只能在Felix中运行?

Any ideas? 有任何想法吗?

I don't have Equinox to test, so if someone else answers with personal experience, mark theirs up. 我没有Equinox可以测试,因此如果其他人有个人经验回答,请给他们评分。 Lacking another answer though, yes, I'm fairly certain it does work. 但是,缺少另一个答案,是的,我相当确定它确实有效。 There's a blog detailing some other services where the author states: 一个博客详细介绍了其他一些服务,作者指出:

For this example we will be using the Eclipse IDE for Java with the ECF Remote Services Target Components plug-in, the Equinox framework and ZooKeeper as a service discovery provider. 在此示例中,我们将使用带有ECF远程服务目标组件插件, Equinox框架ZooKeeper作为服务发现提供程序的Java Eclipse IDE。

This seems to indicate that both can be used together. 这似乎表明两者可以一起使用。 I found several other examples when Googling things such as "using Equinox framework with Zookeeper" that indicated both could/were being used together. 在Google搜索中发现其他几个示例时,例如“将Equinox框架与Zookeeper一起使用”,表明两者可以/一起使用。

ZooKeeper itself does not require an OSGi container. ZooKeeper本身不需要OSGi容器。 But it works very well in Equinox. 但这在Equinox中效果很好。 We use it in the Eclipse Gyrex project for clustering/coordination. 我们在Eclipse Gyrex项目中使用它进行集群/协调。

A ZooKeeper OSGi bundle is available from the Eclipse Orbit project (eg., the last R build): http://download.eclipse.org/tools/orbit/downloads/ 可以从Eclipse Orbit项目(例如,最新的R版本)中获得 ZooKeeper OSGi软件包: http : //download.eclipse.org/tools/orbit/downloads/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM