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

Is it possible to set the DEPLOY_MODE to cluster? #15

Open
seybi87 opened this issue Jun 8, 2017 · 1 comment
Open

Is it possible to set the DEPLOY_MODE to cluster? #15

seybi87 opened this issue Jun 8, 2017 · 1 comment

Comments

@seybi87
Copy link

seybi87 commented Jun 8, 2017

Hi,

I did some experimental deployments with this useful REST client.

I am wondering if it is possible to set DEPLOY_MODE to cluster as the default value is client?

I've seen there is the DEPLOY_MODE_CLUSTER variable in the code, which seems not be used.

Thanks!

@ywilkof
Copy link
Owner

ywilkof commented Jun 9, 2017

You're right, it is not being used. Why should we supply deploy mode? It seems that since it was never given it does not have any effect. When using the REST API, the driver starts on one of the nodes, which is in line with cluster deploy mode as a matter of fact, not with client deploy mode. I'm not sure then that client mode is the default when using the REST endpoints.
Maybe we should just remove the unused variable?

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