You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@helix.apache.org by Akash Kapoor <aa...@linkedin.com> on 2015/07/22 23:18:09 UTC

Run Helix Controller in Embedded mode

Hello,

How can I run the Helix Controller in the Embedded mode in Helix 0.7.1?

The documentation here
<http://helix.apache.org/0.7.1-docs/tutorial_controller.html> says that the
Controller can be started in 3 modes: STANDALONE, SERVICE, EMBEDDED but the
code here
<https://github.com/apache/helix/blob/master/helix-core/src/main/java/org/apache/helix/controller/HelixControllerMain.java>
seems to suggest otherwise.

Thank you,

Akash Kapoor

Re: Run Helix Controller in Embedded mode

Posted by Vinoth Chandar <vi...@uber.com>.
Hey Akash,

You can simply follow

https://github.com/apache/helix/blob/helix-0.6.5/helix-core/src/main/java/org/apache/helix/examples/Quickstart.java
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fapache%2Fhelix%2Fblob%2Fhelix-0.6.5%2Fhelix-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhelix%2Fexamples%2FQuickstart.java&sa=D&sntz=1&usg=AFQjCNHkLS9kFwHbrP6iC2ZGTCXIWrtz8A>

Credits: Kishore :P

Have not tried it with 0.7.1 though. Works fairly well in 0.6.5

Thanks,

VInoth

On Wed, Jul 22, 2015 at 2:18 PM, Akash Kapoor <aa...@linkedin.com> wrote:

> Hello,
>
> How can I run the Helix Controller in the Embedded mode in Helix 0.7.1?
>
> The documentation here
> <http://helix.apache.org/0.7.1-docs/tutorial_controller.html> says that
> the Controller can be started in 3 modes: STANDALONE, SERVICE, EMBEDDED but
> the code here
> <https://github.com/apache/helix/blob/master/helix-core/src/main/java/org/apache/helix/controller/HelixControllerMain.java>
> seems to suggest otherwise.
>
> Thank you,
>
> Akash Kapoor
>