Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple spark drivers / one spree instance ? #72

Open
davvdg opened this issue Jan 30, 2017 · 1 comment
Open

Multiple spark drivers / one spree instance ? #72

davvdg opened this issue Jan 30, 2017 · 1 comment

Comments

@davvdg
Copy link

davvdg commented Jan 30, 2017

Hi,

Here we are trying to do multitenant spark, so we have several drivers running concurently on our cluster. How should I setup Spree for that ?

  • should I start one spree instance per driver or can one spree instance deals with all drivers ?
  • Aren't the incoming event messed up ? is there a way to determine from which driver each event comes ?
  • Can several spree instance share the same db ?

Regards

David

@sadikovi
Copy link

sadikovi commented Feb 5, 2017

Hi David,

I have not used it in multitenant environment, but I believe that just running single instance of Spree should be enough. You just need to launch each driver programme with correct slim address and listener. Each event is shipped with app id, which is unique across Spark applications that belong to the same cluster.

Is there a way to test it on your installation? Would be useful to keep a note of installing in multitenant env with potential gotchas:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants