0

I am using JDK: 1.8.0.281 and Drill: 1.18.0 on m1 Mac.

I cannot start drill downloaded from https://drill.apache.org/download/ directly. It says could not find or load main class sqlline.sqlline. So I refer to https://github.com/julianhyde/sqlline/issues/69, download and compile sqlline and add these two lines

BINPATH=/Users/fields/Repositories/sqlline-sqlline-1.9.0/bin
exec java -cp $BINPATH/../target/sqlline-1.9.0-jar-with-dependencies.jar sqlline.SqlLine "$@"

to the beginning of drill/bin/sqlline. Then I start drill-embedded and get no current connection every time I enter a query.

Please help me identify the problem. Thanks a lot!!!

fields1631
  • 21
  • 4
  • The distributive from https://drill.apache.org/download/ should be fine for you. Please specify how you start drill-embedded mode? – Vitalii Diravka Mar 12 '21 at 18:16
  • Hi @VitaliiDiravka . I finally find out it's my environment variable setting problem. I should not set the DRILL_HOME variable. When I delete it, drill works quite well. – fields1631 Mar 24 '21 at 00:48
  • Yep, it should point to actual drill home from where Drill was running and where /conf and /logs directories are present: https://drill.apache.org/docs/configuration-options-introduction/ – Vitalii Diravka Mar 25 '21 at 07:13
  • Did you ever get this to work? – cgivre Apr 12 '21 at 19:30
  • Yes @cgivre. When I delete DRILL_HOME, Drill works quite well for me. – fields1631 Apr 15 '21 at 06:29

0 Answers0