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

Compile Issues #1

Open
DevLu opened this issue Sep 18, 2014 · 1 comment
Open

Compile Issues #1

DevLu opened this issue Sep 18, 2014 · 1 comment

Comments

@DevLu
Copy link

DevLu commented Sep 18, 2014

My Setup: Maven 3.2.1, Java JDK 1.7.0_65, Ubuntu 14.04
=========-----------=========

dsql file entries:
java -jar target/Sql4DClient.jar -bh $(192.168.30.170T) -bp $(8080) -ch $(192.168.30.170) -cp $(8085) -ph $(192.168.30.4) -pp $(8080) -i $(256m)

Please note that I do not have a proxy server installed on my network.
=========-----------=========

I tried to run the dsql file as is. > ./dsql
I get the following response:
./dsql: line 3: 192.168.30.170T: command not found
./dsql: line 3: 8080: command not found
./dsql: line 3: 192.168.30.170: command not found
./dsql: line 3: 8085: command not found
./dsql: line 3: 192.168.30.4: command not found
./dsql: line 3: 8080: command not found
./dsql: line 3: 256m: command not found
Error: Unable to access jarfile target/Sql4DClient.jar
=========-----------=========

Tried to compile the Client from eclipse, but I get the following:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.129s
[INFO] Finished at: Thu Sep 18 14:02:02 BST 2014
[INFO] Final Memory: 5M/303M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
=========-----------=========

@srikalyc
Copy link
Owner

  1. 192.168.30.170T is not an Ip address (there is a T at the end).
  2. You do not need to specify -pp and -ph (port settings are not needed if proxy is irrelevant).
  3. -i option is maximum number of entries tracked in history.
  4. If druid is your localhost then try the following
    java -jar target/Sql4DClient.jar -bh localhost -bp 8080 -ch localhost -cp 8085 -i 60

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