MChirukuri
MChirukuri

Reputation: 610

Could not find or load main class sqlline.SqlLine Error while starting Apache Drill

I am new to Apache Drill. I have java version 1.7.0_79. My Hadoop-1.2.1 installation is pseudo-distributed single node setup on Ubuntu-14.04. I have downloaded Drill-1.1.0. from Official website. I untarred the tar ball and set its path in .bashrc file. I started Drill using bin/drillbit.sh start, it said starting drillbit, logging to /usr/lib/drill/log/drillbit.out. But when I check its status using bin/drillbit.sh status , it says /usr/lib/drill/drillbit.pid file is present but drillbit not running. Did I miss any step in configuring Drill?

When I run bin/sqlline -u jdbc:drill:zk=local command to start drill shell, it shows the following error:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Error: Could not find or load main class sqlline.SqlLine

Why is drillbit not running? How can I rectify this error and start using Drill shell?

Upvotes: 0

Views: 1897

Answers (1)

catpaws
catpaws

Reputation: 2283

If you installed Drill on a computer that is not in a cluster, you do not start the Drillbit per the docs. The Drillbit is not supposed to run outside of a cluster. Stop the Drillbit (kill the Java process if necessary). If your OS is Linux or Mac, use one of the methods for starting Drill on Linux or Mac: drill-embedded is recommended. Otherwise, see the Windows start method.

Upvotes: 0

Related Questions