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

Can't get sql command line client, usage always printed #90

Open
schingeldi opened this issue Oct 19, 2015 · 4 comments
Open

Can't get sql command line client, usage always printed #90

schingeldi opened this issue Oct 19, 2015 · 4 comments

Comments

@schingeldi
Copy link

I want to start the Sql4DClient.jar with the following command:

java -jar target/Sql4DClient.jar -bh d-bro -bp 8085 -ch d-coord -cp 8085 -pp 8085 -i 200

(d-bro and d-coord are real hostnames and are defined in my /etc/hosts)

When executing the command, I always get the usage screen:

usage: java -jar Sql4DClient-1.0.0.jar
-bh,--broker_host Druid broker node hostname/Ip
-bp,--broker_port Druid broker node port
-ch,--coordinator_host Druid coordinator node hostname/Ip
-cp,--coordinator_port Druid coordinator node port
-hh,--http_headers Http He

.... and so on:

what am I doing wrong?

@srikalyc
Copy link
Owner

Why do you have -pp 8085 ?
pp = proxy port
and also i see that cp and pp are both set to 8085.

@schingeldi
Copy link
Author

Sorry, this might be from trying around:

java -jar target/Sql4DClient.jar -bh d-bro -bp 8085 -ch d-coord -cp 8085 -i 1000

I have different servers so using different hosts and same ports shouldnt be a problem. But I still get printed for the usage information and can't start the client. This happens now on a completely different computer.

Any idea what it might be? This is what I did:

  1. I cloned the repository
  2. mvn clean install -DskipTests (tests failed because the provided host didn't exist)
  3. call java -jar target/Sql4DClient-4.1.0.jar -bh d-bro -bp 8085 -ch d-coord -cp 8080 -i 1000

Am I doing anything wrong or am I missing something?

@lorthos
Copy link

lorthos commented Jan 5, 2016

I think you need -oh and -op as well for the overlord

@ajak6
Copy link

ajak6 commented Jan 20, 2016

Also there is no proxyhost in the usage options where in the file it is written to provide proxy host

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

4 participants