srikalyc / Sql4D

Sql interface to druid.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More helpful information when Sql4DClient fails to start

milimetric opened this issue · comments

I have a standard Druid cluster set up with the pre-packaged configs, except I changed all the 8xxx ports to 9xxx. I have run mvn clean install successfully on Sql4D, and it has generated a Sql4DClient-3.5.6.jar. However, when I try to run the client with the configuration as instructed, it just prints the usage message and quits:

java -jar target/Sql4DClient-3.5.6.jar -bh localhost -bp 9080 -ch localhost -cp 9083 -mdb druid -mh localhost -mid druid -mp 3306 -mpw **** -oh localhost -op 9087

I may have some problem in my setup, though I see all my nodes running and logging meaningful stuff and I can query them, etc. But if I'm doing something wrong, it would be nice if the message from running the command told me what the exception was in parsing my args / trying to start.

Thanks btw, this seems like an awesome project.

Awesome, thanks Kalyan, that allows me to connect. It looks like I'm
getting some "Problem accessing /info/datasources" now, but that sounds
like I don't have something set up correctly so I'll go troubleshoot.
Thanks a lot.

On Thu, Mar 26, 2015 at 9:44 PM, srikalyan chandrashekar <
notifications@github.com> wrote:

Hi @milimetric https://github.com/milimetric , try adding option -i 50
.I will fix this issue soon. BTW if you want to try out more here are some
posts

http://druidwithsql.tumblr.com/post/111014674922/accessing-druid-through-java-driver-interface

http://druidwithsql.tumblr.com/post/108054375927/simple-insert-deleting-data-drop-table-in-druid

http://druidwithsql.tumblr.com/post/98578718282/a-first-look-at-druid-with-sql

Thanks
kalyan


Reply to this email directly or view it on GitHub
#69 (comment).

Hi the current version works with druid 0.6.154 , i have tagged with v3.5.6 , please clone and use that for druid 0.6.154. However for druid 0.7.0 we are working towards making it available ASAP. Here is the bug
#70 . All the errors you are seeing are because of that. Sorry for the inconvenience.

@milimetric Just released version 4.0.0 to maven which is compatible with druid 0.7.0 (or) just clone from master here and build.